Share via


CUnknown::CUnknown

Constructs a CUnknown object.

CUnknown(
  const TCHAR* pName,
  LPUNKNOWN pUnk 
);

Parameters

  • pName
    Name of the object used in the CBaseObject constructor for debugging purposes.
  • pUnk
    Pointer to the owner of this object. If non-NULL, IUnknown calls are delegated to this object.

Return Values

None.

Remarks

The object is initialized with a reference count of zero. This reference count can be incremented when the object is queried for its first interface, depending on whether the object is currently being aggregated.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.