OpenFileMappingW method

Pointer<Void> OpenFileMappingW(
  1. int dwDesiredAccess,
  2. int bInheritHandle,
  3. Pointer<Uint16> lpName
)

Implementation

ffi.Pointer<ffi.Void> OpenFileMappingW(
  int dwDesiredAccess,
  int bInheritHandle,
  ffi.Pointer<ffi.Uint16> lpName,
) {
  return (_OpenFileMappingW ??=
      _dylib.lookupFunction<_c_OpenFileMappingW, _dart_OpenFileMappingW>(
          'OpenFileMappingW'))(
    dwDesiredAccess,
    bInheritHandle,
    lpName,
  );
}