CoGetState.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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 defined in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/ole32/compobj.c".

Debug channel "ole".