CoInitializeEx function ole32

int CoInitializeEx(
  1. Pointer<NativeType> pvReserved,
  2. int dwCoInit

Initializes the COM library for use by the calling thread, sets the thread's concurrency model, and creates a new apartment for the thread if one is required.

HRESULT CoInitializeEx(
  LPVOID pvReserved,
  DWORD  dwCoInit


int CoInitializeEx(Pointer pvReserved, int dwCoInit) =>
    _CoInitializeEx(pvReserved, dwCoInit);