IPXV_Control::IsEventListening Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT IsEventListening([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT IsEventListening([in] BSTR sEventID, |
− | [out, retval] VARIANT_BOOL* | + | [out, retval] VARIANT_BOOL* bEnabled);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sEventID |
:[in] The unique identifier of event. | :[in] The unique identifier of event. | ||
− | ; | + | ;bEnabled |
− | :[out, retval] Returns the <tt>true</tt> value when is listening of the event is | + | :[out, retval] Returns the <tt>true</tt> value when control is listening of the event is and <tt>false</tt> otherwise. |
== Return Value == | == Return Value == | ||
Line 21: | Line 21: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXV_Control|IPXV_Control]] | + | [[PXV:IPXV_Control|IPXV_Control]], [[PXV:IPXV_Control_IsEventListening2|IPXV_Control::IsEventListening2]] |
Latest revision as of 03:50, 15 June 2015
Use it to check if control is the listener of specified event.
Syntax
HRESULT IsEventListening([in] BSTR sEventID, [out, retval] VARIANT_BOOL* bEnabled);
Parameters
- sEventID
- [in] The unique identifier of event.
- bEnabled
- [out, retval] Returns the true value when control is listening of the event is and false otherwise.
Return Value
Returns S_OK if operation was successful or error code in other cases.