NAME

CoInitialize  (OLE32.@)

SYNOPSIS

 HRESULT CoInitialize
 (
  LPVOID lpReserved
 )

DESCRIPTION

Initializes the COM libraries by calling CoInitializeEx with COINIT_APARTMENTTHREADED, ie it enters a STA thread.

PARAMS

lpReserved [In] Pointer to IMalloc interface (obsolete, should be NULL).

RETURNS

Success: S_OK if not already initialized, S_FALSE otherwise.

Failure: HRESULT code.

SEE ALSO

CoInitializeEx

IMPLEMENTATION

Defined in "objbase.h".

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

Debug channel "ole".


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