IUIX_CmdManager::CreateNewCmd2 Method

From Tracker Software PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewCmd2([in]           LONG              nID,
                      [in]           LONG              nTextStrID,
                      [in]           IUIX_CmdHandler*  pCmdHandler,
                      [in]           LONG              nIconID,
                      [in]           LONG              nTipStrID,
                      [in]           LONG              nStyle,
                      [out, retval]  IUIX_Cmd**        pCmd);

Parameters

nID
[in] Value of LONG.
nTextStrID
[in] Value of LONG.
pCmdHandler
[in] Pointer to IUIX_CmdHandler.
nIconID
[in] Value of LONG.
nTipStrID
[in] Value of LONG.
nStyle
[in] Value of LONG.
pCmd
[out, retval] Pointer to IUIX_Cmd.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_CmdManager