Id
Get or set the event Id.
If the event is already child of a Source, it will be removed and added with the new Id. The EventRemoved and NewEvent events will be issued.
Property get
HRESULT Id([out, retval] long
*pVal);
Parameters
pVal
[out, retval] pointer to a long variable that receives the Event Id
Return Values
S_OK
Function was successfully called
E_POINTER
pVal was no valid pointer
Property set
HRESULT Id([in] long newVal);
Parameters
newVal
[in] long variable holding the new Event Id
Return Values
S_OK
The Event Id was successfully set to newVal
E_FAIL
The event is child of an Source object wich does already contain another event with the specified Id.
The Id remains unchanged.
E_ACCESSDENIED
The object is locked due to an asynchronous operation