Skip to content

Commit

Permalink
CreateFile return type no longer optional
Browse files Browse the repository at this point in the history
  • Loading branch information
marler8997 committed Sep 25, 2023
1 parent 967edfd commit 6777f1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions win32/storage/file_system.zig
Original file line number Diff line number Diff line change
Expand Up @@ -5273,7 +5273,7 @@ pub extern "kernel32" fn CreateFileA(
dwCreationDisposition: FILE_CREATION_DISPOSITION,
dwFlagsAndAttributes: FILE_FLAGS_AND_ATTRIBUTES,
hTemplateFile: ?HANDLE,
) callconv(@import("std").os.windows.WINAPI) ?HANDLE;
) callconv(@import("std").os.windows.WINAPI) HANDLE;

// TODO: this type is limited to platform 'windows5.1.2600'
pub extern "kernel32" fn CreateFileW(
Expand All @@ -5284,7 +5284,7 @@ pub extern "kernel32" fn CreateFileW(
dwCreationDisposition: FILE_CREATION_DISPOSITION,
dwFlagsAndAttributes: FILE_FLAGS_AND_ATTRIBUTES,
hTemplateFile: ?HANDLE,
) callconv(@import("std").os.windows.WINAPI) ?HANDLE;
) callconv(@import("std").os.windows.WINAPI) HANDLE;

// TODO: this type is limited to platform 'windows5.1.2600'
pub extern "kernel32" fn DefineDosDeviceW(
Expand Down

0 comments on commit 6777f1d

Please sign in to comment.