GetDefaultCommConfig function Null safety kernel32

int GetDefaultCommConfig(
  1. Pointer<Utf16> lpszName,
  2. Pointer<COMMCONFIG> lpCC,
  3. Pointer<Uint32> lpdwSize
)

Retrieves the default configuration for the specified communications device.

BOOL GetDefaultCommConfigW(
  LPCWSTR      lpszName,
  LPCOMMCONFIG lpCC,
  LPDWORD      lpdwSize
);

Implementation

int GetDefaultCommConfig(Pointer<Utf16> lpszName, Pointer<COMMCONFIG> lpCC,
        Pointer<Uint32> lpdwSize) =>
    _GetDefaultCommConfig(lpszName, lpCC, lpdwSize);