NAME

CoGetState  (OLE32.@)

SYNOPSIS

 HRESULT CoGetState
 (
  IUnknown** ppv
 )

DESCRIPTION

Retrieves the thread state object previously stored by CoSetState.

PARAMS

ppv [In] Address where pointer to object will be stored.

RETURNS

Success: S_OK.

Failure: E_OUTOFMEMORY.

NOTES

Crashes on all invalid ppv addresses, including NULL. If the function returns a non-NULL object then the caller must release its reference on the object when the object is no longer required.

SEE ALSO

CoSetState.

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/ole32/compobj.c". https://source.winehq.org/source/dlls/ole32/compobj.c

Debug channel "ole".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.