Microsoft DirectX 8.1 (C++)

COM Helper Functions

These functions provide support for implementing the IUnknown interface.

Requirements

Header: Declared in Combase.h; include Streams.h.

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

Function Description
DECLARE_IUNKNOWN Declares the three methods of the base interface for a new interface.
GetInterface Retrieves an interface pointer to the requested client.
INonDelegatingUnknown Nondelegating version of the IUnknown interface.
LoadOLEAut32 Loads the Automation DLL (OleAut32.dll).