CMediaEvent.CMediaEvent constructor

Constructor method.

Syntax

CMediaEvent(
   const TCHAR     *pName,
         LPUNKNOWN pUnk
);

Parameters

pName

Pointer to the name of the object for debugging purposes.

pUnk

Pointer to the owner of this object.

Remarks

Allocate the pName parameter in static memory. This name appears on the debugging terminal upon creation and deletion of the object.

Requirements

Header
Ctlutil.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CMediaEvent Class