Object.CreateEvents2(RegistrationID As Long, TargetProcessID As Long, ByRef DataWrittenEvent As OLE_HANDLE, ByRef RecordingListChangedEvent As OLE_HANDLE, ByRef OffsetReachedEvent as OLE_HANDLE) |
Parameter |
Description |
RegistrationID |
A unique identifier for this event registration. |
TargetProcessID |
The process id of the event subscriber. |
DataWrittenEvent |
Pointer to a handle for the write event. |
RecordingListChangedEvent |
Pointer to a handle for the list changed event. |
OffsetReachedEvent |
Pointer to a handle for the offset reached event. |
Returns
S_OK |
The function was successful. |
<> S_OK |
An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
Remarks
Creates the windows event objects used by the DVRSink to signal data write, recording list changed and offset reached events.
Whenever data is written to a buffer file, the windows event for the returned write event handle will be set.
Likewise, when a buffer file is created or closed, the windows event for the list changed event handle will be set.
Also, when data is written past the offset indicated by ILMDvrSink.SetOffsetToReach method, the offset reached event is set.
See Also
Functions: |
|
Topics: |
Multimedia Properties, Methods and Events , DVR Module Properties, Methods and Events |