This commit is contained in:
gingerBill
2026-01-28 11:54:23 +00:00
2 changed files with 18 additions and 0 deletions

View File

@@ -474,6 +474,17 @@ foreign kernel32 {
lpOverlapped: LPOVERLAPPED,
lpCompletionRoutine: LPOVERLAPPED_COMPLETION_ROUTINE,
) -> BOOL ---
ReadDirectoryChangesExW :: proc(
hDirectory: HANDLE,
lpBuffer: LPVOID,
nBufferLength: DWORD,
bWatchSubtree: BOOL,
dwNotifyFilter: DWORD,
lpBytesReturned: LPDWORD,
lpOverlapped: LPOVERLAPPED,
lpCompletionRoutine: LPOVERLAPPED_COMPLETION_ROUTINE,
ReadDirectoryNotifyInformationClass: READ_DIRECTORY_NOTIFY_INFORMATION_CLASS,
) -> BOOL ---
FindFirstChangeNotificationW :: proc(
lpPathName: LPWSTR,
bWatchSubtree: BOOL,

View File

@@ -3176,6 +3176,13 @@ LPOVERLAPPED_COMPLETION_ROUTINE :: #type proc "system" (
lpOverlapped: LPOVERLAPPED,
)
READ_DIRECTORY_NOTIFY_INFORMATION_CLASS :: enum c_int {
ReadDirectoryNotifyInformation = 1,
ReadDirectoryNotifyExtendedInformation,
ReadDirectoryNotifyFullInformation,
ReadDirectoryNotifyMaximumInformation,
}
ADDRESS_MODE :: enum c_int {
AddrMode1616,
AddrMode1632,