Function SetFileCompletionNotificationModes [src]

Prototype

pub fn SetFileCompletionNotificationModes(handle: HANDLE, flags: UCHAR) !void

Parameters

handle: HANDLEflags: UCHAR

Source

pub fn SetFileCompletionNotificationModes(handle: HANDLE, flags: UCHAR) !void { const success = kernel32.SetFileCompletionNotificationModes(handle, flags); if (success == FALSE) { return switch (GetLastError()) { else => |err| unexpectedError(err), }; } }