Freigeben über


CComDynamicUnkArray::GetUnknown

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

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

Concepts

CComDynamicUnkArray Class

CComDynamicUnkArray Methods

CComDynamicUnkArray::GetCookie