InitCommonControlsEx function Null safety comctl32

int InitCommonControlsEx (
  1. Pointer<INITCOMMONCONTROLSEX> picce
)

Ensures that the common control DLL (Comctl32.dll) is loaded, and registers specific common control classes from the DLL. An application must call this function before creating a common control.

BOOL InitCommonControlsEx(
  const INITCOMMONCONTROLSEX *picce
);

Implementation

int InitCommonControlsEx(Pointer<INITCOMMONCONTROLSEX> picce) {
  final _InitCommonControlsEx = _comctl32.lookupFunction<
      Int32 Function(Pointer<INITCOMMONCONTROLSEX> picce),
      int Function(
          Pointer<INITCOMMONCONTROLSEX> picce)>('InitCommonControlsEx');
  return _InitCommonControlsEx(picce);
}