IUIX_CmdMenu::InsertItem Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT InsertItem([in] IUIX_Cmd* pCmd, [in, defaultvalue(-1)] LONG nIndexBefore, [in, defaultvalue(0)] LONG nNewStyle, [in, defaultvalue(0)] LONG nNewStyleMask, [out, retval, defaultvalue(NULL)] IUIX_CmdMenu** ppItem);
Parameters
- pCmd
- [in] Pointer to IUIX_Cmd.
- nIndexBefore
- [in, defaultvalue(-1)] Value of LONG.
- nNewStyle
- [in, defaultvalue(0)] Value of LONG.
- nNewStyleMask
- [in, defaultvalue(0)] Value of LONG.
- ppItem
- [out, retval, defaultvalue(NULL)] Pointer to IUIX_CmdMenu.
Return Value
Returns S_OK if operation was successful or error code in other cases.