ReOpenFile function Null safety kernel32

int ReOpenFile(
  1. int hOriginalFile,
  2. int dwDesiredAccess,
  3. int dwShareMode,
  4. int dwFlagsAndAttributes
)

Reopens the specified file system object with different access rights, sharing mode, and flags.

HANDLE ReOpenFile(
  HANDLE hOriginalFile,
  DWORD  dwDesiredAccess,
  DWORD  dwShareMode,
  DWORD  dwFlagsAndAttributes);

Implementation

int ReOpenFile(int hOriginalFile, int dwDesiredAccess, int dwShareMode,
        int dwFlagsAndAttributes) =>
    _ReOpenFile(
        hOriginalFile, dwDesiredAccess, dwShareMode, dwFlagsAndAttributes);