IUIX_CmdHandler::OnGetItemState Method

From PDF XChange PDF SDK
Revision as of 02:22, 4 April 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.

See Also

IUIX_CmdHandler