Share via


CSourcePosition::CSourcePosition (Compact 2013)

3/26/2014

Constructs a CSourcePosition object.

Syntax

CSourcePosition(
  const TCHAR* pName,
  LPUNKNOWN pUnk,
  HRESULT* phr,
  CCritSec* pLock 
);

Parameters

  • pName
    Name of the object used in the CSourcePosition constructor for debugging purposes.
  • pUnk
    Pointer to the owner of this object.
  • phr
    Pointer to an HRESULT value for resulting information.
  • pLock
    Pointer to a CCritSec object used for locking.

Return Value

None.

Remarks

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

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CSourcePosition Class