Compartir a través de


CSystemClock::CSystemClock (Compact 2013)

3/26/2014

Constructs a CSystemClock object.

Syntax

CSystemClock(
  TCHAR* pName,
  LPUNKNOWN pUnk,
  HRESULT* phr 
);

Parameters

  • pName
    Name of this object (used for debugging only).
  • pUnk
    Pointer to the controlling IUnknown interface.
  • phr
    Pointer to the HRESULT value that will be set if an error occurs.

Return Value

None.

Remarks

If phr points to something other than S_OK upon entry, the object will not be constructed. If an error occurs during construction, this variable will be set; otherwise, its contents will not be altered.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CSystemClock Class