Поделиться через


CComUnkArray::GetCookie

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

DWORD WINAPI GetCookie(
   IUnknown** ppFind 
);

Параметры

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

Возвращаемое значение

Returns the cookie associated with the IUnknown pointer, or 0 if no matching IUnknown pointer is found.

Заметки

If there is more than one instance of the same IUnknown pointer, this function returns the cookie for the first one.

Требования

Header: atlcom.h

См. также

Основные понятия

CComUnkArray Class

CComUnkArray Members

CComUnkArray::GetUnknown