ILMDVRSink.CreateEvents Method

DVR Module How To Examples

 

Syntax

Object.CreateEvents(RegistrationID As Long, TargetProcessID As Long, ByRef DataWrittenEvent As OLE_HANDLE, ByRef RecordingListChangedEvent 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.

Returns

S_OK

The function was successful.

<> S_OK

An error occurred. Refer to the Error Codesor the HRESULT error codes in the DirectShow documentation.

 

Remarks

Creates the windows event objects used by the DVRSink to signal data write and recording list changed events.

Note: This method is deprecated. You should use ILMDVRSink.CreateEvents2 instead.

See Also

Functions:

ILMDVRSink.FreeEvents Method, ILMDVRSink.CreateEvents2 Method

Topics:

Multimedia Properties, Methods and Events , DVR Module Properties, Methods and Events