Reference

CoGetState(3w)

NAME

CoGetState (OLE32.@)

SYNOPSIS

HRESULT CoGetState
(
IUnknown** ppv
)

DESCRIPTION

Retrieves the thread state object previously stored by CoSetState(3w).

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".

Debug channel "ole".

History