2 writes to _cookie
System.Private.Windows.Core (2)
Windows\Win32\System\Com\GlobalInterfaceTable.UnknownStrategy.cs (2)
21
_cookie
= RegisterInterface((IUnknown*)unknown);
30
uint cookie = Interlocked.Exchange(ref
_cookie
, 0);
3 references to _cookie
System.Private.Windows.Core (3)
Windows\Win32\System\Com\GlobalInterfaceTable.UnknownStrategy.cs (3)
20
Debug.Assert(
_cookie
== 0, "A cookie has already been generated for this instance.");
26
=> s_globalInterfaceTable->GetInterfaceFromGlobal(
_cookie
, iid, out ppObj);
31
return cookie != 0 ? (int)HRESULT.S_OK : (int)RevokeInterface(
_cookie
);