CComUnkArray::GetUnknown

 

Call this method to get the IUnknown pointer associated with a given cookie.

Syntax

      IUnknown* WINAPI GetUnknown(
   DWORD dwCookie 
);

Parameters

  • dwCookie
    The cookie for which the associated IUnknown pointer is required.

Return Value

Returns the IUnknown pointer, or NULL if no matching cookie is found.

Requirements

Header: atlcom.h

See Also

CComUnkArray Class
CComUnkArray::GetCookie