IUIX_CmdHandler::OnGetItemState Method
From PDF XChange PDF SDK
Gets command's state.
Syntax
HRESULT OnGetItemState([in] IUIX_Cmd* pCmd, [in] IUIX_CmdItem* pItem, [in] IUIX_Obj* pOwner, [out] LONG* nState);
Parameters
- pCmd
- [in] Pointer to IUIX_Cmd containing the source command.
- pItem
- [in] Pointer to IUIX_CmdItem containing the source command item.
- pOwner
- [in] Pointer to IUIX_Obj containing the owner object.
- nState
- [out] Pointer to LONG containing the resulting state.
Return Value
Returns S_OK if operation was successful or error code in other cases.