OleInitialize function ole32

int OleInitialize(
  1. Pointer<NativeType> pvReserved
)

Initializes the COM library on the current apartment, and identifies the concurrency model as single-thread apartment (STA). Applications must initialize the COM library before they can call COM library functions other than CoGetMalloc and memory allocation functions.

HRESULT OleInitialize(
  LPVOID pvReserved
);

Implementation

int OleInitialize(Pointer pvReserved) => _OleInitialize(pvReserved);