Changeset 70873 in vbox for trunk/include/iprt/nt
- Timestamp:
- Feb 5, 2018 6:13:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nt/nt.h
r70417 r70873 1533 1533 typedef FILE_FS_ATTRIBUTE_INFORMATION *PFILE_FS_ATTRIBUTE_INFORMATION; 1534 1534 1535 #endif 1535 1536 NTSYSAPI NTSTATUS NTAPI NtOpenProcess(PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES, PCLIENT_ID); 1537 NTSYSAPI NTSTATUS NTAPI ZwOpenProcess(PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES, PCLIENT_ID); 1538 NTSYSAPI NTSTATUS NTAPI NtOpenThread(PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES, PCLIENT_ID); 1539 NTSYSAPI NTSTATUS NTAPI ZwOpenThread(PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES, PCLIENT_ID); 1540 1541 #ifdef IPRT_NT_USE_WINTERNL 1536 1542 NTSYSAPI NTSTATUS NTAPI NtOpenProcessToken(HANDLE, ACCESS_MASK, PHANDLE); 1537 NTSYSAPI NTSTATUS NTAPI NtOpenThread(PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES, PCLIENT_ID);1538 1543 NTSYSAPI NTSTATUS NTAPI NtOpenThreadToken(HANDLE, ACCESS_MASK, BOOLEAN, PHANDLE); 1539 1544 #endif 1545 NTSYSAPI NTSTATUS NTAPI ZwOpenProcessToken(HANDLE, ACCESS_MASK, PHANDLE); 1546 NTSYSAPI NTSTATUS NTAPI ZwOpenThreadToken(HANDLE, ACCESS_MASK, BOOLEAN, PHANDLE); 1547 1548 #ifdef IPRT_NT_USE_WINTERNL 1540 1549 typedef enum _FSINFOCLASS 1541 1550 { … … 1685 1694 NTSYSAPI NTSTATUS NTAPI NtQueryFullAttributesFile(POBJECT_ATTRIBUTES, PFILE_NETWORK_OPEN_INFORMATION); 1686 1695 1696 1697 /** @name SE_GROUP_XXX - Attributes returned with TokenGroup and others. 1698 * @{ */ 1699 #ifndef SE_GROUP_MANDATORY 1700 # define SE_GROUP_MANDATORY UINT32_C(0x01) 1701 #endif 1702 #ifndef SE_GROUP_ENABLED_BY_DEFAULT 1703 # define SE_GROUP_ENABLED_BY_DEFAULT UINT32_C(0x02) 1704 #endif 1705 #ifndef SE_GROUP_ENABLED 1706 # define SE_GROUP_ENABLED UINT32_C(0x04) 1707 #endif 1708 #ifndef SE_GROUP_OWNER 1709 # define SE_GROUP_OWNER UINT32_C(0x08) 1710 #endif 1711 #ifndef SE_GROUP_USE_FOR_DENY_ONLY 1712 # define SE_GROUP_USE_FOR_DENY_ONLY UINT32_C(0x10) 1713 #endif 1714 #ifndef SE_GROUP_INTEGRITY 1715 # define SE_GROUP_INTEGRITY UINT32_C(0x20) 1716 #endif 1717 #ifndef SE_GROUP_INTEGRITY_ENABLED 1718 # define SE_GROUP_INTEGRITY_ENABLED UINT32_C(0x40) 1719 #endif 1720 #ifndef SE_GROUP_RESOURCE 1721 # define SE_GROUP_RESOURCE UINT32_C(0x20000000) 1722 #endif 1723 #ifndef SE_GROUP_LOGON_ID 1724 # define SE_GROUP_LOGON_ID UINT32_C(0xc0000000) 1725 #endif 1726 /** @} */ 1727 1728 1687 1729 #ifdef IPRT_NT_USE_WINTERNL 1688 1730 … … 1910 1952 1911 1953 NTSYSAPI NTSTATUS NTAPI NtQueryInformationToken(HANDLE, TOKEN_INFORMATION_CLASS, PVOID, ULONG, PULONG); 1954 NTSYSAPI NTSTATUS NTAPI ZwQueryInformationToken(HANDLE, TOKEN_INFORMATION_CLASS, PVOID, ULONG, PULONG); 1912 1955 1913 1956 NTSYSAPI NTSTATUS NTAPI NtReadFile(HANDLE, HANDLE, PIO_APC_ROUTINE, PVOID, PIO_STATUS_BLOCK, PVOID, ULONG, PLARGE_INTEGER, PULONG);
Note:
See TracChangeset
for help on using the changeset viewer.