IPXV_Control::EnableEventListening2 Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT EnableEventListening2([in]                    LONG          EventID,
+
<pre class="brush:cpp;gutter:false">HRESULT EnableEventListening2([in]                    LONG          nEventID,
                               [in, defaultvalue(-1)]  VARIANT_BOOL  Enable);</pre>
+
                               [in, defaultvalue(-1)]  VARIANT_BOOL  bEnable);</pre>
  
 
== Parameters ==
 
== Parameters ==
;EventID
+
;nEventID
 
:[in]  The unique identifier of event. Use the [[PXV:IPXV_Inst_Str2ID|IPXV_Inst::Str2ID]] to get number from known string names of events.
 
:[in]  The unique identifier of event. Use the [[PXV:IPXV_Inst_Str2ID|IPXV_Inst::Str2ID]] to get number from known string names of events.
;Enable
+
;bEnable
 
:[in, defaultvalue(-1)]  The flag to start/stop the listening of event.  
 
:[in, defaultvalue(-1)]  The flag to start/stop the listening of event.  
  

Latest revision as of 02:49, 15 June 2015


Starts/stops listening of specified event.

Syntax

HRESULT EnableEventListening2([in]                    LONG          nEventID,
                              [in, defaultvalue(-1)]  VARIANT_BOOL  bEnable);

Parameters

nEventID
[in] The unique identifier of event. Use the IPXV_Inst::Str2ID to get number from known string names of events.
bEnable
[in, defaultvalue(-1)] The flag to start/stop the listening of event.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_Control