GetFileInformationByHandle function Null safety kernel32

int GetFileInformationByHandle(
  1. int hFile,
  2. Pointer<BY_HANDLE_FILE_INFORMATION> lpFileInformation
)

Retrieves file information for the specified file.

BOOL GetFileInformationByHandle(
  HANDLE                       hFile,
  LPBY_HANDLE_FILE_INFORMATION lpFileInformation
);

Implementation

int GetFileInformationByHandle(
        int hFile, Pointer<BY_HANDLE_FILE_INFORMATION> lpFileInformation) =>
    _GetFileInformationByHandle(hFile, lpFileInformation);