mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 14:23:33 +00:00
add windows.ReadDirectoryChangesExW
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user