CoInitialize(3w)

CoInitialize3w

Usage

HRESULT CoInitialize
(
LPVOID lpReserved
)

Overview

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.

Implementation

Declared in "compobj_private.h".

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

Debug channel "ole".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.