- Timestamp:
- Sep 21, 2012 8:40:12 AM (12 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/testcase/Makefile.kmk
r41477 r43386 45 45 tstSupSem \ 46 46 tstSupSem-Zombie 47 PROGRAMS.win += \ 48 tstNtQueryStuff 47 49 endif # VBOX_WITH_TESTCASES 48 50 … … 72 74 tstLow_SOURCES = tstLow.cpp 73 75 76 tstNtQueryStuff_TEMPLATE = VBOXR3TSTEXE 77 tstNtQueryStuff_SDKS = VBOX_NTDLL 78 tstNtQueryStuff_SOURCES = tstNtQueryStuff.cpp 79 74 80 tstPin_TEMPLATE = VBOXR3TSTEXE 75 81 tstPin_SOURCES = tstPin.cpp -
trunk/src/VBox/Runtime/r3/win/ntdll-mini-implib.c
r35018 r43386 5 5 6 6 /* 7 * Copyright (C) 2010 Oracle Corporation7 * Copyright (C) 2010-2012 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 35 35 typedef INT FILE_INFORMATION_CLASS; 36 36 typedef INT FS_INFORMATION_CLASS; 37 typedef INT MEMORY_INFORMATION_CLASS; 38 typedef INT PROCESSINFOCLASS; 37 39 40 41 /* Error/status conversion: */ 38 42 39 43 NTSYSAPI ULONG NTAPI RtlNtStatusToDosError(IN NTSTATUS Status) … … 41 45 return 1; 42 46 } 47 48 49 /* Queries: */ 43 50 44 51 NTSYSAPI LONG NTAPI NtQueryTimerResolution(OUT PULONG MaximumResolution, … … 49 56 } 50 57 51 NTSYSAPI NTSTATUS WINAPI NtQueryInformationFile( HANDLE h,52 PIO_STATUS_BLOCK b,53 PVOID c,54 LONG d,55 FILE_INFORMATION_CLASS e)58 NTSYSAPI NTSTATUS WINAPI NtQueryInformationFile(IN HANDLE h, 59 OUT PIO_STATUS_BLOCK b, 60 OUT PVOID pvBuf, 61 IN LONG cbBuf, 62 IN FILE_INFORMATION_CLASS e) 56 63 { 57 64 return -1; 58 65 } 66 67 NTSYSAPI NTSTATUS NTAPI NtQueryInformationProcess(IN HANDLE hProcess, 68 IN PROCESSINFOCLASS enmProcInfo, 69 OUT PVOID pvBuf, 70 IN SIZE_T cbBuf, 71 OUT PSIZE_T pcbReturned OPTIONAL) 72 { 73 return -1; 74 } 75 76 NTSYSAPI NTSTATUS NTAPI NtQueryVolumeInformationFile(IN HANDLE hFile, 77 OUT PIO_STATUS_BLOCK IoStatusBlock, 78 OUT PVOID pvBuf, 79 IN ULONG cbBuf, 80 IN FS_INFORMATION_CLASS FsInformationClass) 81 { 82 return -1; 83 } 84 85 NTSYSAPI NTSTATUS NTAPI NtQueryVirtualMemory(IN HANDLE hProcess, 86 IN LPCVOID pvWhere, 87 IN MEMORY_INFORMATION_CLASS MemoryInfo, 88 OUT PVOID pvBuf, 89 IN SIZE_T cbBuf, 90 OUT PSIZE_T pcbReturned OPTIONAL) 91 { 92 return -1; 93 } 94 95 96 /* Setters: */ 59 97 60 98 NTSYSAPI NTSTATUS NTAPI NtSetInformationFile(IN HANDLE FileHandle, … … 74 112 } 75 113 76 NTSYSAPI NTSTATUS NTAPI NtQueryVolumeInformationFile(HANDLE h,77 PIO_STATUS_BLOCK IoStatusBlock,78 PVOID pvBuf,79 ULONG cbBuf,80 FS_INFORMATION_CLASS FsInformationClass)81 {82 return -1;83 }84 114 -
trunk/src/VBox/Runtime/r3/win/ntdll-mini-implib.def
r35020 r43386 30 30 NtQueryTimerResolution 31 31 NtQueryInformationFile 32 NtQueryInformationProcess 32 33 NtSetInformationFile 33 34 NtSetTimerResolution 34 35 NtQueryVolumeInformationFile 36 NtQueryVirtualMemory 35 37
Note:
See TracChangeset
for help on using the changeset viewer.