Compartir a través de


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

Reference

CComDynamicUnkArray Class

CComDynamicUnkArray::GetCookie

Other Resources

CComDynamicUnkArray Methods