Creates the windows event objects used by the DVRSink to signal data write and recording list changed events.
#include "ILMDVRSink.h"
Language | Syntax |
---|---|
C | HRESULT ILMDVRSink_CreateEvents2(pILMDVRSink, nRegistrationID, TargetProcessID, pDataWrittenEvent, pRecordingListChangedEvent, pOffsetReachedEvent) |
C++ | HRESULT CreateEvents(nRegistrationID, TargetProcessID, pDataWrittenEvent, pRecordingListChangedEvent, pOffsetReachedEvent) |
Pointer to an ILMDVRSink interface.
A unique identifier for this event registration.
The process id of the event subscriber.
Pointer to a handle for the write event.
Pointer to a handle for the list changed event.
Pointer to a handle for the offset reached event.
Value | Meaning |
---|---|
S_OK | The function was successful. |
E_OUTOFMEMORY | Memory allocation error was encountered. |
<>S_OK | An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
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.
Win32, x64.
Language | Example |
---|---|
C | ILMDVRSink::SetOffsetToReach |
C++ | ILMDVRSink::SetOffsetToReach |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document