function initializes the OLE library. You must initialize the library before
you can call OLE functions.
| LPVOID pvReserved
||//Reserved, must be NULL
In 32-bit OLE, this parameter must be NULL. The 32-bit version of OLE does not
support applications replacing OLE's allocator and if the parameter is not
Indicates the library was initialized successfully.
Indicates OLE library is already initialized; a pointer to the IMalloc
implementation was not used.
Indicates COMPOBJ.DLL is the wrong version for OLE2.DLL.
Indicates the library was not initialized because the system was out of memory.
Indicates an argument was invalid.
Indicates an unexpected error occurred.
before calling any other function in the OLE library.
is called only once in the process that uses the OLE library. There can be
multiple calls, but subsequent calls return S_FALSE. To close the library
gracefully, each successful call to OleInitialize
, including those that return S_FALSE, must
be balanced by a corresponding call to the OleUninitialize
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages