Compartir a través de


CBaseReferenceClock::CBaseReferenceClock

 
Microsoft DirectShow 9.0

CBaseReferenceClock::CBaseReferenceClock

Constructor method.

Syntax

  CBaseReferenceClock(
    TCHAR *pName,
    LPUNKNOWN pUnk,
    HRESULT *phr,
    CAMSchedule *pSched = NULL
);

Parameters

pName

Pointer to a string containing the name of the object. For more information, see CBaseObject.

pUnk

Pointer to the owner of this object. If the object is aggregated, pass a pointer to the aggregating object's IUnknown interface. Otherwise, set this parameter to NULL.

phr

Pointer to an HRESULT value. If an error occurs, the method returns an error code in this parameter. Do not set this parameter to NULL.

pSched

Pointer to a CAMSchedule object. If NULL, this method creates a new CAMSchedule object.

Requirements

**  Header:** Declared in Refclock.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also