Function Reference


Initializes the COM library for use by the calling process

#include <WinAPICom.au3>
_WinAPI_CoInitialize ( [$iFlags = 0] )


$iFlags [optional] This parameter can be one or more of the following values.

Return Value

Success: 1.
Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search CoInitializeEx in MSDN Library.