Changeset 54998 in vbox for trunk/include/iprt/nt/nt.h
- Timestamp:
- Mar 28, 2015 7:57:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nt/nt.h
r54997 r54998 46 46 # define NtReadFile ZwReadFile 47 47 # define NtWriteFile ZwWriteFile 48 # define NtFlushBuffersFile ZwFlushBuffersFile 48 49 /** @todo this is very incomplete! */ 49 50 #endif … … 226 227 /** Initializes a IO_STATUS_BLOCK. */ 227 228 #define RTNT_IO_STATUS_BLOCK_INITIALIZER { STATUS_FAILED_DRIVER_ENTRY, ~(uintptr_t)42 } 229 /** Reinitializes a IO_STATUS_BLOCK. */ 230 #define RTNT_IO_STATUS_BLOCK_REINIT(a_pIos) \ 231 do { (a_pIos)->Status = STATUS_FAILED_DRIVER_ENTRY; (a_pIos)->Information = ~(uintptr_t)42; } while (0) 228 232 /** Similar to INVALID_HANDLE_VALUE in the Windows environment. */ 229 233 #define RTNT_INVALID_HANDLE_VALUE ( (HANDLE)~(uintptr_t)0 ) … … 1641 1645 NTSYSAPI NTSTATUS NTAPI NtReadFile(HANDLE, HANDLE, PIO_APC_ROUTINE, PVOID, PIO_STATUS_BLOCK, PVOID, ULONG, PLARGE_INTEGER, PULONG); 1642 1646 NTSYSAPI NTSTATUS NTAPI NtWriteFile(HANDLE, HANDLE, PIO_APC_ROUTINE, void const *, PIO_STATUS_BLOCK, PVOID, ULONG, PLARGE_INTEGER, PULONG); 1647 NTSYSAPI NTSTATUS NTAPI NtFlushBuffersFile(HANDLE, PIO_STATUS_BLOCK); 1643 1648 1644 1649 NTSYSAPI NTSTATUS NTAPI NtReadVirtualMemory(HANDLE, PVOID, PVOID, SIZE_T, PSIZE_T);
Note:
See TracChangeset
for help on using the changeset viewer.