CoInitialize (OLE32.@)
HRESULT CoInitialize ( LPVOID lpReserved )
Initializes the COM libraries by calling CoInitializeEx with COINIT_APARTMENTTHREADED, ie it enters a STA thread.
lpReserved | [In] | Pointer to IMalloc interface (obsolete, should be NULL). |
Success: S_OK if not already initialized, S_FALSE otherwise.
Failure: HRESULT code.
CoInitializeEx
Declared in "include/objbase.h". gitlab.winehq.org/wine/wine/blob/master/include/objbase.h
Implemented in "dlls/ole32/compobj.c". gitlab.winehq.org/wine/wine/blob/master/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 Nov 2024.