Changeset 52364 in vbox for trunk/include/iprt
- Timestamp:
- Aug 13, 2014 6:09:41 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nt/nt.h
r52354 r52364 41 41 # define NtQueryInformationThread ZwQueryInformationThread 42 42 # define NtQuerySystemInformation ZwQuerySystemInformation 43 # define NtQuerySecurityObject ZwQuerySecurityObject 43 44 # define NtClose ZwClose 44 45 # define NtCreateFile ZwCreateFile … … 218 219 /** Similar to INVALID_HANDLE_VALUE in the Windows environment. */ 219 220 #define RTNT_INVALID_HANDLE_VALUE ( (HANDLE)~(uintptr_t)0 ) 221 /** Constant UNICODE_STRING initializer. */ 222 #define RTNT_CONSTANT_UNISTR(a_String) { sizeof(a_String) - sizeof(WCHAR), sizeof(a_String), (WCHAR *)a_String } 220 223 /** @} */ 221 224 … … 1374 1377 NTSYSAPI NTSTATUS NTAPI RtlCreateAcl(PACL, ULONG, ULONG); 1375 1378 NTSYSAPI NTSTATUS NTAPI RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR, ULONG); 1379 NTSYSAPI BOOLEAN NTAPI RtlEqualSid(PSID, PSID); 1376 1380 NTSYSAPI NTSTATUS NTAPI RtlGetVersion(PRTL_OSVERSIONINFOW); 1377 1381 NTSYSAPI NTSTATUS NTAPI RtlInitializeSid(PSID, PSID_IDENTIFIER_AUTHORITY, UCHAR); … … 1711 1715 NTSYSAPI NTSTATUS NTAPI NtWaitForMultipleObjects(ULONG, PHANDLE, OBJECT_WAIT_TYPE, BOOLEAN, PLARGE_INTEGER); 1712 1716 1717 NTSYSAPI NTSTATUS NTAPI NtQuerySecurityObject(HANDLE, ULONG, PSECURITY_DESCRIPTOR, ULONG, PULONG); 1718 1719 1720 #ifdef IPRT_NT_USE_WINTERNL 1721 /** For NtQueryValueKey. */ 1722 typedef enum _KEY_VALUE_INFORMATION_CLASS 1723 { 1724 KeyValueBasicInformation = 0, 1725 KeyValueFullInformation, 1726 KeyValuePartialInformation, 1727 KeyValueFullInformationAlign64, 1728 KeyValuePartialInformationAlign64 1729 } KEY_VALUE_INFORMATION_CLASS; 1730 1731 /** KeyValuePartialInformation and KeyValuePartialInformationAlign64 struct. */ 1732 typedef struct _KEY_VALUE_PARTIAL_INFORMATION 1733 { 1734 ULONG TitleIndex; 1735 ULONG Type; 1736 ULONG DataLength; 1737 UCHAR Data[1]; 1738 } KEY_VALUE_PARTIAL_INFORMATION; 1739 typedef KEY_VALUE_PARTIAL_INFORMATION *PKEY_VALUE_PARTIAL_INFORMATION; 1740 #endif 1741 NTSYSAPI NTSTATUS NTAPI NtOpenKey(PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES); 1742 NTSYSAPI NTSTATUS NTAPI NtQueryValueKey(HANDLE, PUNICODE_STRING, KEY_VALUE_INFORMATION_CLASS, PVOID, ULONG, PULONG); 1743 1713 1744 1714 1745 NTSYSAPI NTSTATUS NTAPI RtlAddAccessDeniedAce(PACL, ULONG, ULONG, PSID); … … 1791 1822 PFNRT, PVOID, PHANDLE, PCLIENT_ID); 1792 1823 1793 1794 1824 RT_C_DECLS_END 1795 1825 /** @} */ … … 1840 1870 #endif 1841 1871 NTSYSAPI VOID NTAPI LdrInitializeThunk(PVOID, PVOID, PVOID); 1872 NTSYSAPI NTSTATUS NTAPI RtlExpandEnvironmentStrings_U(PVOID, PUNICODE_STRING, PUNICODE_STRING, PULONG); 1842 1873 1843 1874 RT_C_DECLS_END
Note:
See TracChangeset
for help on using the changeset viewer.