Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Multimedia API Help

ILMDVRSink::FreeEvents

Show in webframe

#include "ILMDVRSink.h"

C Syntax

HRESULT ILMDVRSink_FreeEvents(pILMDVRSink, nRegistrationID)

C++ Syntax

HRESULT FreeEvents(nRegistrationID)

 

ILMDVRSink *pILMDVRSink ;

/* pointer to an interface */

long nRegistrationID;

/* event registration id */

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

Parameter

Description

pILMDVRSink

Pointer to an ILMDVRSink interface.

nRegistrationID

A unique identifier for this event registration.

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.

Comments

Closes the event handles for the specified registration ID.

Returns S_OK if successful, S_FALSE otherwise.

Required DLLs and Libraries

LMDVRSink

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

ILMDVRSink::GetStatus, ILMDVRSink::CreateEvents, , ILMDVRSink::StartChangingAttributes, ILMDVRSink::StopChangingAttributes

Topics:

Multimedia Function Group, DVR Function Groups, Introduction to the LEADTOOLS MPEG-2 Transport Module, DVR Component FAQs, LEAD DVR Sink Filter, Accessing the DVR Sink Object,How to Use the DVR Sink Object to Control Capture Buffer Settings (C++), How to Set Capture Buffers on More Than One Physical Disk, How to Copy Buffered DVR Data to a New File

Example

For a C example, refer to ILMDVRSink_::FreeEvents Example for C

For a C++ example, refer to ILMDVRSink::FreeEvents Example for C++

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.