CreateDC function gdi32

int CreateDC(
  1. Pointer<Utf16> pwszDriver,
  2. Pointer<Utf16> pwszDevice,
  3. Pointer<Utf16> pszPort,
  4. Pointer<DEVMODE> pdm,
)

The CreateDC function creates a device context (DC) for a device using the specified name.

HDC CreateDCW(
  LPCWSTR        pwszDriver,
  LPCWSTR        pwszDevice,
  LPCWSTR        pszPort,
  const DEVMODEW *pdm
);

Implementation

int CreateDC(Pointer<Utf16> pwszDriver, Pointer<Utf16> pwszDevice,
        Pointer<Utf16> pszPort, Pointer<DEVMODE> pdm) =>
    _CreateDC(pwszDriver, pwszDevice, pszPort, pdm);