IUIX_CmdManager::CreateNewCmd Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewCmd([in]           BSTR              sID,
                     [in]           BSTR              sText,
                     [in]           IUIX_CmdHandler*  pCmdHandler,
                     [in]           IUIX_Icon*        pIcon,
                     [in]           BSTR              sTip,
                     [in]           LONG              nStyle,
                     [out, retval]  IUIX_Cmd**        pCmd);

Parameters

sID
[in] Value of BSTR.
sText
[in] Value of BSTR.
pCmdHandler
[in] Pointer to IUIX_CmdHandler.
pIcon
[in] Pointer to IUIX_Icon.
sTip
[in] Value of BSTR.
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