VirtualBox

Changeset 64638 in vbox for trunk


Ignore:
Timestamp:
Nov 10, 2016 3:24:35 PM (8 years ago)
Author:
vboxsync
Message:

iprt/nt/nt.h: NtQueryFullAttributesFile and NtQueryAttributesFile.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/nt.h

    r64594 r64638  
    4040# define NtQueryInformationProcess      ZwQueryInformationProcess
    4141# define NtQueryInformationThread       ZwQueryInformationThread
     42# define NtQueryFullAttributesFile      ZwQueryFullAttributesFile
    4243# define NtQuerySystemInformation       ZwQuerySystemInformation
    4344# define NtQuerySecurityObject          ZwQuerySecurityObject
     
    15391540} FILE_NAME_INFORMATION;
    15401541typedef FILE_NAME_INFORMATION *PFILE_NAME_INFORMATION;
     1542typedef struct _FILE_NETWORK_OPEN_INFORMATION
     1543{
     1544    LARGE_INTEGER   CreationTime;
     1545    LARGE_INTEGER   LastAccessTime;
     1546    LARGE_INTEGER   LastWriteTime;
     1547    LARGE_INTEGER   ChangeTime;
     1548    LARGE_INTEGER   AllocationSize;
     1549    LARGE_INTEGER   EndOfFile;
     1550    ULONG           FileAttributes;
     1551} FILE_NETWORK_OPEN_INFORMATION;
     1552typedef FILE_NETWORK_OPEN_INFORMATION *PFILE_NETWORK_OPEN_INFORMATION;
    15411553typedef enum _FILE_INFORMATION_CLASS
    15421554{
     
    16101622                                             FILE_INFORMATION_CLASS, BOOLEAN, PUNICODE_STRING, BOOLEAN);
    16111623NTSYSAPI NTSTATUS NTAPI NtSetInformationFile(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, FILE_INFORMATION_CLASS);
    1612 
     1624#endif /* IPRT_NT_USE_WINTERNL */
     1625NTSYSAPI NTSTATUS NTAPI NtQueryAttributesFile(POBJECT_ATTRIBUTES, PFILE_BASIC_INFORMATION);
     1626NTSYSAPI NTSTATUS NTAPI NtQueryFullAttributesFile(POBJECT_ATTRIBUTES, PFILE_NETWORK_OPEN_INFORMATION);
     1627
     1628#ifdef IPRT_NT_USE_WINTERNL
    16131629
    16141630/** For use with KeyBasicInformation. */
  • trunk/src/VBox/Runtime/r3/win/ntdll-mini-implib.def

    r64594 r64638  
    5757    NtOpenThreadToken                     ;;= _NtOpenThreadToken@16
    5858    NtProtectVirtualMemory                ;;= _NtProtectVirtualMemory@20
     59    NtQueryAttributesFile                 ;;= _NtQueryAttributesFile@8
    5960    NtQueryDirectoryFile                  ;;= _NtQueryDirectoryFile@44
    6061    NtQueryDirectoryObject                ;;= _NtQueryDirectoryObject@28
     62    NtQueryFullAttributesFile             ;;= _NtQueryFullAttributesFile@8
    6163    NtQueryEvent                          ;;= _NtQueryEvent@20
    6264    NtQueryInformationFile                ;;= _NtQueryInformationFile@20
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette