mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
- NDK fix: don't undef a million status codes, instead, have apps define WIN32_NO_STATUS.
- winnt.h: respect WIN32_NO_STATUS for DBG codes. - rtl: change STDCALL to NTAPI - everything else: add precompiled headers where missing, define WIN32_NO_STATUS. svn path=/trunk/; revision=18598
This commit is contained in:
parent
593300080a
commit
8c002db0c2
139 changed files with 688 additions and 685 deletions
|
@ -22,8 +22,9 @@
|
||||||
Thanks to Filip Navara patch for fixing the Xp crash problem.
|
Thanks to Filip Navara patch for fixing the Xp crash problem.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
|
#include <windows.h>
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
typedef struct _SYSTEM_THREADS
|
typedef struct _SYSTEM_THREADS
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
/* Helper Header */
|
/* Helper Header */
|
||||||
#include <helper.h>
|
#include <reactos/helper.h>
|
||||||
|
|
||||||
/* A version of ntdef.h to be used with PSDK headers. */
|
/* A version of ntdef.h to be used with PSDK headers. */
|
||||||
#include "umtypes.h"
|
#include "umtypes.h"
|
||||||
|
|
|
@ -1988,6 +1988,19 @@ ULONG
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlUniform(PULONG Seed);
|
RtlUniform(PULONG Seed);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Network Functions
|
||||||
|
*/
|
||||||
|
NTSYSAPI
|
||||||
|
NTSTATUS
|
||||||
|
NTAPI
|
||||||
|
RtlIpv4StringToAddressW(
|
||||||
|
IN LPWSTR IpString,
|
||||||
|
IN ULONG Base,
|
||||||
|
OUT PULONG PtrToIpAddr,
|
||||||
|
OUT PULONG IpAddr
|
||||||
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Time Functions
|
* Time Functions
|
||||||
*/
|
*/
|
||||||
|
@ -2042,6 +2055,10 @@ NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlGetVersion(IN OUT PRTL_OSVERSIONINFOW lpVersionInformation);
|
RtlGetVersion(IN OUT PRTL_OSVERSIONINFOW lpVersionInformation);
|
||||||
|
|
||||||
|
NTSYSAPI
|
||||||
|
BOOLEAN
|
||||||
|
NTAPI
|
||||||
|
RtlGetNtProductType(OUT PNT_PRODUCT_TYPE ProductType);
|
||||||
|
|
||||||
static __inline struct _PEB* NtCurrentPeb (void)
|
static __inline struct _PEB* NtCurrentPeb (void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,51 +14,7 @@
|
||||||
/* DEPENDENCIES **************************************************************/
|
/* DEPENDENCIES **************************************************************/
|
||||||
#include <winioctl.h>
|
#include <winioctl.h>
|
||||||
#include <ntnls.h>
|
#include <ntnls.h>
|
||||||
|
#undef WIN32_NO_STATUS
|
||||||
/* Undef the following to avoid conflects including ntstatus.h with winnt.h */
|
|
||||||
#undef STATUS_WAIT_0
|
|
||||||
#undef STATUS_ABANDONED_WAIT_0
|
|
||||||
#undef STATUS_USER_APC
|
|
||||||
#undef STATUS_TIMEOUT
|
|
||||||
#undef STATUS_PENDING
|
|
||||||
#undef DBG_EXCEPTION_HANDLED
|
|
||||||
#undef STATUS_SEGMENT_NOTIFICATION
|
|
||||||
#undef DBG_TERMINATE_THREAD
|
|
||||||
#undef DBG_TERMINATE_PROCESS
|
|
||||||
#undef DBG_CONTROL_C
|
|
||||||
#undef DBG_CONTROL_BREAK
|
|
||||||
#undef DBG_COMMAND_EXCEPTION
|
|
||||||
#undef STATUS_GUARD_PAGE_VIOLATION
|
|
||||||
#undef STATUS_DATATYPE_MISALIGNMENT
|
|
||||||
#undef STATUS_BREAKPOINT
|
|
||||||
#undef STATUS_SINGLE_STEP
|
|
||||||
#undef DBG_EXCEPTION_NOT_HANDLED
|
|
||||||
#undef STATUS_ACCESS_VIOLATION
|
|
||||||
#undef STATUS_IN_PAGE_ERROR
|
|
||||||
#undef STATUS_INVALID_HANDLE
|
|
||||||
#undef STATUS_NO_MEMORY
|
|
||||||
#undef STATUS_ILLEGAL_INSTRUCTION
|
|
||||||
#undef STATUS_NONCONTINUABLE_EXCEPTION
|
|
||||||
#undef STATUS_INVALID_DISPOSITION
|
|
||||||
#undef STATUS_ARRAY_BOUNDS_EXCEEDED
|
|
||||||
#undef STATUS_FLOAT_DENORMAL_OPERAND
|
|
||||||
#undef STATUS_FLOAT_DIVIDE_BY_ZERO
|
|
||||||
#undef STATUS_FLOAT_INEXACT_RESULT
|
|
||||||
#undef STATUS_FLOAT_INVALID_OPERATION
|
|
||||||
#undef STATUS_FLOAT_OVERFLOW
|
|
||||||
#undef STATUS_FLOAT_STACK_CHECK
|
|
||||||
#undef STATUS_FLOAT_UNDERFLOW
|
|
||||||
#undef STATUS_INTEGER_DIVIDE_BY_ZERO
|
|
||||||
#undef STATUS_INTEGER_OVERFLOW
|
|
||||||
#undef STATUS_PRIVILEGED_INSTRUCTION
|
|
||||||
#undef STATUS_STACK_OVERFLOW
|
|
||||||
#undef STATUS_CONTROL_C_EXIT
|
|
||||||
#undef STATUS_FLOAT_MULTIPLE_FAULTS
|
|
||||||
#undef STATUS_FLOAT_MULTIPLE_TRAPS
|
|
||||||
#undef STATUS_REG_NAT_CONSUMPTION
|
|
||||||
#undef STATUS_SXS_EARLY_DEACTIVATION
|
|
||||||
#undef STATUS_SXS_INVALID_DEACTIVATION
|
|
||||||
|
|
||||||
#include <ntstatus.h>
|
#include <ntstatus.h>
|
||||||
|
|
||||||
/* CONSTANTS *****************************************************************/
|
/* CONSTANTS *****************************************************************/
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
/* DEPENDENCIES **************************************************************/
|
/* DEPENDENCIES **************************************************************/
|
||||||
#define _WMIKM_
|
#define _WMIKM_
|
||||||
#include <evntrace.h>
|
#include <evntrace.h>
|
||||||
|
#include "lpctypes.h"
|
||||||
|
#include "dbgktypes.h"
|
||||||
|
#include "kdtypes.h"
|
||||||
|
|
||||||
/* FUNCTION TYPES ************************************************************/
|
/* FUNCTION TYPES ************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/* PSDK/NDK Headers */
|
/* PSDK/NDK Headers */
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <accctrl.h>
|
#include <accctrl.h>
|
||||||
#include <sddl.h>
|
#include <sddl.h>
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include "winternl.h"
|
#include "winternl.h"
|
||||||
#include "msvcrt.h"
|
#include "msvcrt.h"
|
||||||
*/
|
*/
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
<file>names.c</file>
|
<file>names.c</file>
|
||||||
<file>query.c</file>
|
<file>query.c</file>
|
||||||
<file>stubs.c</file>
|
<file>stubs.c</file>
|
||||||
|
<pch>precomp.h</pch>
|
||||||
</directory>
|
</directory>
|
||||||
<file>dnsapi.rc</file>
|
<file>dnsapi.rc</file>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
* 12/15/03 -- Created
|
* 12/15/03 -- Created
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "precomp.h"
|
||||||
#include <winerror.h>
|
|
||||||
#include <windns.h>
|
#define NDEBUG
|
||||||
#include <internal/windns.h>
|
#include <debug.h>
|
||||||
|
|
||||||
DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS( int Status ) {
|
DNS_STATUS DnsIntTranslateAdnsToDNS_STATUS( int Status ) {
|
||||||
switch( Status ) {
|
switch( Status ) {
|
||||||
|
|
|
@ -8,12 +8,10 @@
|
||||||
* 12/15/03 -- Created
|
* 12/15/03 -- Created
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "precomp.h"
|
||||||
#include <winerror.h>
|
|
||||||
#include <windns.h>
|
#define NDEBUG
|
||||||
#define NTOS_MODE_USER
|
#include <debug.h>
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <internal/windns.h>
|
|
||||||
|
|
||||||
/* DnsAcquireContextHandle *************
|
/* DnsAcquireContextHandle *************
|
||||||
* Create a context handle that will allow us to open and retrieve queries.
|
* Create a context handle that will allow us to open and retrieve queries.
|
||||||
|
|
|
@ -8,12 +8,10 @@
|
||||||
* 12/15/03 -- Created
|
* 12/15/03 -- Created
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "precomp.h"
|
||||||
#include <winerror.h>
|
|
||||||
#include <windns.h>
|
#define NDEBUG
|
||||||
#include <internal/windns.h>
|
#include <debug.h>
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
VOID WINAPI DnsFree
|
VOID WINAPI DnsFree
|
||||||
( PVOID Data, DNS_FREE_TYPE FreeType ) {
|
( PVOID Data, DNS_FREE_TYPE FreeType ) {
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
#include <ctype.h>
|
#include "precomp.h"
|
||||||
#include <windows.h>
|
|
||||||
#include <winerror.h>
|
#define NDEBUG
|
||||||
#include <windns.h>
|
#include <debug.h>
|
||||||
#include <internal/windns.h>
|
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
static BOOL DnsIntNameContainsDots( LPCWSTR Name ) {
|
static BOOL DnsIntNameContainsDots( LPCWSTR Name ) {
|
||||||
return wcschr( Name, '.' ) ? TRUE : FALSE;
|
return wcschr( Name, '.' ) ? TRUE : FALSE;
|
||||||
|
|
22
reactos/lib/dnsapi/dnsapi/precomp.h
Normal file
22
reactos/lib/dnsapi/dnsapi/precomp.h
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS System Libraries
|
||||||
|
* FILE: lib/dnsapi/precomp.h
|
||||||
|
* PURPOSE: Win32 DNS API Libary Header
|
||||||
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
|
#define NTOS_MODE_USER
|
||||||
|
|
||||||
|
/* PSDK/NDK Headers */
|
||||||
|
#include <windows.h>
|
||||||
|
#include <winerror.h>
|
||||||
|
#include <windns.h>
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
|
/* Internal DNSAPI Headers */
|
||||||
|
#include <internal/windns.h>
|
||||||
|
|
|
@ -8,12 +8,10 @@
|
||||||
* 12/15/03 -- Created
|
* 12/15/03 -- Created
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "precomp.h"
|
||||||
#include <winerror.h>
|
|
||||||
#include <windns.h>
|
#define NDEBUG
|
||||||
#include <internal/windns.h>
|
#include <debug.h>
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
/* DnsQuery ****************************
|
/* DnsQuery ****************************
|
||||||
* Begin a DNS query, and allow the result to be placed in the application
|
* Begin a DNS query, and allow the result to be placed in the application
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#include <windows.h>
|
/* Can't use precomp.h because these weren't stubbed properly */
|
||||||
#include <winerror.h>
|
#define WIN32_NO_STATUS
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
|
#include <windows.h>
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
typedef ULONG DNS_STATUS;
|
typedef ULONG DNS_STATUS;
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
* and improve reusability
|
* and improve reusability
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
* isolated in its own library to clear the confusion
|
* isolated in its own library to clear the confusion
|
||||||
* and improve reusability
|
* and improve reusability
|
||||||
*/
|
*/
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
* isolated in its own library to clear the confusion
|
* isolated in its own library to clear the confusion
|
||||||
* and improve reusability
|
* and improve reusability
|
||||||
*/
|
*/
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
|
@ -9,10 +9,7 @@
|
||||||
* 1999-02-16 (Emanuele Aliberti)
|
* 1999-02-16 (Emanuele Aliberti)
|
||||||
* Entry points added.
|
* Entry points added.
|
||||||
*/
|
*/
|
||||||
#define UNICODE
|
#include "precomp.h"
|
||||||
#define _UNICODE
|
|
||||||
#include <windows.h>
|
|
||||||
#include <fmifs/fmifs.h>
|
|
||||||
|
|
||||||
/* FMIFS.1 */
|
/* FMIFS.1 */
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
|
|
|
@ -9,10 +9,7 @@
|
||||||
* 1999-02-16 (Emanuele Aliberti)
|
* 1999-02-16 (Emanuele Aliberti)
|
||||||
* Entry points added.
|
* Entry points added.
|
||||||
*/
|
*/
|
||||||
#define UNICODE
|
#include "precomp.h"
|
||||||
#define _UNICODE
|
|
||||||
#include <windows.h>
|
|
||||||
#include <winioctl.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
|
|
|
@ -9,9 +9,7 @@
|
||||||
* 1999-02-16 (Emanuele Aliberti)
|
* 1999-02-16 (Emanuele Aliberti)
|
||||||
* Entry points added.
|
* Entry points added.
|
||||||
*/
|
*/
|
||||||
#define UNICODE
|
#include "precomp.h"
|
||||||
#define _UNICODE
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
/* FMIFS.3 */
|
/* FMIFS.3 */
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
|
|
|
@ -9,9 +9,7 @@
|
||||||
* 1999-02-16 (Emanuele Aliberti)
|
* 1999-02-16 (Emanuele Aliberti)
|
||||||
* Entry points added.
|
* Entry points added.
|
||||||
*/
|
*/
|
||||||
#define UNICODE
|
#include "precomp.h"
|
||||||
#define _UNICODE
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
/* FMIFS.5 */
|
/* FMIFS.5 */
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
|
|
|
@ -15,4 +15,5 @@
|
||||||
<file>label.c</file>
|
<file>label.c</file>
|
||||||
<file>media.c</file>
|
<file>media.c</file>
|
||||||
<file>fmifs.rc</file>
|
<file>fmifs.rc</file>
|
||||||
|
<pch>precomp.h</pch>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -9,14 +9,7 @@
|
||||||
* 1999-02-16 (Emanuele Aliberti)
|
* 1999-02-16 (Emanuele Aliberti)
|
||||||
* Entry points added.
|
* Entry points added.
|
||||||
*/
|
*/
|
||||||
#define UNICODE
|
#include "precomp.h"
|
||||||
#define _UNICODE
|
|
||||||
#include <windows.h>
|
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <fmifs/fmifs.h>
|
|
||||||
#include <fslib/vfatlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -9,9 +9,7 @@
|
||||||
* 1999-02-16 (Emanuele Aliberti)
|
* 1999-02-16 (Emanuele Aliberti)
|
||||||
* Entry points added.
|
* Entry points added.
|
||||||
*/
|
*/
|
||||||
#define UNICODE
|
#include "precomp.h"
|
||||||
#define _UNICODE
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
static BOOL FmIfsInitialized = FALSE;
|
static BOOL FmIfsInitialized = FALSE;
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,7 @@
|
||||||
* 1999-02-16 (Emanuele Aliberti)
|
* 1999-02-16 (Emanuele Aliberti)
|
||||||
* Entry points added.
|
* Entry points added.
|
||||||
*/
|
*/
|
||||||
#define UNICODE
|
#include "precomp.h"
|
||||||
#define _UNICODE
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
/* FMIFS.10 */
|
/* FMIFS.10 */
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
|
|
|
@ -9,9 +9,7 @@
|
||||||
* 1999-02-16 (Emanuele Aliberti)
|
* 1999-02-16 (Emanuele Aliberti)
|
||||||
* Entry points added.
|
* Entry points added.
|
||||||
*/
|
*/
|
||||||
#define UNICODE
|
#include "precomp.h"
|
||||||
#define _UNICODE
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
/* FMIFS.9 */
|
/* FMIFS.9 */
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
|
|
26
reactos/lib/fmifs/precomp.h
Normal file
26
reactos/lib/fmifs/precomp.h
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS System Libraries
|
||||||
|
* FILE: lib/fmifs/precomp.h
|
||||||
|
* PURPOSE: Win32 FMIFS API Libary Header
|
||||||
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
|
#define NTOS_MODE_USER
|
||||||
|
#define UNICODE
|
||||||
|
#define _UNICODE
|
||||||
|
|
||||||
|
/* PSDK/NDK Headers */
|
||||||
|
#include <windows.h>
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
|
/* FMIFS Public Header */
|
||||||
|
#include <fmifs/fmifs.h>
|
||||||
|
|
||||||
|
/* VFATLIB Public Header */
|
||||||
|
#include <fslib/vfatlib.h>
|
||||||
|
|
||||||
|
/* EOF */
|
|
@ -4,6 +4,7 @@
|
||||||
* FILE: vfatlib.h
|
* FILE: vfatlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <fmifs/fmifs.h>
|
#include <fmifs/fmifs.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
* PROJECT: ReactOS VFAT filesystem library
|
* PROJECT: ReactOS VFAT filesystem library
|
||||||
* FILE: vfatxlib.h
|
* FILE: vfatxlib.h
|
||||||
*/
|
*/
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <fmifs/fmifs.h>
|
#include <fmifs/fmifs.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
/* SDK/DDK/NDK Headers. */
|
/* SDK/DDK/NDK Headers. */
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#define __GDI32__
|
#define __GDI32__
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
/* PSDK/NDK Headers */
|
/* PSDK/NDK Headers */
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#define _KERNEL32_
|
#define _KERNEL32_
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
|
@ -8,8 +8,9 @@
|
||||||
#define __MSAFD_H
|
#define __MSAFD_H
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <ws2spi.h>
|
#include <ws2spi.h>
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
/* PSDK/NDK Headers */
|
/* PSDK/NDK Headers */
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
/* SDK/DDK/NDK Headers. */
|
/* SDK/DDK/NDK Headers. */
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define WIN32_LEANER_AND_MEANER
|
#define WIN32_LEANER_AND_MEANER
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "teb.h"
|
#include "teb.h"
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <winreg.h>
|
#include <winreg.h>
|
||||||
#include "teb.h"
|
#include "teb.h"
|
||||||
|
|
|
@ -1,33 +1,5 @@
|
||||||
// teb.h
|
// teb.h
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
|
|
||||||
typedef struct _TEB
|
|
||||||
{
|
|
||||||
char blah[0x7C4];
|
|
||||||
PVOID glDispatchTable[0xA3]; /* 7C4h */
|
|
||||||
PVOID glReserved1[0xA3]; /* A50h */
|
|
||||||
PVOID glReserved2; /* BDCh */
|
|
||||||
PVOID glSectionInfo; /* BE0h */
|
|
||||||
PVOID glSection; /* BE4h */
|
|
||||||
PVOID glTable; /* BE8h */
|
|
||||||
PVOID glCurrentRC; /* BECh */
|
|
||||||
PVOID glContext; /* BF0h */
|
|
||||||
} TEB, *PTEB;
|
|
||||||
|
|
||||||
#pragma warning ( disable : 4035 )
|
|
||||||
static inline PTEB __declspec(naked) NtCurrentTeb(void)
|
|
||||||
{
|
|
||||||
//struct _TEB * pTeb;
|
|
||||||
__asm mov eax, fs:0x18
|
|
||||||
//__asm mov pTeb, eax
|
|
||||||
//return pTeb;
|
|
||||||
};
|
|
||||||
#pragma warning ( default : 4035 )
|
|
||||||
|
|
||||||
#else/*_MSC_VER*/
|
|
||||||
|
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
#endif/*_MSC_VER*/
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN
|
||||||
|
NTAPI
|
||||||
RtlAreAllAccessesGranted(ACCESS_MASK GrantedAccess,
|
RtlAreAllAccessesGranted(ACCESS_MASK GrantedAccess,
|
||||||
ACCESS_MASK DesiredAccess)
|
ACCESS_MASK DesiredAccess)
|
||||||
{
|
{
|
||||||
|
@ -25,41 +26,37 @@ RtlAreAllAccessesGranted(ACCESS_MASK GrantedAccess,
|
||||||
return ((GrantedAccess & DesiredAccess) == DesiredAccess);
|
return ((GrantedAccess & DesiredAccess) == DesiredAccess);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN
|
||||||
|
NTAPI
|
||||||
RtlAreAnyAccessesGranted(ACCESS_MASK GrantedAccess,
|
RtlAreAnyAccessesGranted(ACCESS_MASK GrantedAccess,
|
||||||
ACCESS_MASK DesiredAccess)
|
ACCESS_MASK DesiredAccess)
|
||||||
{
|
{
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
return ((GrantedAccess & DesiredAccess) != 0);
|
return ((GrantedAccess & DesiredAccess) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID
|
||||||
|
NTAPI
|
||||||
RtlMapGenericMask(PACCESS_MASK AccessMask,
|
RtlMapGenericMask(PACCESS_MASK AccessMask,
|
||||||
PGENERIC_MAPPING GenericMapping)
|
PGENERIC_MAPPING GenericMapping)
|
||||||
{
|
{
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
|
|
||||||
if (*AccessMask & GENERIC_READ)
|
if (*AccessMask & GENERIC_READ) *AccessMask |= GenericMapping->GenericRead;
|
||||||
*AccessMask |= GenericMapping->GenericRead;
|
|
||||||
|
|
||||||
if (*AccessMask & GENERIC_WRITE)
|
if (*AccessMask & GENERIC_WRITE) *AccessMask |= GenericMapping->GenericWrite;
|
||||||
*AccessMask |= GenericMapping->GenericWrite;
|
|
||||||
|
|
||||||
if (*AccessMask & GENERIC_EXECUTE)
|
if (*AccessMask & GENERIC_EXECUTE) *AccessMask |= GenericMapping->GenericExecute;
|
||||||
*AccessMask |= GenericMapping->GenericExecute;
|
|
||||||
|
|
||||||
if (*AccessMask & GENERIC_ALL)
|
if (*AccessMask & GENERIC_ALL) *AccessMask |= GenericMapping->GenericAll;
|
||||||
*AccessMask |= GenericMapping->GenericAll;
|
|
||||||
|
|
||||||
*AccessMask &= ~(GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE | GENERIC_ALL);
|
*AccessMask &= ~(GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE | GENERIC_ALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
/* FUNCTIONS ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlFirstFreeAce(PACL Acl,
|
RtlFirstFreeAce(PACL Acl,
|
||||||
PACE* Ace)
|
PACE* Ace)
|
||||||
{
|
{
|
||||||
|
@ -62,7 +62,7 @@ RtlFirstFreeAce(PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetAce(PACL Acl,
|
RtlGetAce(PACL Acl,
|
||||||
ULONG AceIndex,
|
ULONG AceIndex,
|
||||||
PVOID *Ace)
|
PVOID *Ace)
|
||||||
|
@ -150,7 +150,7 @@ RtlpAddKnownAce (PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddAccessAllowedAce (IN OUT PACL Acl,
|
RtlAddAccessAllowedAce (IN OUT PACL Acl,
|
||||||
IN ULONG Revision,
|
IN ULONG Revision,
|
||||||
IN ACCESS_MASK AccessMask,
|
IN ACCESS_MASK AccessMask,
|
||||||
|
@ -170,7 +170,7 @@ RtlAddAccessAllowedAce (IN OUT PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddAccessAllowedAceEx (IN OUT PACL Acl,
|
RtlAddAccessAllowedAceEx (IN OUT PACL Acl,
|
||||||
IN ULONG Revision,
|
IN ULONG Revision,
|
||||||
IN ULONG Flags,
|
IN ULONG Flags,
|
||||||
|
@ -191,7 +191,7 @@ RtlAddAccessAllowedAceEx (IN OUT PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddAccessDeniedAce (PACL Acl,
|
RtlAddAccessDeniedAce (PACL Acl,
|
||||||
ULONG Revision,
|
ULONG Revision,
|
||||||
ACCESS_MASK AccessMask,
|
ACCESS_MASK AccessMask,
|
||||||
|
@ -211,7 +211,7 @@ RtlAddAccessDeniedAce (PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddAccessDeniedAceEx (IN OUT PACL Acl,
|
RtlAddAccessDeniedAceEx (IN OUT PACL Acl,
|
||||||
IN ULONG Revision,
|
IN ULONG Revision,
|
||||||
IN ULONG Flags,
|
IN ULONG Flags,
|
||||||
|
@ -254,7 +254,7 @@ RtlpAddData(PVOID AceList,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddAce(PACL Acl,
|
RtlAddAce(PACL Acl,
|
||||||
ULONG AclRevision,
|
ULONG AclRevision,
|
||||||
ULONG StartingIndex,
|
ULONG StartingIndex,
|
||||||
|
@ -323,7 +323,7 @@ RtlAddAce(PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddAuditAccessAce(PACL Acl,
|
RtlAddAuditAccessAce(PACL Acl,
|
||||||
ULONG Revision,
|
ULONG Revision,
|
||||||
ACCESS_MASK AccessMask,
|
ACCESS_MASK AccessMask,
|
||||||
|
@ -390,7 +390,7 @@ RtlAddAuditAccessAce(PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddAuditAccessAceEx(PACL Acl,
|
RtlAddAuditAccessAceEx(PACL Acl,
|
||||||
ULONG Revision,
|
ULONG Revision,
|
||||||
ULONG Flags,
|
ULONG Flags,
|
||||||
|
@ -477,7 +477,7 @@ RtlpDeleteData(PVOID Ace,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDeleteAce(PACL Acl,
|
RtlDeleteAce(PACL Acl,
|
||||||
ULONG AceIndex)
|
ULONG AceIndex)
|
||||||
{
|
{
|
||||||
|
@ -513,7 +513,7 @@ RtlDeleteAce(PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCreateAcl(PACL Acl,
|
RtlCreateAcl(PACL Acl,
|
||||||
ULONG AclSize,
|
ULONG AclSize,
|
||||||
ULONG AclRevision)
|
ULONG AclRevision)
|
||||||
|
@ -546,7 +546,7 @@ RtlCreateAcl(PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlQueryInformationAcl(PACL Acl,
|
RtlQueryInformationAcl(PACL Acl,
|
||||||
PVOID Information,
|
PVOID Information,
|
||||||
ULONG InformationLength,
|
ULONG InformationLength,
|
||||||
|
@ -615,7 +615,7 @@ RtlQueryInformationAcl(PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetInformationAcl(PACL Acl,
|
RtlSetInformationAcl(PACL Acl,
|
||||||
PVOID Information,
|
PVOID Information,
|
||||||
ULONG InformationLength,
|
ULONG InformationLength,
|
||||||
|
@ -660,7 +660,7 @@ RtlSetInformationAcl(PACL Acl,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlValidAcl (PACL Acl)
|
RtlValidAcl (PACL Acl)
|
||||||
{
|
{
|
||||||
PACE Ace;
|
PACE Ace;
|
||||||
|
|
|
@ -135,7 +135,7 @@ RtlpCheckIntegerAtom(PWSTR AtomName,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCreateAtomTable(IN ULONG TableSize,
|
RtlCreateAtomTable(IN ULONG TableSize,
|
||||||
IN OUT PRTL_ATOM_TABLE *AtomTable)
|
IN OUT PRTL_ATOM_TABLE *AtomTable)
|
||||||
{
|
{
|
||||||
|
@ -183,7 +183,7 @@ RtlCreateAtomTable(IN ULONG TableSize,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDestroyAtomTable(IN PRTL_ATOM_TABLE AtomTable)
|
RtlDestroyAtomTable(IN PRTL_ATOM_TABLE AtomTable)
|
||||||
{
|
{
|
||||||
PRTL_ATOM_TABLE_ENTRY *CurrentBucket, *LastBucket;
|
PRTL_ATOM_TABLE_ENTRY *CurrentBucket, *LastBucket;
|
||||||
|
@ -232,7 +232,7 @@ RtlDestroyAtomTable(IN PRTL_ATOM_TABLE AtomTable)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlEmptyAtomTable(PRTL_ATOM_TABLE AtomTable,
|
RtlEmptyAtomTable(PRTL_ATOM_TABLE AtomTable,
|
||||||
BOOLEAN DeletePinned)
|
BOOLEAN DeletePinned)
|
||||||
{
|
{
|
||||||
|
@ -286,7 +286,7 @@ RtlEmptyAtomTable(PRTL_ATOM_TABLE AtomTable,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddAtomToAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
RtlAddAtomToAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN PWSTR AtomName,
|
IN PWSTR AtomName,
|
||||||
OUT PRTL_ATOM Atom)
|
OUT PRTL_ATOM Atom)
|
||||||
|
@ -406,7 +406,7 @@ end:
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDeleteAtomFromAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
RtlDeleteAtomFromAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN RTL_ATOM Atom)
|
IN RTL_ATOM Atom)
|
||||||
{
|
{
|
||||||
|
@ -478,7 +478,7 @@ RtlDeleteAtomFromAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlLookupAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
RtlLookupAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN PWSTR AtomName,
|
IN PWSTR AtomName,
|
||||||
OUT PRTL_ATOM Atom)
|
OUT PRTL_ATOM Atom)
|
||||||
|
@ -535,7 +535,7 @@ RtlLookupAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlPinAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
RtlPinAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN RTL_ATOM Atom)
|
IN RTL_ATOM Atom)
|
||||||
{
|
{
|
||||||
|
@ -589,7 +589,7 @@ RtlPinAtomInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
* (again EXCLUDING the null terminator) is returned in NameLength, at least
|
* (again EXCLUDING the null terminator) is returned in NameLength, at least
|
||||||
* on Win2k, XP and ReactOS. NT4 will return 0 in that case.
|
* on Win2k, XP and ReactOS. NT4 will return 0 in that case.
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlQueryAtomInAtomTable(PRTL_ATOM_TABLE AtomTable,
|
RtlQueryAtomInAtomTable(PRTL_ATOM_TABLE AtomTable,
|
||||||
RTL_ATOM Atom,
|
RTL_ATOM Atom,
|
||||||
PULONG RefCount,
|
PULONG RefCount,
|
||||||
|
@ -694,7 +694,7 @@ RtlQueryAtomInAtomTable(PRTL_ATOM_TABLE AtomTable,
|
||||||
/*
|
/*
|
||||||
* @private - only used by NtQueryInformationAtom
|
* @private - only used by NtQueryInformationAtom
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlQueryAtomListInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
RtlQueryAtomListInAtomTable(IN PRTL_ATOM_TABLE AtomTable,
|
||||||
IN ULONG MaxAtomCount,
|
IN ULONG MaxAtomCount,
|
||||||
OUT ULONG *AtomCount,
|
OUT ULONG *AtomCount,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
CCHAR STDCALL
|
CCHAR NTAPI
|
||||||
RtlFindLeastSignificantBit(IN ULONGLONG Set)
|
RtlFindLeastSignificantBit(IN ULONGLONG Set)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -37,7 +37,7 @@ RtlFindLeastSignificantBit(IN ULONGLONG Set)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
CCHAR STDCALL
|
CCHAR NTAPI
|
||||||
RtlFindMostSignificantBit(IN ULONGLONG Set)
|
RtlFindMostSignificantBit(IN ULONGLONG Set)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlInitializeBitMap(PRTL_BITMAP BitMapHeader,
|
RtlInitializeBitMap(PRTL_BITMAP BitMapHeader,
|
||||||
PULONG BitMapBuffer,
|
PULONG BitMapBuffer,
|
||||||
ULONG SizeOfBitMap)
|
ULONG SizeOfBitMap)
|
||||||
|
@ -37,7 +37,7 @@ RtlInitializeBitMap(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlAreBitsClear(PRTL_BITMAP BitMapHeader,
|
RtlAreBitsClear(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG StartingIndex,
|
ULONG StartingIndex,
|
||||||
ULONG Length)
|
ULONG Length)
|
||||||
|
@ -77,7 +77,7 @@ RtlAreBitsClear(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlAreBitsSet(PRTL_BITMAP BitMapHeader,
|
RtlAreBitsSet(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG StartingIndex,
|
ULONG StartingIndex,
|
||||||
ULONG Length)
|
ULONG Length)
|
||||||
|
@ -122,7 +122,7 @@ RtlAreBitsSet(PRTL_BITMAP BitMapHeader,
|
||||||
* This function is exercised by the whole page allocator in npool.c
|
* This function is exercised by the whole page allocator in npool.c
|
||||||
* which is how i came across this error.
|
* which is how i came across this error.
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlClearAllBits(IN OUT PRTL_BITMAP BitMapHeader)
|
RtlClearAllBits(IN OUT PRTL_BITMAP BitMapHeader)
|
||||||
{
|
{
|
||||||
memset(BitMapHeader->Buffer,
|
memset(BitMapHeader->Buffer,
|
||||||
|
@ -134,7 +134,7 @@ RtlClearAllBits(IN OUT PRTL_BITMAP BitMapHeader)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlClearBit(PRTL_BITMAP BitMapHeader,
|
RtlClearBit(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG BitNumber)
|
ULONG BitNumber)
|
||||||
{
|
{
|
||||||
|
@ -152,7 +152,7 @@ RtlClearBit(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlClearBits(PRTL_BITMAP BitMapHeader,
|
RtlClearBits(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG StartingIndex,
|
ULONG StartingIndex,
|
||||||
ULONG NumberToClear)
|
ULONG NumberToClear)
|
||||||
|
@ -188,7 +188,7 @@ RtlClearBits(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindClearBits(PRTL_BITMAP BitMapHeader,
|
RtlFindClearBits(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG NumberToFind,
|
ULONG NumberToFind,
|
||||||
ULONG HintIndex)
|
ULONG HintIndex)
|
||||||
|
@ -271,7 +271,7 @@ RtlFindClearBits(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindClearBitsAndSet(PRTL_BITMAP BitMapHeader,
|
RtlFindClearBitsAndSet(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG NumberToFind,
|
ULONG NumberToFind,
|
||||||
ULONG HintIndex)
|
ULONG HintIndex)
|
||||||
|
@ -295,7 +295,7 @@ RtlFindClearBitsAndSet(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindFirstRunClear(PRTL_BITMAP BitMapHeader,
|
RtlFindFirstRunClear(PRTL_BITMAP BitMapHeader,
|
||||||
PULONG StartingIndex)
|
PULONG StartingIndex)
|
||||||
{
|
{
|
||||||
|
@ -359,7 +359,7 @@ RtlFindFirstRunClear(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindClearRuns(PRTL_BITMAP BitMapHeader,
|
RtlFindClearRuns(PRTL_BITMAP BitMapHeader,
|
||||||
PRTL_BITMAP_RUN RunArray,
|
PRTL_BITMAP_RUN RunArray,
|
||||||
ULONG SizeOfRunArray,
|
ULONG SizeOfRunArray,
|
||||||
|
@ -373,7 +373,7 @@ RtlFindClearRuns(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindLastBackwardRunClear(IN PRTL_BITMAP BitMapHeader,
|
RtlFindLastBackwardRunClear(IN PRTL_BITMAP BitMapHeader,
|
||||||
IN ULONG FromIndex,
|
IN ULONG FromIndex,
|
||||||
IN PULONG StartingRunIndex)
|
IN PULONG StartingRunIndex)
|
||||||
|
@ -386,7 +386,7 @@ RtlFindLastBackwardRunClear(IN PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindNextForwardRunClear(IN PRTL_BITMAP BitMapHeader,
|
RtlFindNextForwardRunClear(IN PRTL_BITMAP BitMapHeader,
|
||||||
IN ULONG FromIndex,
|
IN ULONG FromIndex,
|
||||||
IN PULONG StartingRunIndex)
|
IN PULONG StartingRunIndex)
|
||||||
|
@ -399,7 +399,7 @@ RtlFindNextForwardRunClear(IN PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindFirstRunSet(IN PRTL_BITMAP BitMapHeader,
|
RtlFindFirstRunSet(IN PRTL_BITMAP BitMapHeader,
|
||||||
IN PULONG StartingIndex)
|
IN PULONG StartingIndex)
|
||||||
{
|
{
|
||||||
|
@ -463,7 +463,7 @@ RtlFindFirstRunSet(IN PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindLongestRunClear(PRTL_BITMAP BitMapHeader,
|
RtlFindLongestRunClear(PRTL_BITMAP BitMapHeader,
|
||||||
PULONG StartingIndex)
|
PULONG StartingIndex)
|
||||||
{
|
{
|
||||||
|
@ -527,7 +527,7 @@ RtlFindLongestRunClear(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindLongestRunSet(PRTL_BITMAP BitMapHeader,
|
RtlFindLongestRunSet(PRTL_BITMAP BitMapHeader,
|
||||||
PULONG StartingIndex)
|
PULONG StartingIndex)
|
||||||
{
|
{
|
||||||
|
@ -591,7 +591,7 @@ RtlFindLongestRunSet(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindSetBits(PRTL_BITMAP BitMapHeader,
|
RtlFindSetBits(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG NumberToFind,
|
ULONG NumberToFind,
|
||||||
ULONG HintIndex)
|
ULONG HintIndex)
|
||||||
|
@ -675,7 +675,7 @@ RtlFindSetBits(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlFindSetBitsAndClear(PRTL_BITMAP BitMapHeader,
|
RtlFindSetBitsAndClear(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG NumberToFind,
|
ULONG NumberToFind,
|
||||||
ULONG HintIndex)
|
ULONG HintIndex)
|
||||||
|
@ -699,7 +699,7 @@ RtlFindSetBitsAndClear(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlNumberOfClearBits(PRTL_BITMAP BitMapHeader)
|
RtlNumberOfClearBits(PRTL_BITMAP BitMapHeader)
|
||||||
{
|
{
|
||||||
PULONG Ptr;
|
PULONG Ptr;
|
||||||
|
@ -731,7 +731,7 @@ RtlNumberOfClearBits(PRTL_BITMAP BitMapHeader)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlNumberOfSetBits(PRTL_BITMAP BitMapHeader)
|
RtlNumberOfSetBits(PRTL_BITMAP BitMapHeader)
|
||||||
{
|
{
|
||||||
PULONG Ptr;
|
PULONG Ptr;
|
||||||
|
@ -768,7 +768,7 @@ RtlNumberOfSetBits(PRTL_BITMAP BitMapHeader)
|
||||||
* The companion function, RtlClearAllBits, is exercised by the whole page
|
* The companion function, RtlClearAllBits, is exercised by the whole page
|
||||||
* allocator in npool.c which is how i came across this error.
|
* allocator in npool.c which is how i came across this error.
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSetAllBits(IN OUT PRTL_BITMAP BitMapHeader)
|
RtlSetAllBits(IN OUT PRTL_BITMAP BitMapHeader)
|
||||||
{
|
{
|
||||||
memset(BitMapHeader->Buffer,
|
memset(BitMapHeader->Buffer,
|
||||||
|
@ -780,7 +780,7 @@ RtlSetAllBits(IN OUT PRTL_BITMAP BitMapHeader)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSetBit(PRTL_BITMAP BitMapHeader,
|
RtlSetBit(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG BitNumber)
|
ULONG BitNumber)
|
||||||
{
|
{
|
||||||
|
@ -798,7 +798,7 @@ RtlSetBit(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSetBits(PRTL_BITMAP BitMapHeader,
|
RtlSetBits(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG StartingIndex,
|
ULONG StartingIndex,
|
||||||
ULONG NumberToSet)
|
ULONG NumberToSet)
|
||||||
|
@ -834,7 +834,7 @@ RtlSetBits(PRTL_BITMAP BitMapHeader,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlTestBit(PRTL_BITMAP BitMapHeader,
|
RtlTestBit(PRTL_BITMAP BitMapHeader,
|
||||||
ULONG BitNumber)
|
ULONG BitNumber)
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCreateSystemVolumeInformationFolder(
|
RtlCreateSystemVolumeInformationFolder(
|
||||||
IN PUNICODE_STRING VolumeRootPath
|
IN PUNICODE_STRING VolumeRootPath
|
||||||
)
|
)
|
||||||
|
@ -31,7 +31,7 @@ RtlCreateSystemVolumeInformationFolder(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlGetSetBootStatusData(
|
RtlGetSetBootStatusData(
|
||||||
HANDLE Filehandle,
|
HANDLE Filehandle,
|
||||||
BOOLEAN WriteMode,
|
BOOLEAN WriteMode,
|
||||||
|
@ -49,7 +49,7 @@ RtlGetSetBootStatusData(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLockBootStatusData(
|
RtlLockBootStatusData(
|
||||||
HANDLE Filehandle
|
HANDLE Filehandle
|
||||||
)
|
)
|
||||||
|
@ -62,7 +62,7 @@ RtlLockBootStatusData(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUnlockBootStatusData(
|
RtlUnlockBootStatusData(
|
||||||
HANDLE Filehandle
|
HANDLE Filehandle
|
||||||
)
|
)
|
||||||
|
|
|
@ -62,7 +62,7 @@ RtlpWorkSpaceSizeLZNT1(USHORT Engine,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCompressBuffer(IN USHORT CompressionFormatAndEngine,
|
RtlCompressBuffer(IN USHORT CompressionFormatAndEngine,
|
||||||
IN PUCHAR UncompressedBuffer,
|
IN PUCHAR UncompressedBuffer,
|
||||||
IN ULONG UncompressedBufferSize,
|
IN ULONG UncompressedBufferSize,
|
||||||
|
@ -96,7 +96,7 @@ RtlCompressBuffer(IN USHORT CompressionFormatAndEngine,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCompressChunks(IN PUCHAR UncompressedBuffer,
|
RtlCompressChunks(IN PUCHAR UncompressedBuffer,
|
||||||
IN ULONG UncompressedBufferSize,
|
IN ULONG UncompressedBufferSize,
|
||||||
OUT PUCHAR CompressedBuffer,
|
OUT PUCHAR CompressedBuffer,
|
||||||
|
@ -112,7 +112,7 @@ RtlCompressChunks(IN PUCHAR UncompressedBuffer,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDecompressBuffer(IN USHORT CompressionFormat,
|
RtlDecompressBuffer(IN USHORT CompressionFormat,
|
||||||
OUT PUCHAR UncompressedBuffer,
|
OUT PUCHAR UncompressedBuffer,
|
||||||
IN ULONG UncompressedBufferSize,
|
IN ULONG UncompressedBufferSize,
|
||||||
|
@ -127,7 +127,7 @@ RtlDecompressBuffer(IN USHORT CompressionFormat,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDecompressChunks(OUT PUCHAR UncompressedBuffer,
|
RtlDecompressChunks(OUT PUCHAR UncompressedBuffer,
|
||||||
IN ULONG UncompressedBufferSize,
|
IN ULONG UncompressedBufferSize,
|
||||||
IN PUCHAR CompressedBuffer,
|
IN PUCHAR CompressedBuffer,
|
||||||
|
@ -143,7 +143,7 @@ RtlDecompressChunks(OUT PUCHAR UncompressedBuffer,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDecompressFragment(IN USHORT CompressionFormat,
|
RtlDecompressFragment(IN USHORT CompressionFormat,
|
||||||
OUT PUCHAR UncompressedFragment,
|
OUT PUCHAR UncompressedFragment,
|
||||||
IN ULONG UncompressedFragmentSize,
|
IN ULONG UncompressedFragmentSize,
|
||||||
|
@ -160,7 +160,7 @@ RtlDecompressFragment(IN USHORT CompressionFormat,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDescribeChunk(IN USHORT CompressionFormat,
|
RtlDescribeChunk(IN USHORT CompressionFormat,
|
||||||
IN OUT PUCHAR *CompressedBuffer,
|
IN OUT PUCHAR *CompressedBuffer,
|
||||||
IN PUCHAR EndOfCompressedBufferPlus1,
|
IN PUCHAR EndOfCompressedBufferPlus1,
|
||||||
|
@ -174,7 +174,7 @@ RtlDescribeChunk(IN USHORT CompressionFormat,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetCompressionWorkSpaceSize(IN USHORT CompressionFormatAndEngine,
|
RtlGetCompressionWorkSpaceSize(IN USHORT CompressionFormatAndEngine,
|
||||||
OUT PULONG CompressBufferAndWorkSpaceSize,
|
OUT PULONG CompressBufferAndWorkSpaceSize,
|
||||||
OUT PULONG CompressFragmentWorkSpaceSize)
|
OUT PULONG CompressFragmentWorkSpaceSize)
|
||||||
|
@ -199,7 +199,7 @@ RtlGetCompressionWorkSpaceSize(IN USHORT CompressionFormatAndEngine,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlReserveChunk(IN USHORT CompressionFormat,
|
RtlReserveChunk(IN USHORT CompressionFormat,
|
||||||
IN OUT PUCHAR *CompressedBuffer,
|
IN OUT PUCHAR *CompressedBuffer,
|
||||||
IN PUCHAR EndOfCompressedBufferPlus1,
|
IN PUCHAR EndOfCompressedBufferPlus1,
|
||||||
|
|
|
@ -84,7 +84,7 @@ static const ULONG CrcTable[256] =
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlComputeCrc32 (IN ULONG Initial,
|
RtlComputeCrc32 (IN ULONG Initial,
|
||||||
IN PUCHAR Data,
|
IN PUCHAR Data,
|
||||||
IN ULONG Length)
|
IN ULONG Length)
|
||||||
|
|
|
@ -40,7 +40,7 @@ static BOOLEAN RtlpDebugInfoFreeList[MAX_STATIC_CS_DEBUG_OBJECTS];
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpCreateCriticalSectionSem(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlpCreateCriticalSectionSem(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
HANDLE hEvent = CriticalSection->LockSemaphore;
|
HANDLE hEvent = CriticalSection->LockSemaphore;
|
||||||
|
@ -94,7 +94,7 @@ RtlpCreateCriticalSectionSem(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpWaitForCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlpWaitForCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
@ -175,7 +175,7 @@ RtlpWaitForCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpUnWaitCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlpUnWaitCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
@ -218,7 +218,7 @@ RtlpUnWaitCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpInitDeferedCriticalSection(VOID)
|
RtlpInitDeferedCriticalSection(VOID)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ RtlpInitDeferedCriticalSection(VOID)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
PRTL_CRITICAL_SECTION_DEBUG
|
PRTL_CRITICAL_SECTION_DEBUG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpAllocateDebugInfo(VOID)
|
RtlpAllocateDebugInfo(VOID)
|
||||||
{
|
{
|
||||||
ULONG i;
|
ULONG i;
|
||||||
|
@ -293,7 +293,7 @@ RtlpAllocateDebugInfo(VOID)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpFreeDebugInfo(PRTL_CRITICAL_SECTION_DEBUG DebugInfo)
|
RtlpFreeDebugInfo(PRTL_CRITICAL_SECTION_DEBUG DebugInfo)
|
||||||
{
|
{
|
||||||
ULONG EntryId;
|
ULONG EntryId;
|
||||||
|
@ -341,7 +341,7 @@ RtlpFreeDebugInfo(PRTL_CRITICAL_SECTION_DEBUG DebugInfo)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlDeleteCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
|
@ -393,7 +393,7 @@ RtlDeleteCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
DWORD
|
DWORD
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlSetCriticalSectionSpinCount(PRTL_CRITICAL_SECTION CriticalSection,
|
RtlSetCriticalSectionSpinCount(PRTL_CRITICAL_SECTION CriticalSection,
|
||||||
ULONG SpinCount)
|
ULONG SpinCount)
|
||||||
{
|
{
|
||||||
|
@ -421,7 +421,7 @@ RtlSetCriticalSectionSpinCount(PRTL_CRITICAL_SECTION CriticalSection,
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnterCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlEnterCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
HANDLE Thread = (HANDLE)NtCurrentTeb()->Cid.UniqueThread;
|
HANDLE Thread = (HANDLE)NtCurrentTeb()->Cid.UniqueThread;
|
||||||
|
@ -478,7 +478,7 @@ RtlEnterCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitializeCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlInitializeCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
/* Call the Main Function */
|
/* Call the Main Function */
|
||||||
|
@ -504,7 +504,7 @@ RtlInitializeCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitializeCriticalSectionAndSpinCount(PRTL_CRITICAL_SECTION CriticalSection,
|
RtlInitializeCriticalSectionAndSpinCount(PRTL_CRITICAL_SECTION CriticalSection,
|
||||||
ULONG SpinCount)
|
ULONG SpinCount)
|
||||||
{
|
{
|
||||||
|
@ -590,7 +590,7 @@ RtlInitializeCriticalSectionAndSpinCount(PRTL_CRITICAL_SECTION CriticalSection,
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
@ -648,7 +648,7 @@ RtlLeaveCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
*
|
*
|
||||||
*--*/
|
*--*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlTryEnterCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
RtlTryEnterCriticalSection(PRTL_CRITICAL_SECTION CriticalSection)
|
||||||
{
|
{
|
||||||
/* Try to take control */
|
/* Try to take control */
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PDEBUG_BUFFER STDCALL
|
PDEBUG_BUFFER NTAPI
|
||||||
RtlCreateQueryDebugBuffer(IN ULONG Size,
|
RtlCreateQueryDebugBuffer(IN ULONG Size,
|
||||||
IN BOOLEAN EventPair)
|
IN BOOLEAN EventPair)
|
||||||
{
|
{
|
||||||
|
@ -46,7 +46,7 @@ RtlCreateQueryDebugBuffer(IN ULONG Size,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDestroyQueryDebugBuffer(IN PDEBUG_BUFFER Buf)
|
RtlDestroyQueryDebugBuffer(IN PDEBUG_BUFFER Buf)
|
||||||
{
|
{
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
|
@ -69,7 +69,7 @@ RtlDestroyQueryDebugBuffer(IN PDEBUG_BUFFER Buf)
|
||||||
* Based on lib/epsapi/enum/modules.c by KJK::Hyperion.
|
* Based on lib/epsapi/enum/modules.c by KJK::Hyperion.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlpQueryRemoteProcessModules(HANDLE ProcessHandle,
|
RtlpQueryRemoteProcessModules(HANDLE ProcessHandle,
|
||||||
IN PMODULE_INFORMATION ModuleInformation OPTIONAL,
|
IN PMODULE_INFORMATION ModuleInformation OPTIONAL,
|
||||||
IN ULONG Size OPTIONAL,
|
IN ULONG Size OPTIONAL,
|
||||||
|
@ -227,7 +227,7 @@ RtlpQueryRemoteProcessModules(HANDLE ProcessHandle,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlQueryProcessDebugInformation(IN ULONG ProcessId,
|
RtlQueryProcessDebugInformation(IN ULONG ProcessId,
|
||||||
IN ULONG DebugInfoMask,
|
IN ULONG DebugInfoMask,
|
||||||
IN OUT PDEBUG_BUFFER Buf)
|
IN OUT PDEBUG_BUFFER Buf)
|
||||||
|
|
|
@ -269,7 +269,7 @@ DbgPrintReturnControlC(PCH Format,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
DbgPrompt(PCH OutputString,
|
DbgPrompt(PCH OutputString,
|
||||||
PCH InputString,
|
PCH InputString,
|
||||||
USHORT InputSize)
|
USHORT InputSize)
|
||||||
|
@ -293,7 +293,7 @@ DbgPrompt(PCH OutputString,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
DbgQueryDebugFilterState(IN ULONG ComponentId,
|
DbgQueryDebugFilterState(IN ULONG ComponentId,
|
||||||
IN ULONG Level)
|
IN ULONG Level)
|
||||||
{
|
{
|
||||||
|
@ -305,7 +305,7 @@ DbgQueryDebugFilterState(IN ULONG ComponentId,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
DbgSetDebugFilterState(IN ULONG ComponentId,
|
DbgSetDebugFilterState(IN ULONG ComponentId,
|
||||||
IN ULONG Level,
|
IN ULONG Level,
|
||||||
IN BOOLEAN State)
|
IN BOOLEAN State)
|
||||||
|
@ -318,7 +318,7 @@ DbgSetDebugFilterState(IN ULONG ComponentId,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
DbgLoadImageSymbols(IN PUNICODE_STRING Name,
|
DbgLoadImageSymbols(IN PUNICODE_STRING Name,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
IN ULONG Unknown3)
|
IN ULONG Unknown3)
|
||||||
|
|
|
@ -59,7 +59,7 @@ RtlpGetIndexLength(ULONG Index)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlGenerate8dot3Name(IN PUNICODE_STRING Name,
|
RtlGenerate8dot3Name(IN PUNICODE_STRING Name,
|
||||||
IN BOOLEAN AllowExtendedCharacters,
|
IN BOOLEAN AllowExtendedCharacters,
|
||||||
IN OUT PGENERATE_NAME_CONTEXT Context,
|
IN OUT PGENERATE_NAME_CONTEXT Context,
|
||||||
|
@ -232,7 +232,7 @@ RtlGenerate8dot3Name(IN PUNICODE_STRING Name,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlIsNameLegalDOS8Dot3(IN PUNICODE_STRING UnicodeName,
|
RtlIsNameLegalDOS8Dot3(IN PUNICODE_STRING UnicodeName,
|
||||||
IN PANSI_STRING AnsiName,
|
IN PANSI_STRING AnsiName,
|
||||||
OUT PBOOLEAN SpacesFound)
|
OUT PBOOLEAN SpacesFound)
|
||||||
|
@ -316,7 +316,7 @@ RtlIsNameLegalDOS8Dot3(IN PUNICODE_STRING UnicodeName,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlVolumeDeviceToDosName(
|
RtlVolumeDeviceToDosName(
|
||||||
IN PVOID VolumeDeviceObject,
|
IN PVOID VolumeDeviceObject,
|
||||||
OUT PUNICODE_STRING DosName
|
OUT PUNICODE_STRING DosName
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
/* FUNCTIONS ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlRunDecodeUnicodeString (IN UCHAR Hash,
|
RtlRunDecodeUnicodeString (IN UCHAR Hash,
|
||||||
IN OUT PUNICODE_STRING String)
|
IN OUT PUNICODE_STRING String)
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@ RtlRunDecodeUnicodeString (IN UCHAR Hash,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlRunEncodeUnicodeString (IN OUT PUCHAR Hash,
|
RtlRunEncodeUnicodeString (IN OUT PUCHAR Hash,
|
||||||
IN OUT PUNICODE_STRING String)
|
IN OUT PUNICODE_STRING String)
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
PPEB STDCALL RtlpCurrentPeb(VOID);
|
PPEB NTAPI RtlpCurrentPeb(VOID);
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCreateEnvironment(BOOLEAN Inherit,
|
RtlCreateEnvironment(BOOLEAN Inherit,
|
||||||
PWSTR *Environment)
|
PWSTR *Environment)
|
||||||
{
|
{
|
||||||
|
@ -93,7 +93,7 @@ RtlCreateEnvironment(BOOLEAN Inherit,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlDestroyEnvironment(PWSTR Environment)
|
RtlDestroyEnvironment(PWSTR Environment)
|
||||||
{
|
{
|
||||||
ULONG Size = 0;
|
ULONG Size = 0;
|
||||||
|
@ -108,7 +108,7 @@ RtlDestroyEnvironment(PWSTR Environment)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlExpandEnvironmentStrings_U(PWSTR Environment,
|
RtlExpandEnvironmentStrings_U(PWSTR Environment,
|
||||||
PUNICODE_STRING Source,
|
PUNICODE_STRING Source,
|
||||||
PUNICODE_STRING Destination,
|
PUNICODE_STRING Destination,
|
||||||
|
@ -241,7 +241,7 @@ RtlExpandEnvironmentStrings_U(PWSTR Environment,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSetCurrentEnvironment(PWSTR NewEnvironment,
|
RtlSetCurrentEnvironment(PWSTR NewEnvironment,
|
||||||
PWSTR *OldEnvironment)
|
PWSTR *OldEnvironment)
|
||||||
{
|
{
|
||||||
|
@ -265,7 +265,7 @@ RtlSetCurrentEnvironment(PWSTR NewEnvironment,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetEnvironmentVariable(PWSTR *Environment,
|
RtlSetEnvironmentVariable(PWSTR *Environment,
|
||||||
PUNICODE_STRING Name,
|
PUNICODE_STRING Name,
|
||||||
PUNICODE_STRING Value)
|
PUNICODE_STRING Value)
|
||||||
|
@ -488,7 +488,7 @@ found:
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlQueryEnvironmentVariable_U(PWSTR Environment,
|
RtlQueryEnvironmentVariable_U(PWSTR Environment,
|
||||||
PUNICODE_STRING Name,
|
PUNICODE_STRING Name,
|
||||||
PUNICODE_STRING Value)
|
PUNICODE_STRING Value)
|
||||||
|
|
|
@ -813,7 +813,7 @@ static const ERROR_TABLE ErrorTable[] =
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlAssert(PVOID FailedAssertion,
|
RtlAssert(PVOID FailedAssertion,
|
||||||
PVOID FileName,
|
PVOID FileName,
|
||||||
ULONG LineNumber,
|
ULONG LineNumber,
|
||||||
|
@ -842,7 +842,7 @@ RtlAssert(PVOID FailedAssertion,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlMapSecurityErrorToNtStatus(
|
RtlMapSecurityErrorToNtStatus(
|
||||||
IN ULONG SecurityError
|
IN ULONG SecurityError
|
||||||
)
|
)
|
||||||
|
@ -870,7 +870,7 @@ RtlMapSecurityErrorToNtStatus(
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
DWORD STDCALL
|
DWORD NTAPI
|
||||||
RtlNtStatusToDosErrorNoTeb(IN NTSTATUS Status)
|
RtlNtStatusToDosErrorNoTeb(IN NTSTATUS Status)
|
||||||
{
|
{
|
||||||
PERROR_TABLE Table = (PERROR_TABLE)ErrorTable;
|
PERROR_TABLE Table = (PERROR_TABLE)ErrorTable;
|
||||||
|
@ -932,7 +932,7 @@ RtlNtStatusToDosErrorNoTeb(IN NTSTATUS Status)
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
DWORD STDCALL
|
DWORD NTAPI
|
||||||
RtlNtStatusToDosError(IN NTSTATUS Status)
|
RtlNtStatusToDosError(IN NTSTATUS Status)
|
||||||
{
|
{
|
||||||
PTEB Teb = NtCurrentTeb ();
|
PTEB Teb = NtCurrentTeb ();
|
||||||
|
@ -966,7 +966,7 @@ RtlNtStatusToDosError(IN NTSTATUS Status)
|
||||||
* REVISIONS
|
* REVISIONS
|
||||||
* 1999-11-30 ea
|
* 1999-11-30 ea
|
||||||
*/
|
*/
|
||||||
INT STDCALL
|
INT NTAPI
|
||||||
RtlNtStatusToPsxErrno(IN NTSTATUS Status)
|
RtlNtStatusToPsxErrno(IN NTSTATUS Status)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
|
@ -981,7 +981,7 @@ RtlNtStatusToPsxErrno(IN NTSTATUS Status)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetLastNtStatus(VOID)
|
RtlGetLastNtStatus(VOID)
|
||||||
{
|
{
|
||||||
return NtCurrentTeb()->LastStatusValue;
|
return NtCurrentTeb()->LastStatusValue;
|
||||||
|
@ -991,7 +991,7 @@ RtlGetLastNtStatus(VOID)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlGetLastWin32Error(VOID)
|
RtlGetLastWin32Error(VOID)
|
||||||
{
|
{
|
||||||
return NtCurrentTeb()->LastErrorValue;
|
return NtCurrentTeb()->LastErrorValue;
|
||||||
|
@ -1001,7 +1001,7 @@ RtlGetLastWin32Error(VOID)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSetLastWin32Error(IN ULONG Error)
|
RtlSetLastWin32Error(IN ULONG Error)
|
||||||
{
|
{
|
||||||
NtCurrentTeb()->LastErrorValue = Error;
|
NtCurrentTeb()->LastErrorValue = Error;
|
||||||
|
@ -1011,7 +1011,7 @@ RtlSetLastWin32Error(IN ULONG Error)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSetLastWin32ErrorAndNtStatusFromNtStatus(IN NTSTATUS Status)
|
RtlSetLastWin32ErrorAndNtStatusFromNtStatus(IN NTSTATUS Status)
|
||||||
{
|
{
|
||||||
NtCurrentTeb()->LastErrorValue = RtlNtStatusToDosError(Status);
|
NtCurrentTeb()->LastErrorValue = RtlNtStatusToDosError(Status);
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
|
RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
|
||||||
{
|
{
|
||||||
CONTEXT Context;
|
CONTEXT Context;
|
||||||
|
@ -67,7 +67,7 @@ RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlRaiseStatus(NTSTATUS Status)
|
RtlRaiseStatus(NTSTATUS Status)
|
||||||
{
|
{
|
||||||
EXCEPTION_RECORD ExceptionRecord;
|
EXCEPTION_RECORD ExceptionRecord;
|
||||||
|
@ -113,7 +113,7 @@ RtlRaiseStatus(NTSTATUS Status)
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
USHORT
|
USHORT
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCaptureStackBackTrace(IN ULONG FramesToSkip,
|
RtlCaptureStackBackTrace(IN ULONG FramesToSkip,
|
||||||
IN ULONG FramesToCapture,
|
IN ULONG FramesToCapture,
|
||||||
OUT PVOID *BackTrace,
|
OUT PVOID *BackTrace,
|
||||||
|
@ -127,7 +127,7 @@ RtlCaptureStackBackTrace(IN ULONG FramesToSkip,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlWalkFrameChain(OUT PVOID *Callers,
|
RtlWalkFrameChain(OUT PVOID *Callers,
|
||||||
IN ULONG Count,
|
IN ULONG Count,
|
||||||
IN ULONG Flags)
|
IN ULONG Flags)
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteElementGenericTable (
|
RtlDeleteElementGenericTable (
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
PVOID Buffer
|
PVOID Buffer
|
||||||
|
@ -32,7 +32,7 @@ RtlDeleteElementGenericTable (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteElementGenericTableAvl (
|
RtlDeleteElementGenericTableAvl (
|
||||||
PRTL_AVL_TABLE Table,
|
PRTL_AVL_TABLE Table,
|
||||||
PVOID Buffer
|
PVOID Buffer
|
||||||
|
@ -46,7 +46,7 @@ RtlDeleteElementGenericTableAvl (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnumerateGenericTable (
|
RtlEnumerateGenericTable (
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
BOOLEAN Restart
|
BOOLEAN Restart
|
||||||
|
@ -60,7 +60,7 @@ RtlEnumerateGenericTable (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnumerateGenericTableAvl (
|
RtlEnumerateGenericTableAvl (
|
||||||
PRTL_AVL_TABLE Table,
|
PRTL_AVL_TABLE Table,
|
||||||
BOOLEAN Restart
|
BOOLEAN Restart
|
||||||
|
@ -74,7 +74,7 @@ RtlEnumerateGenericTableAvl (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnumerateGenericTableLikeADirectory (
|
RtlEnumerateGenericTableLikeADirectory (
|
||||||
IN PRTL_AVL_TABLE Table,
|
IN PRTL_AVL_TABLE Table,
|
||||||
IN PRTL_AVL_MATCH_FUNCTION MatchFunction,
|
IN PRTL_AVL_MATCH_FUNCTION MatchFunction,
|
||||||
|
@ -93,7 +93,7 @@ RtlEnumerateGenericTableLikeADirectory (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnumerateGenericTableWithoutSplaying (
|
RtlEnumerateGenericTableWithoutSplaying (
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
PVOID *RestartKey
|
PVOID *RestartKey
|
||||||
|
@ -107,7 +107,7 @@ RtlEnumerateGenericTableWithoutSplaying (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnumerateGenericTableWithoutSplayingAvl (
|
RtlEnumerateGenericTableWithoutSplayingAvl (
|
||||||
PRTL_AVL_TABLE Table,
|
PRTL_AVL_TABLE Table,
|
||||||
PVOID *RestartKey
|
PVOID *RestartKey
|
||||||
|
@ -121,7 +121,7 @@ RtlEnumerateGenericTableWithoutSplayingAvl (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlGetElementGenericTable(
|
RtlGetElementGenericTable(
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
ULONG I
|
ULONG I
|
||||||
|
@ -135,7 +135,7 @@ RtlGetElementGenericTable(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlGetElementGenericTableAvl (
|
RtlGetElementGenericTableAvl (
|
||||||
PRTL_AVL_TABLE Table,
|
PRTL_AVL_TABLE Table,
|
||||||
ULONG I
|
ULONG I
|
||||||
|
@ -149,7 +149,7 @@ RtlGetElementGenericTableAvl (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitializeGenericTable (
|
RtlInitializeGenericTable (
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
PRTL_GENERIC_COMPARE_ROUTINE CompareRoutine,
|
PRTL_GENERIC_COMPARE_ROUTINE CompareRoutine,
|
||||||
|
@ -165,7 +165,7 @@ RtlInitializeGenericTable (
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlInitializeGenericTableAvl(IN OUT PRTL_AVL_TABLE Table,
|
RtlInitializeGenericTableAvl(IN OUT PRTL_AVL_TABLE Table,
|
||||||
IN PRTL_AVL_COMPARE_ROUTINE CompareRoutine,
|
IN PRTL_AVL_COMPARE_ROUTINE CompareRoutine,
|
||||||
IN PRTL_AVL_ALLOCATE_ROUTINE AllocateRoutine,
|
IN PRTL_AVL_ALLOCATE_ROUTINE AllocateRoutine,
|
||||||
|
@ -187,7 +187,7 @@ RtlInitializeGenericTableAvl(IN OUT PRTL_AVL_TABLE Table,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInsertElementGenericTable (
|
RtlInsertElementGenericTable (
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
PVOID Buffer,
|
PVOID Buffer,
|
||||||
|
@ -203,7 +203,7 @@ RtlInsertElementGenericTable (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInsertElementGenericTableAvl (
|
RtlInsertElementGenericTableAvl (
|
||||||
PRTL_AVL_TABLE Table,
|
PRTL_AVL_TABLE Table,
|
||||||
PVOID Buffer,
|
PVOID Buffer,
|
||||||
|
@ -219,7 +219,7 @@ RtlInsertElementGenericTableAvl (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInsertElementGenericTableFull (
|
RtlInsertElementGenericTableFull (
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
PVOID Buffer,
|
PVOID Buffer,
|
||||||
|
@ -237,7 +237,7 @@ RtlInsertElementGenericTableFull (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInsertElementGenericTableFullAvl (
|
RtlInsertElementGenericTableFullAvl (
|
||||||
PRTL_AVL_TABLE Table,
|
PRTL_AVL_TABLE Table,
|
||||||
PVOID Buffer,
|
PVOID Buffer,
|
||||||
|
@ -256,7 +256,7 @@ RtlInsertElementGenericTableFullAvl (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIsGenericTableEmpty (
|
RtlIsGenericTableEmpty (
|
||||||
PRTL_GENERIC_TABLE Table
|
PRTL_GENERIC_TABLE Table
|
||||||
)
|
)
|
||||||
|
@ -269,7 +269,7 @@ RtlIsGenericTableEmpty (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIsGenericTableEmptyAvl (
|
RtlIsGenericTableEmptyAvl (
|
||||||
PRTL_AVL_TABLE Table
|
PRTL_AVL_TABLE Table
|
||||||
)
|
)
|
||||||
|
@ -283,7 +283,7 @@ RtlIsGenericTableEmptyAvl (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLookupElementGenericTable (
|
RtlLookupElementGenericTable (
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
PVOID Buffer
|
PVOID Buffer
|
||||||
|
@ -297,7 +297,7 @@ RtlLookupElementGenericTable (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLookupElementGenericTableAvl (
|
RtlLookupElementGenericTableAvl (
|
||||||
PRTL_AVL_TABLE Table,
|
PRTL_AVL_TABLE Table,
|
||||||
PVOID Buffer
|
PVOID Buffer
|
||||||
|
@ -311,7 +311,7 @@ RtlLookupElementGenericTableAvl (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLookupElementGenericTableFull (
|
RtlLookupElementGenericTableFull (
|
||||||
PRTL_GENERIC_TABLE Table,
|
PRTL_GENERIC_TABLE Table,
|
||||||
PVOID Buffer,
|
PVOID Buffer,
|
||||||
|
@ -327,7 +327,7 @@ RtlLookupElementGenericTableFull (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLookupElementGenericTableFullAvl (
|
RtlLookupElementGenericTableFullAvl (
|
||||||
PRTL_AVL_TABLE Table,
|
PRTL_AVL_TABLE Table,
|
||||||
PVOID Buffer,
|
PVOID Buffer,
|
||||||
|
@ -343,7 +343,7 @@ RtlLookupElementGenericTableFullAvl (
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlNumberGenericTableElements(IN PRTL_GENERIC_TABLE Table)
|
RtlNumberGenericTableElements(IN PRTL_GENERIC_TABLE Table)
|
||||||
{
|
{
|
||||||
return Table->NumberGenericTableElements;
|
return Table->NumberGenericTableElements;
|
||||||
|
@ -353,7 +353,7 @@ RtlNumberGenericTableElements(IN PRTL_GENERIC_TABLE Table)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlNumberGenericTableElementsAvl(IN PRTL_AVL_TABLE Table)
|
RtlNumberGenericTableElementsAvl(IN PRTL_AVL_TABLE Table)
|
||||||
{
|
{
|
||||||
return Table->NumberGenericTableElements;
|
return Table->NumberGenericTableElements;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
/* GLOBALS ******************************************************************/
|
/* GLOBALS ******************************************************************/
|
||||||
|
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlInitializeHandleTable(ULONG TableSize,
|
RtlInitializeHandleTable(ULONG TableSize,
|
||||||
ULONG HandleSize,
|
ULONG HandleSize,
|
||||||
PRTL_HANDLE_TABLE HandleTable)
|
PRTL_HANDLE_TABLE HandleTable)
|
||||||
|
@ -31,7 +31,7 @@ RtlInitializeHandleTable(ULONG TableSize,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlDestroyHandleTable(PRTL_HANDLE_TABLE HandleTable)
|
RtlDestroyHandleTable(PRTL_HANDLE_TABLE HandleTable)
|
||||||
{
|
{
|
||||||
PVOID ArrayPointer;
|
PVOID ArrayPointer;
|
||||||
|
@ -53,7 +53,7 @@ RtlDestroyHandleTable(PRTL_HANDLE_TABLE HandleTable)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PRTL_HANDLE_TABLE_ENTRY STDCALL
|
PRTL_HANDLE_TABLE_ENTRY NTAPI
|
||||||
RtlAllocateHandle(PRTL_HANDLE_TABLE HandleTable,
|
RtlAllocateHandle(PRTL_HANDLE_TABLE HandleTable,
|
||||||
PULONG Index)
|
PULONG Index)
|
||||||
{
|
{
|
||||||
|
@ -121,7 +121,7 @@ RtlAllocateHandle(PRTL_HANDLE_TABLE HandleTable,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlFreeHandle(PRTL_HANDLE_TABLE HandleTable,
|
RtlFreeHandle(PRTL_HANDLE_TABLE HandleTable,
|
||||||
PRTL_HANDLE_TABLE_ENTRY Handle)
|
PRTL_HANDLE_TABLE_ENTRY Handle)
|
||||||
{
|
{
|
||||||
|
@ -145,7 +145,7 @@ RtlFreeHandle(PRTL_HANDLE_TABLE HandleTable,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlIsValidHandle(PRTL_HANDLE_TABLE HandleTable,
|
RtlIsValidHandle(PRTL_HANDLE_TABLE HandleTable,
|
||||||
PRTL_HANDLE_TABLE_ENTRY Handle)
|
PRTL_HANDLE_TABLE_ENTRY Handle)
|
||||||
{
|
{
|
||||||
|
@ -161,7 +161,7 @@ RtlIsValidHandle(PRTL_HANDLE_TABLE HandleTable,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlIsValidIndexHandle(IN PRTL_HANDLE_TABLE HandleTable,
|
RtlIsValidIndexHandle(IN PRTL_HANDLE_TABLE HandleTable,
|
||||||
IN ULONG Index,
|
IN ULONG Index,
|
||||||
OUT PRTL_HANDLE_TABLE_ENTRY *Handle)
|
OUT PRTL_HANDLE_TABLE_ENTRY *Handle)
|
||||||
|
|
|
@ -286,7 +286,7 @@ HEAP_FindSubHeap(HEAP *heap, /* [in] Heap pointer */
|
||||||
*
|
*
|
||||||
* Make sure the heap storage is committed up to (not including) ptr.
|
* Make sure the heap storage is committed up to (not including) ptr.
|
||||||
*/
|
*/
|
||||||
static inline BOOLEAN
|
static __inline BOOLEAN
|
||||||
HEAP_Commit(SUBHEAP *subheap,
|
HEAP_Commit(SUBHEAP *subheap,
|
||||||
PVOID ptr,
|
PVOID ptr,
|
||||||
ULONG flags)
|
ULONG flags)
|
||||||
|
@ -1078,7 +1078,7 @@ static BOOLEAN HEAP_IsRealArena(
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
HANDLE STDCALL
|
HANDLE NTAPI
|
||||||
RtlCreateHeap(ULONG flags,
|
RtlCreateHeap(ULONG flags,
|
||||||
PVOID BaseAddress,
|
PVOID BaseAddress,
|
||||||
SIZE_T maxSize,
|
SIZE_T maxSize,
|
||||||
|
@ -1130,7 +1130,7 @@ RtlCreateHeap(ULONG flags,
|
||||||
* Success: A NULL HANDLE, if heap is NULL or it was destroyed
|
* Success: A NULL HANDLE, if heap is NULL or it was destroyed
|
||||||
* Failure: The Heap handle, if heap is the process heap.
|
* Failure: The Heap handle, if heap is the process heap.
|
||||||
*/
|
*/
|
||||||
HANDLE STDCALL
|
HANDLE NTAPI
|
||||||
RtlDestroyHeap(HANDLE heap) /* [in] Handle of heap */
|
RtlDestroyHeap(HANDLE heap) /* [in] Handle of heap */
|
||||||
{
|
{
|
||||||
HEAP *heapPtr = HEAP_GetPtr( heap );
|
HEAP *heapPtr = HEAP_GetPtr( heap );
|
||||||
|
@ -1186,7 +1186,7 @@ RtlDestroyHeap(HANDLE heap) /* [in] Handle of heap */
|
||||||
* 0x7d030f60--invalid flags in RtlHeapAllocate
|
* 0x7d030f60--invalid flags in RtlHeapAllocate
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PVOID STDCALL
|
PVOID NTAPI
|
||||||
RtlAllocateHeap(HANDLE heap, /* [in] Handle of private heap block */
|
RtlAllocateHeap(HANDLE heap, /* [in] Handle of private heap block */
|
||||||
ULONG flags, /* [in] Heap allocation control flags */
|
ULONG flags, /* [in] Heap allocation control flags */
|
||||||
ULONG size) /* [in] Number of bytes to allocate */
|
ULONG size) /* [in] Number of bytes to allocate */
|
||||||
|
@ -1264,7 +1264,7 @@ RtlAllocateHeap(HANDLE heap, /* [in] Handle of private heap block */
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL RtlFreeHeap(
|
BOOLEAN NTAPI RtlFreeHeap(
|
||||||
HANDLE heap, /* [in] Handle of heap */
|
HANDLE heap, /* [in] Handle of heap */
|
||||||
ULONG flags, /* [in] Heap freeing flags */
|
ULONG flags, /* [in] Heap freeing flags */
|
||||||
PVOID ptr /* [in] Address of memory to free */
|
PVOID ptr /* [in] Address of memory to free */
|
||||||
|
@ -1327,7 +1327,7 @@ BOOLEAN STDCALL RtlFreeHeap(
|
||||||
* 0x7d030f60--invalid flags in RtlHeapAllocate
|
* 0x7d030f60--invalid flags in RtlHeapAllocate
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PVOID STDCALL RtlReAllocateHeap(
|
PVOID NTAPI RtlReAllocateHeap(
|
||||||
HANDLE Heap,
|
HANDLE Heap,
|
||||||
ULONG Flags,
|
ULONG Flags,
|
||||||
PVOID Ptr,
|
PVOID Ptr,
|
||||||
|
@ -1463,7 +1463,7 @@ PVOID STDCALL RtlReAllocateHeap(
|
||||||
*
|
*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlCompactHeap(HANDLE Heap,
|
RtlCompactHeap(HANDLE Heap,
|
||||||
ULONG Flags)
|
ULONG Flags)
|
||||||
{
|
{
|
||||||
|
@ -1485,7 +1485,7 @@ RtlCompactHeap(HANDLE Heap,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlLockHeap(IN HANDLE Heap)
|
RtlLockHeap(IN HANDLE Heap)
|
||||||
{
|
{
|
||||||
HEAP *heapPtr = HEAP_GetPtr( Heap );
|
HEAP *heapPtr = HEAP_GetPtr( Heap );
|
||||||
|
@ -1509,7 +1509,7 @@ RtlLockHeap(IN HANDLE Heap)
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlUnlockHeap(HANDLE Heap)
|
RtlUnlockHeap(HANDLE Heap)
|
||||||
{
|
{
|
||||||
HEAP *heapPtr = HEAP_GetPtr( Heap );
|
HEAP *heapPtr = HEAP_GetPtr( Heap );
|
||||||
|
@ -1533,7 +1533,7 @@ RtlUnlockHeap(HANDLE Heap)
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlSizeHeap(
|
RtlSizeHeap(
|
||||||
HANDLE Heap,
|
HANDLE Heap,
|
||||||
ULONG Flags,
|
ULONG Flags,
|
||||||
|
@ -1585,7 +1585,7 @@ RtlSizeHeap(
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL RtlValidateHeap(
|
BOOLEAN NTAPI RtlValidateHeap(
|
||||||
HANDLE Heap,
|
HANDLE Heap,
|
||||||
ULONG Flags,
|
ULONG Flags,
|
||||||
PVOID Block
|
PVOID Block
|
||||||
|
@ -1612,7 +1612,7 @@ BOOLEAN STDCALL RtlValidateHeap(
|
||||||
* FALSE: Failure
|
* FALSE: Failure
|
||||||
*/
|
*/
|
||||||
#if 0
|
#if 0
|
||||||
BOOLEAN STDCALL HeapWalk(
|
BOOLEAN NTAPI HeapWalk(
|
||||||
HANDLE heap, /* [in] Handle to heap to enumerate */
|
HANDLE heap, /* [in] Handle to heap to enumerate */
|
||||||
LPPROCESS_HEAP_ENTRY entry /* [out] Pointer to structure of enumeration info */
|
LPPROCESS_HEAP_ENTRY entry /* [out] Pointer to structure of enumeration info */
|
||||||
)
|
)
|
||||||
|
@ -1742,7 +1742,7 @@ RtlInitializeHeapManager(VOID)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlEnumProcessHeaps(PHEAP_ENUMERATION_ROUTINE HeapEnumerationRoutine,
|
RtlEnumProcessHeaps(PHEAP_ENUMERATION_ROUTINE HeapEnumerationRoutine,
|
||||||
PVOID lParam)
|
PVOID lParam)
|
||||||
{
|
{
|
||||||
|
@ -1767,7 +1767,7 @@ RtlEnumProcessHeaps(PHEAP_ENUMERATION_ROUTINE HeapEnumerationRoutine,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlGetProcessHeaps(ULONG HeapCount,
|
RtlGetProcessHeaps(ULONG HeapCount,
|
||||||
HANDLE *HeapArray)
|
HANDLE *HeapArray)
|
||||||
{
|
{
|
||||||
|
@ -1796,7 +1796,7 @@ RtlGetProcessHeaps(ULONG HeapCount,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlValidateProcessHeaps(VOID)
|
RtlValidateProcessHeaps(VOID)
|
||||||
{
|
{
|
||||||
BOOLEAN Result = TRUE;
|
BOOLEAN Result = TRUE;
|
||||||
|
@ -1822,7 +1822,7 @@ RtlValidateProcessHeaps(VOID)
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlZeroHeap(
|
RtlZeroHeap(
|
||||||
IN PVOID HeapHandle,
|
IN PVOID HeapHandle,
|
||||||
IN ULONG Flags
|
IN ULONG Flags
|
||||||
|
|
|
@ -17,16 +17,16 @@
|
||||||
/* PRIVATE FUNCTIONS *********************************************************/
|
/* PRIVATE FUNCTIONS *********************************************************/
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpGetStackLimits(PULONG_PTR StackBase,
|
RtlpGetStackLimits(PULONG_PTR StackBase,
|
||||||
PULONG_PTR StackLimit);
|
PULONG_PTR StackLimit);
|
||||||
|
|
||||||
PEXCEPTION_REGISTRATION_RECORD
|
PEXCEPTION_REGISTRATION_RECORD
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpGetExceptionList(VOID);
|
RtlpGetExceptionList(VOID);
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpSetExceptionList(PEXCEPTION_REGISTRATION_RECORD NewExceptionList);
|
RtlpSetExceptionList(PEXCEPTION_REGISTRATION_RECORD NewExceptionList);
|
||||||
|
|
||||||
/* PUBLIC FUNCTIONS **********************************************************/
|
/* PUBLIC FUNCTIONS **********************************************************/
|
||||||
|
@ -35,7 +35,7 @@ RtlpSetExceptionList(PEXCEPTION_REGISTRATION_RECORD NewExceptionList);
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlGetCallersAddress(OUT PVOID *CallersAddress,
|
RtlGetCallersAddress(OUT PVOID *CallersAddress,
|
||||||
OUT PVOID *CallersCaller)
|
OUT PVOID *CallersCaller)
|
||||||
{
|
{
|
||||||
|
@ -46,7 +46,7 @@ RtlGetCallersAddress(OUT PVOID *CallersAddress,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDispatchException(IN PEXCEPTION_RECORD ExceptionRecord,
|
RtlDispatchException(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
IN PCONTEXT Context)
|
IN PCONTEXT Context)
|
||||||
{
|
{
|
||||||
|
@ -174,7 +174,7 @@ RtlDispatchException(IN PEXCEPTION_RECORD ExceptionRecord,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUnwind(PVOID RegistrationFrame OPTIONAL,
|
RtlUnwind(PVOID RegistrationFrame OPTIONAL,
|
||||||
PVOID ReturnAddress OPTIONAL,
|
PVOID ReturnAddress OPTIONAL,
|
||||||
PEXCEPTION_RECORD ExceptionRecord OPTIONAL,
|
PEXCEPTION_RECORD ExceptionRecord OPTIONAL,
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PIMAGE_NT_HEADERS STDCALL
|
PIMAGE_NT_HEADERS NTAPI
|
||||||
RtlImageNtHeader (IN PVOID BaseAddress)
|
RtlImageNtHeader (IN PVOID BaseAddress)
|
||||||
{
|
{
|
||||||
PIMAGE_NT_HEADERS NtHeader;
|
PIMAGE_NT_HEADERS NtHeader;
|
||||||
|
@ -44,7 +44,7 @@ RtlImageNtHeader (IN PVOID BaseAddress)
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlImageDirectoryEntryToData (
|
RtlImageDirectoryEntryToData (
|
||||||
PVOID BaseAddress,
|
PVOID BaseAddress,
|
||||||
BOOLEAN bMappedAsImage,
|
BOOLEAN bMappedAsImage,
|
||||||
|
@ -88,7 +88,7 @@ RtlImageDirectoryEntryToData (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PIMAGE_SECTION_HEADER
|
PIMAGE_SECTION_HEADER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlImageRvaToSection (
|
RtlImageRvaToSection (
|
||||||
PIMAGE_NT_HEADERS NtHeader,
|
PIMAGE_NT_HEADERS NtHeader,
|
||||||
PVOID BaseAddress,
|
PVOID BaseAddress,
|
||||||
|
@ -118,7 +118,7 @@ RtlImageRvaToSection (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlImageRvaToVa (
|
RtlImageRvaToVa (
|
||||||
PIMAGE_NT_HEADERS NtHeader,
|
PIMAGE_NT_HEADERS NtHeader,
|
||||||
PVOID BaseAddress,
|
PVOID BaseAddress,
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlConvertLongToLargeInteger (
|
RtlConvertLongToLargeInteger (
|
||||||
LONG SignedInteger
|
LONG SignedInteger
|
||||||
)
|
)
|
||||||
|
@ -35,7 +35,7 @@ RtlConvertLongToLargeInteger (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlConvertUlongToLargeInteger (
|
RtlConvertUlongToLargeInteger (
|
||||||
ULONG UnsignedInteger
|
ULONG UnsignedInteger
|
||||||
)
|
)
|
||||||
|
@ -51,7 +51,7 @@ RtlConvertUlongToLargeInteger (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnlargedIntegerMultiply (
|
RtlEnlargedIntegerMultiply (
|
||||||
LONG Multiplicand,
|
LONG Multiplicand,
|
||||||
LONG Multiplier
|
LONG Multiplier
|
||||||
|
@ -68,7 +68,7 @@ RtlEnlargedIntegerMultiply (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnlargedUnsignedDivide (
|
RtlEnlargedUnsignedDivide (
|
||||||
ULARGE_INTEGER Dividend,
|
ULARGE_INTEGER Dividend,
|
||||||
ULONG Divisor,
|
ULONG Divisor,
|
||||||
|
@ -85,7 +85,7 @@ RtlEnlargedUnsignedDivide (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnlargedUnsignedMultiply (
|
RtlEnlargedUnsignedMultiply (
|
||||||
ULONG Multiplicand,
|
ULONG Multiplicand,
|
||||||
ULONG Multiplier
|
ULONG Multiplier
|
||||||
|
@ -102,7 +102,7 @@ RtlEnlargedUnsignedMultiply (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlExtendedIntegerMultiply (
|
RtlExtendedIntegerMultiply (
|
||||||
LARGE_INTEGER Multiplicand,
|
LARGE_INTEGER Multiplicand,
|
||||||
LONG Multiplier
|
LONG Multiplier
|
||||||
|
@ -119,7 +119,7 @@ RtlExtendedIntegerMultiply (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlExtendedLargeIntegerDivide (
|
RtlExtendedLargeIntegerDivide (
|
||||||
LARGE_INTEGER Dividend,
|
LARGE_INTEGER Dividend,
|
||||||
ULONG Divisor,
|
ULONG Divisor,
|
||||||
|
@ -164,7 +164,7 @@ RtlExtendedLargeIntegerDivide (
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER STDCALL
|
LARGE_INTEGER NTAPI
|
||||||
RtlExtendedMagicDivide (LARGE_INTEGER Dividend,
|
RtlExtendedMagicDivide (LARGE_INTEGER Dividend,
|
||||||
LARGE_INTEGER MagicDivisor,
|
LARGE_INTEGER MagicDivisor,
|
||||||
CCHAR ShiftCount)
|
CCHAR ShiftCount)
|
||||||
|
@ -215,7 +215,7 @@ RtlExtendedMagicDivide (LARGE_INTEGER Dividend,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLargeIntegerAdd (
|
RtlLargeIntegerAdd (
|
||||||
LARGE_INTEGER Addend1,
|
LARGE_INTEGER Addend1,
|
||||||
LARGE_INTEGER Addend2
|
LARGE_INTEGER Addend2
|
||||||
|
@ -232,7 +232,7 @@ RtlLargeIntegerAdd (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLargeIntegerArithmeticShift (
|
RtlLargeIntegerArithmeticShift (
|
||||||
LARGE_INTEGER LargeInteger,
|
LARGE_INTEGER LargeInteger,
|
||||||
CCHAR ShiftCount
|
CCHAR ShiftCount
|
||||||
|
@ -261,7 +261,7 @@ RtlLargeIntegerArithmeticShift (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLargeIntegerDivide (
|
RtlLargeIntegerDivide (
|
||||||
LARGE_INTEGER Dividend,
|
LARGE_INTEGER Dividend,
|
||||||
LARGE_INTEGER Divisor,
|
LARGE_INTEGER Divisor,
|
||||||
|
@ -282,7 +282,7 @@ RtlLargeIntegerDivide (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLargeIntegerNegate (
|
RtlLargeIntegerNegate (
|
||||||
LARGE_INTEGER Subtrahend
|
LARGE_INTEGER Subtrahend
|
||||||
)
|
)
|
||||||
|
@ -298,7 +298,7 @@ RtlLargeIntegerNegate (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLargeIntegerShiftLeft (
|
RtlLargeIntegerShiftLeft (
|
||||||
LARGE_INTEGER LargeInteger,
|
LARGE_INTEGER LargeInteger,
|
||||||
CCHAR ShiftCount
|
CCHAR ShiftCount
|
||||||
|
@ -317,7 +317,7 @@ RtlLargeIntegerShiftLeft (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLargeIntegerShiftRight (
|
RtlLargeIntegerShiftRight (
|
||||||
LARGE_INTEGER LargeInteger,
|
LARGE_INTEGER LargeInteger,
|
||||||
CCHAR ShiftCount
|
CCHAR ShiftCount
|
||||||
|
@ -336,7 +336,7 @@ RtlLargeIntegerShiftRight (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LARGE_INTEGER
|
LARGE_INTEGER
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLargeIntegerSubtract (
|
RtlLargeIntegerSubtract (
|
||||||
LARGE_INTEGER Minuend,
|
LARGE_INTEGER Minuend,
|
||||||
LARGE_INTEGER Subtrahend
|
LARGE_INTEGER Subtrahend
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlCopyLuid(PLUID LuidDest,
|
RtlCopyLuid(PLUID LuidDest,
|
||||||
PLUID LuidSrc)
|
PLUID LuidSrc)
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@ RtlCopyLuid(PLUID LuidDest,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlCopyLuidAndAttributesArray(ULONG Count,
|
RtlCopyLuidAndAttributesArray(ULONG Count,
|
||||||
PLUID_AND_ATTRIBUTES Src,
|
PLUID_AND_ATTRIBUTES Src,
|
||||||
PLUID_AND_ATTRIBUTES Dest)
|
PLUID_AND_ATTRIBUTES Dest)
|
||||||
|
@ -50,7 +50,7 @@ RtlCopyLuidAndAttributesArray(ULONG Count,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlEqualLuid(PLUID Luid1,
|
RtlEqualLuid(PLUID Luid1,
|
||||||
PLUID Luid2)
|
PLUID Luid2)
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,6 +12,10 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
#undef RtlUlonglongByteSwap
|
||||||
|
#undef RtlUlongByteSwap
|
||||||
|
#undef RtlUshortByteSwap
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
@ -30,7 +34,7 @@
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
SIZE_T STDCALL
|
SIZE_T NTAPI
|
||||||
RtlCompareMemory(IN const VOID *Source1,
|
RtlCompareMemory(IN const VOID *Source1,
|
||||||
IN const VOID *Source2,
|
IN const VOID *Source2,
|
||||||
IN SIZE_T Length)
|
IN SIZE_T Length)
|
||||||
|
@ -46,7 +50,7 @@ RtlCompareMemory(IN const VOID *Source1,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCompareMemoryUlong (
|
RtlCompareMemoryUlong (
|
||||||
PVOID Source,
|
PVOID Source,
|
||||||
ULONG Length,
|
ULONG Length,
|
||||||
|
@ -81,7 +85,7 @@ RtlCompareMemoryUlong (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlFillMemory (
|
RtlFillMemory (
|
||||||
PVOID Destination,
|
PVOID Destination,
|
||||||
ULONG Length,
|
ULONG Length,
|
||||||
|
@ -97,7 +101,7 @@ RtlFillMemory (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlFillMemoryUlong (
|
RtlFillMemoryUlong (
|
||||||
PVOID Destination,
|
PVOID Destination,
|
||||||
ULONG Length,
|
ULONG Length,
|
||||||
|
@ -121,7 +125,7 @@ RtlFillMemoryUlong (
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlMoveMemory (
|
RtlMoveMemory (
|
||||||
PVOID Destination,
|
PVOID Destination,
|
||||||
CONST VOID * Source,
|
CONST VOID * Source,
|
||||||
|
@ -154,7 +158,7 @@ RtlPrefetchMemoryNonTemporal(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlZeroMemory (
|
RtlZeroMemory (
|
||||||
PVOID Destination,
|
PVOID Destination,
|
||||||
ULONG Length
|
ULONG Length
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlFindMessage(PVOID BaseAddress,
|
RtlFindMessage(PVOID BaseAddress,
|
||||||
ULONG Type,
|
ULONG Type,
|
||||||
ULONG Language,
|
ULONG Language,
|
||||||
|
@ -134,7 +134,7 @@ RtlFindMessage(PVOID BaseAddress,
|
||||||
*
|
*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlFormatMessage(PWSTR Message,
|
RtlFormatMessage(PWSTR Message,
|
||||||
UCHAR MaxWidth,
|
UCHAR MaxWidth,
|
||||||
BOOLEAN IgnoreInserts,
|
BOOLEAN IgnoreInserts,
|
||||||
|
|
|
@ -40,7 +40,7 @@ typedef struct
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LPSTR
|
LPSTR
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv4AddressToStringA(
|
RtlIpv4AddressToStringA(
|
||||||
PULONG IP,
|
PULONG IP,
|
||||||
LPSTR Buffer
|
LPSTR Buffer
|
||||||
|
@ -58,7 +58,7 @@ RtlIpv4AddressToStringA(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv4AddressToStringExA(
|
RtlIpv4AddressToStringExA(
|
||||||
PULONG IP,
|
PULONG IP,
|
||||||
PULONG Port,
|
PULONG Port,
|
||||||
|
@ -74,7 +74,7 @@ RtlIpv4AddressToStringExA(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LPWSTR
|
LPWSTR
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv4AddressToStringW(
|
RtlIpv4AddressToStringW(
|
||||||
PULONG IP,
|
PULONG IP,
|
||||||
LPWSTR Buffer
|
LPWSTR Buffer
|
||||||
|
@ -92,7 +92,7 @@ RtlIpv4AddressToStringW(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv4AddressToStringExW(
|
RtlIpv4AddressToStringExW(
|
||||||
PULONG IP,
|
PULONG IP,
|
||||||
PULONG Port,
|
PULONG Port,
|
||||||
|
@ -108,7 +108,7 @@ RtlIpv4AddressToStringExW(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv4StringToAddressA(
|
RtlIpv4StringToAddressA(
|
||||||
IN LPSTR IpString,
|
IN LPSTR IpString,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
@ -124,7 +124,7 @@ RtlIpv4StringToAddressA(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv4StringToAddressExA(
|
RtlIpv4StringToAddressExA(
|
||||||
IN LPSTR IpString,
|
IN LPSTR IpString,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
@ -140,12 +140,12 @@ RtlIpv4StringToAddressExA(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv4StringToAddressW(
|
RtlIpv4StringToAddressW(
|
||||||
IN LPWSTR IpString,
|
IN LPWSTR IpString,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
OUT PVOID PtrToIpAddr,
|
OUT PULONG PtrToIpAddr,
|
||||||
OUT ULONG IpAddr
|
OUT PULONG IpAddr
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -156,7 +156,7 @@ RtlIpv4StringToAddressW(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv4StringToAddressExW(
|
RtlIpv4StringToAddressExW(
|
||||||
IN LPWSTR IpString,
|
IN LPWSTR IpString,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
@ -172,7 +172,7 @@ RtlIpv4StringToAddressExW(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv6AddressToStringA(
|
RtlIpv6AddressToStringA(
|
||||||
PULONG IP,
|
PULONG IP,
|
||||||
LPSTR Buffer
|
LPSTR Buffer
|
||||||
|
@ -186,7 +186,7 @@ RtlIpv6AddressToStringA(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv6AddressToStringExA(
|
RtlIpv6AddressToStringExA(
|
||||||
PULONG IP,
|
PULONG IP,
|
||||||
PULONG Port,
|
PULONG Port,
|
||||||
|
@ -202,7 +202,7 @@ RtlIpv6AddressToStringExA(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv6AddressToStringW(
|
RtlIpv6AddressToStringW(
|
||||||
PULONG IP,
|
PULONG IP,
|
||||||
LPWSTR Buffer
|
LPWSTR Buffer
|
||||||
|
@ -216,7 +216,7 @@ RtlIpv6AddressToStringW(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv6AddressToStringExW(
|
RtlIpv6AddressToStringExW(
|
||||||
PULONG IP,
|
PULONG IP,
|
||||||
PULONG Port,
|
PULONG Port,
|
||||||
|
@ -232,7 +232,7 @@ RtlIpv6AddressToStringExW(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv6StringToAddressA(
|
RtlIpv6StringToAddressA(
|
||||||
IN LPSTR IpString,
|
IN LPSTR IpString,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
@ -248,7 +248,7 @@ RtlIpv6StringToAddressA(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv6StringToAddressExA(
|
RtlIpv6StringToAddressExA(
|
||||||
IN LPSTR IpString,
|
IN LPSTR IpString,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
@ -264,7 +264,7 @@ RtlIpv6StringToAddressExA(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv6StringToAddressW(
|
RtlIpv6StringToAddressW(
|
||||||
IN LPWSTR IpString,
|
IN LPWSTR IpString,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
@ -280,7 +280,7 @@ RtlIpv6StringToAddressW(
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIpv6StringToAddressExW(
|
RtlIpv6StringToAddressExW(
|
||||||
IN LPWSTR IpString,
|
IN LPWSTR IpString,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
|
|
@ -40,7 +40,7 @@ PUSHORT NlsOemLeadByteInfo = NULL; /* exported */
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCustomCPToUnicodeN(IN PCPTABLEINFO CustomCP,
|
RtlCustomCPToUnicodeN(IN PCPTABLEINFO CustomCP,
|
||||||
PWCHAR UnicodeString,
|
PWCHAR UnicodeString,
|
||||||
ULONG UnicodeSize,
|
ULONG UnicodeSize,
|
||||||
|
@ -81,7 +81,7 @@ RtlCustomCPToUnicodeN(IN PCPTABLEINFO CustomCP,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
WCHAR STDCALL
|
WCHAR NTAPI
|
||||||
RtlDowncaseUnicodeChar (IN WCHAR Source)
|
RtlDowncaseUnicodeChar (IN WCHAR Source)
|
||||||
{
|
{
|
||||||
USHORT Offset;
|
USHORT Offset;
|
||||||
|
@ -124,7 +124,7 @@ RtlDowncaseUnicodeChar (IN WCHAR Source)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlGetDefaultCodePage(OUT PUSHORT AnsiCodePage,
|
RtlGetDefaultCodePage(OUT PUSHORT AnsiCodePage,
|
||||||
OUT PUSHORT OemCodePage)
|
OUT PUSHORT OemCodePage)
|
||||||
{
|
{
|
||||||
|
@ -138,7 +138,7 @@ RtlGetDefaultCodePage(OUT PUSHORT AnsiCodePage,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlInitCodePageTable(IN PUSHORT TableBase,
|
RtlInitCodePageTable(IN PUSHORT TableBase,
|
||||||
OUT PCPTABLEINFO CodePageTable)
|
OUT PCPTABLEINFO CodePageTable)
|
||||||
{
|
{
|
||||||
|
@ -198,7 +198,7 @@ RtlInitCodePageTable(IN PUSHORT TableBase,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlInitNlsTables(IN PUSHORT AnsiTableBase,
|
RtlInitNlsTables(IN PUSHORT AnsiTableBase,
|
||||||
IN PUSHORT OemTableBase,
|
IN PUSHORT OemTableBase,
|
||||||
IN PUSHORT CaseTableBase,
|
IN PUSHORT CaseTableBase,
|
||||||
|
@ -225,7 +225,7 @@ RtlInitNlsTables(IN PUSHORT AnsiTableBase,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlMultiByteToUnicodeN(
|
RtlMultiByteToUnicodeN(
|
||||||
IN PWCHAR UnicodeString,
|
IN PWCHAR UnicodeString,
|
||||||
IN ULONG UnicodeSize,
|
IN ULONG UnicodeSize,
|
||||||
|
@ -266,7 +266,7 @@ RtlMultiByteToUnicodeN(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlMultiByteToUnicodeSize(PULONG UnicodeSize,
|
RtlMultiByteToUnicodeSize(PULONG UnicodeSize,
|
||||||
PCSTR MbString,
|
PCSTR MbString,
|
||||||
ULONG MbSize)
|
ULONG MbSize)
|
||||||
|
@ -316,7 +316,7 @@ RtlMultiByteToUnicodeSize(PULONG UnicodeSize,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlOemToUnicodeN (PWCHAR UnicodeString,
|
RtlOemToUnicodeN (PWCHAR UnicodeString,
|
||||||
ULONG UnicodeSize,
|
ULONG UnicodeSize,
|
||||||
PULONG ResultSize,
|
PULONG ResultSize,
|
||||||
|
@ -359,7 +359,7 @@ RtlOemToUnicodeN (PWCHAR UnicodeString,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlResetRtlTranslations(IN PNLSTABLEINFO NlsTable)
|
RtlResetRtlTranslations(IN PNLSTABLEINFO NlsTable)
|
||||||
{
|
{
|
||||||
DPRINT("RtlResetRtlTranslations() called\n");
|
DPRINT("RtlResetRtlTranslations() called\n");
|
||||||
|
@ -392,7 +392,7 @@ RtlResetRtlTranslations(IN PNLSTABLEINFO NlsTable)
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlUnicodeToCustomCPN(IN PCPTABLEINFO CustomCP,
|
RtlUnicodeToCustomCPN(IN PCPTABLEINFO CustomCP,
|
||||||
PCHAR CustomString,
|
PCHAR CustomString,
|
||||||
ULONG CustomSize,
|
ULONG CustomSize,
|
||||||
|
@ -436,7 +436,7 @@ RtlUnicodeToCustomCPN(IN PCPTABLEINFO CustomCP,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlUnicodeToMultiByteN (PCHAR MbString,
|
RtlUnicodeToMultiByteN (PCHAR MbString,
|
||||||
ULONG MbSize,
|
ULONG MbSize,
|
||||||
PULONG ResultSize,
|
PULONG ResultSize,
|
||||||
|
@ -477,7 +477,7 @@ RtlUnicodeToMultiByteN (PCHAR MbString,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUnicodeToMultiByteSize(PULONG MbSize,
|
RtlUnicodeToMultiByteSize(PULONG MbSize,
|
||||||
PWCHAR UnicodeString,
|
PWCHAR UnicodeString,
|
||||||
ULONG UnicodeSize)
|
ULONG UnicodeSize)
|
||||||
|
@ -515,7 +515,7 @@ RtlUnicodeToMultiByteSize(PULONG MbSize,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlUnicodeToOemN (PCHAR OemString,
|
RtlUnicodeToOemN (PCHAR OemString,
|
||||||
ULONG OemSize,
|
ULONG OemSize,
|
||||||
PULONG ResultSize,
|
PULONG ResultSize,
|
||||||
|
@ -559,7 +559,7 @@ RtlUnicodeToOemN (PCHAR OemString,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
WCHAR STDCALL
|
WCHAR NTAPI
|
||||||
RtlUpcaseUnicodeChar(IN WCHAR Source)
|
RtlUpcaseUnicodeChar(IN WCHAR Source)
|
||||||
{
|
{
|
||||||
USHORT Offset;
|
USHORT Offset;
|
||||||
|
@ -587,7 +587,7 @@ RtlUpcaseUnicodeChar(IN WCHAR Source)
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlUpcaseUnicodeToCustomCPN (IN PCPTABLEINFO CustomCP,
|
RtlUpcaseUnicodeToCustomCPN (IN PCPTABLEINFO CustomCP,
|
||||||
PCHAR CustomString,
|
PCHAR CustomString,
|
||||||
ULONG CustomSize,
|
ULONG CustomSize,
|
||||||
|
@ -632,7 +632,7 @@ RtlUpcaseUnicodeToCustomCPN (IN PCPTABLEINFO CustomCP,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlUpcaseUnicodeToMultiByteN (PCHAR MbString,
|
RtlUpcaseUnicodeToMultiByteN (PCHAR MbString,
|
||||||
ULONG MbSize,
|
ULONG MbSize,
|
||||||
PULONG ResultSize,
|
PULONG ResultSize,
|
||||||
|
@ -676,7 +676,7 @@ RtlUpcaseUnicodeToMultiByteN (PCHAR MbString,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlUpcaseUnicodeToOemN (PCHAR OemString,
|
RtlUpcaseUnicodeToOemN (PCHAR OemString,
|
||||||
ULONG OemSize,
|
ULONG OemSize,
|
||||||
PULONG ResultSize,
|
PULONG ResultSize,
|
||||||
|
@ -721,7 +721,7 @@ RtlUpcaseUnicodeToOemN (PCHAR OemString,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
CHAR STDCALL
|
CHAR NTAPI
|
||||||
RtlUpperChar (IN CHAR Source)
|
RtlUpperChar (IN CHAR Source)
|
||||||
{
|
{
|
||||||
WCHAR Unicode;
|
WCHAR Unicode;
|
||||||
|
|
|
@ -44,7 +44,7 @@ static const UNICODE_STRING _nul = RTL_CONSTANT_STRING(L"NUL");
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL RtlGetLongestNtPathLength (VOID)
|
ULONG NTAPI RtlGetLongestNtPathLength (VOID)
|
||||||
{
|
{
|
||||||
return (MAX_PATH + 9);
|
return (MAX_PATH + 9);
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ ULONG STDCALL RtlGetLongestNtPathLength (VOID)
|
||||||
* @implemented
|
* @implemented
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlDetermineDosPathNameType_U(PCWSTR Path)
|
RtlDetermineDosPathNameType_U(PCWSTR Path)
|
||||||
{
|
{
|
||||||
DPRINT("RtlDetermineDosPathNameType_U %S\n", Path);
|
DPRINT("RtlDetermineDosPathNameType_U %S\n", Path);
|
||||||
|
@ -95,7 +95,7 @@ RtlDetermineDosPathNameType_U(PCWSTR Path)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlIsDosDeviceName_U(PWSTR DeviceName)
|
RtlIsDosDeviceName_U(PWSTR DeviceName)
|
||||||
{
|
{
|
||||||
ULONG Type;
|
ULONG Type;
|
||||||
|
@ -188,7 +188,7 @@ RtlIsDosDeviceName_U(PWSTR DeviceName)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlGetCurrentDirectory_U(ULONG MaximumLength,
|
RtlGetCurrentDirectory_U(ULONG MaximumLength,
|
||||||
PWSTR Buffer)
|
PWSTR Buffer)
|
||||||
{
|
{
|
||||||
|
@ -231,7 +231,7 @@ RtlGetCurrentDirectory_U(ULONG MaximumLength,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetCurrentDirectory_U(PUNICODE_STRING dir)
|
RtlSetCurrentDirectory_U(PUNICODE_STRING dir)
|
||||||
{
|
{
|
||||||
UNICODE_STRING full;
|
UNICODE_STRING full;
|
||||||
|
@ -677,7 +677,7 @@ done:
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
DWORD STDCALL RtlGetFullPathName_U(
|
DWORD NTAPI RtlGetFullPathName_U(
|
||||||
const WCHAR* name,
|
const WCHAR* name,
|
||||||
ULONG size,
|
ULONG size,
|
||||||
WCHAR* buffer,
|
WCHAR* buffer,
|
||||||
|
@ -733,7 +733,7 @@ DWORD STDCALL RtlGetFullPathName_U(
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlDosPathNameToNtPathName_U(PWSTR dosname,
|
RtlDosPathNameToNtPathName_U(PWSTR dosname,
|
||||||
PUNICODE_STRING ntname,
|
PUNICODE_STRING ntname,
|
||||||
PWSTR *FilePart,
|
PWSTR *FilePart,
|
||||||
|
@ -858,7 +858,7 @@ RtlDosPathNameToNtPathName_U(PWSTR dosname,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDosSearchPath_U (
|
RtlDosSearchPath_U (
|
||||||
WCHAR *sp,
|
WCHAR *sp,
|
||||||
WCHAR *name,
|
WCHAR *name,
|
||||||
|
@ -934,7 +934,7 @@ RtlDosSearchPath_U (
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlDoesFileExists_U(IN PWSTR FileName)
|
RtlDoesFileExists_U(IN PWSTR FileName)
|
||||||
{
|
{
|
||||||
UNICODE_STRING NtFileName;
|
UNICODE_STRING NtFileName;
|
||||||
|
@ -978,7 +978,7 @@ RtlDoesFileExists_U(IN PWSTR FileName)
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlDosPathNameToRelativeNtPathName_U(PVOID Unknown1,
|
RtlDosPathNameToRelativeNtPathName_U(PVOID Unknown1,
|
||||||
PVOID Unknown2,
|
PVOID Unknown2,
|
||||||
PVOID Unknown3,
|
PVOID Unknown3,
|
||||||
|
@ -993,20 +993,20 @@ RtlDosPathNameToRelativeNtPathName_U(PVOID Unknown1,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlReleaseRelativeName(PVOID Unknown)
|
RtlReleaseRelativeName(PVOID Unknown)
|
||||||
{
|
{
|
||||||
DPRINT1("RtlReleaseRelativeName(0x%p) UNIMPLEMENTED\n", Unknown);
|
DPRINT1("RtlReleaseRelativeName(0x%p) UNIMPLEMENTED\n", Unknown);
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlpEnsureBufferSize(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3)
|
RtlpEnsureBufferSize(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3)
|
||||||
{
|
{
|
||||||
DPRINT1("RtlpEnsureBufferSize: stub\n");
|
DPRINT1("RtlpEnsureBufferSize: stub\n");
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlNtPathNameToDosPathName(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3, ULONG Unknown4)
|
RtlNtPathNameToDosPathName(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3, ULONG Unknown4)
|
||||||
{
|
{
|
||||||
DPRINT1("RtlNtPathNameToDosPathName: stub\n");
|
DPRINT1("RtlNtPathNameToDosPathName: stub\n");
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
|
||||||
static inline VOID
|
static __inline VOID
|
||||||
RtlpCopyParameterString(PWCHAR *Ptr,
|
RtlpCopyParameterString(PWCHAR *Ptr,
|
||||||
PUNICODE_STRING Destination,
|
PUNICODE_STRING Destination,
|
||||||
PUNICODE_STRING Source,
|
PUNICODE_STRING Source,
|
||||||
|
@ -41,7 +41,7 @@ RtlpCopyParameterString(PWCHAR *Ptr,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCreateProcessParameters(PRTL_USER_PROCESS_PARAMETERS *ProcessParameters,
|
RtlCreateProcessParameters(PRTL_USER_PROCESS_PARAMETERS *ProcessParameters,
|
||||||
PUNICODE_STRING ImagePathName,
|
PUNICODE_STRING ImagePathName,
|
||||||
PUNICODE_STRING DllPath,
|
PUNICODE_STRING DllPath,
|
||||||
|
@ -219,7 +219,7 @@ RtlCreateProcessParameters(PRTL_USER_PROCESS_PARAMETERS *ProcessParameters,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDestroyProcessParameters(PRTL_USER_PROCESS_PARAMETERS ProcessParameters)
|
RtlDestroyProcessParameters(PRTL_USER_PROCESS_PARAMETERS ProcessParameters)
|
||||||
{
|
{
|
||||||
ULONG RegionSize = 0;
|
ULONG RegionSize = 0;
|
||||||
|
@ -235,7 +235,7 @@ RtlDestroyProcessParameters(PRTL_USER_PROCESS_PARAMETERS ProcessParameters)
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PRTL_USER_PROCESS_PARAMETERS STDCALL
|
PRTL_USER_PROCESS_PARAMETERS NTAPI
|
||||||
RtlDeNormalizeProcessParams(PRTL_USER_PROCESS_PARAMETERS Params)
|
RtlDeNormalizeProcessParams(PRTL_USER_PROCESS_PARAMETERS Params)
|
||||||
{
|
{
|
||||||
if (Params && (Params->Flags & PPF_NORMALIZED))
|
if (Params && (Params->Flags & PPF_NORMALIZED))
|
||||||
|
@ -260,7 +260,7 @@ RtlDeNormalizeProcessParams(PRTL_USER_PROCESS_PARAMETERS Params)
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PRTL_USER_PROCESS_PARAMETERS STDCALL
|
PRTL_USER_PROCESS_PARAMETERS NTAPI
|
||||||
RtlNormalizeProcessParams(PRTL_USER_PROCESS_PARAMETERS Params)
|
RtlNormalizeProcessParams(PRTL_USER_PROCESS_PARAMETERS Params)
|
||||||
{
|
{
|
||||||
if (Params && !(Params->Flags & PPF_NORMALIZED))
|
if (Params && !(Params->Flags & PPF_NORMALIZED))
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
/* INTERNAL FUNCTIONS *******************************************************/
|
/* INTERNAL FUNCTIONS *******************************************************/
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpMapFile(PUNICODE_STRING ImageFileName,
|
RtlpMapFile(PUNICODE_STRING ImageFileName,
|
||||||
ULONG Attributes,
|
ULONG Attributes,
|
||||||
PHANDLE Section)
|
PHANDLE Section)
|
||||||
|
@ -65,7 +65,7 @@ RtlpMapFile(PUNICODE_STRING ImageFileName,
|
||||||
/* FUNCTIONS ****************************************************************/
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpInitEnvironment(HANDLE ProcessHandle,
|
RtlpInitEnvironment(HANDLE ProcessHandle,
|
||||||
PPEB Peb,
|
PPEB Peb,
|
||||||
PRTL_USER_PROCESS_PARAMETERS ProcessParameters)
|
PRTL_USER_PROCESS_PARAMETERS ProcessParameters)
|
||||||
|
@ -184,7 +184,7 @@ RtlpInitEnvironment(HANDLE ProcessHandle,
|
||||||
* -Gunnar
|
* -Gunnar
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCreateUserProcess(IN PUNICODE_STRING ImageFileName,
|
RtlCreateUserProcess(IN PUNICODE_STRING ImageFileName,
|
||||||
IN ULONG Attributes,
|
IN ULONG Attributes,
|
||||||
IN OUT PRTL_USER_PROCESS_PARAMETERS ProcessParameters,
|
IN OUT PRTL_USER_PROCESS_PARAMETERS ProcessParameters,
|
||||||
|
@ -319,7 +319,7 @@ RtlCreateUserProcess(IN PUNICODE_STRING ImageFileName,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEncodePointer(IN PVOID Pointer)
|
RtlEncodePointer(IN PVOID Pointer)
|
||||||
{
|
{
|
||||||
ULONG Cookie;
|
ULONG Cookie;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
PropertyLengthAsVariant (
|
PropertyLengthAsVariant (
|
||||||
DWORD Unknown0,
|
DWORD Unknown0,
|
||||||
DWORD Unknown1,
|
DWORD Unknown1,
|
||||||
|
@ -34,7 +34,7 @@ PropertyLengthAsVariant (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCompareVariants (
|
RtlCompareVariants (
|
||||||
DWORD Unknown0,
|
DWORD Unknown0,
|
||||||
DWORD Unknown1,
|
DWORD Unknown1,
|
||||||
|
@ -48,7 +48,7 @@ RtlCompareVariants (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlConvertPropertyToVariant (
|
RtlConvertPropertyToVariant (
|
||||||
DWORD Unknown0,
|
DWORD Unknown0,
|
||||||
DWORD Unknown1,
|
DWORD Unknown1,
|
||||||
|
@ -63,7 +63,7 @@ RtlConvertPropertyToVariant (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlConvertVariantToProperty (
|
RtlConvertVariantToProperty (
|
||||||
DWORD Unknown0,
|
DWORD Unknown0,
|
||||||
DWORD Unknown1,
|
DWORD Unknown1,
|
||||||
|
|
|
@ -64,7 +64,7 @@ static ULONG SavedValue[128] =
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlRandom (IN OUT PULONG Seed)
|
RtlRandom (IN OUT PULONG Seed)
|
||||||
{
|
{
|
||||||
ULONG Rand;
|
ULONG Rand;
|
||||||
|
@ -86,7 +86,7 @@ RtlRandom (IN OUT PULONG Seed)
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlRandomEx(
|
RtlRandomEx(
|
||||||
PULONG Seed
|
PULONG Seed
|
||||||
)
|
)
|
||||||
|
@ -122,7 +122,7 @@ RtlRandomEx(
|
||||||
* function and our function return a random number uniformly
|
* function and our function return a random number uniformly
|
||||||
* distributed over [0..MAXLONG-1].
|
* distributed over [0..MAXLONG-1].
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlUniform (PULONG Seed)
|
RtlUniform (PULONG Seed)
|
||||||
{
|
{
|
||||||
ULONG Result;
|
ULONG Result;
|
||||||
|
|
|
@ -47,7 +47,7 @@ typedef struct _RTL_RANGE_ENTRY
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAddRange (IN OUT PRTL_RANGE_LIST RangeList,
|
RtlAddRange (IN OUT PRTL_RANGE_LIST RangeList,
|
||||||
IN ULONGLONG Start,
|
IN ULONGLONG Start,
|
||||||
IN ULONGLONG End,
|
IN ULONGLONG End,
|
||||||
|
@ -142,7 +142,7 @@ RtlAddRange (IN OUT PRTL_RANGE_LIST RangeList,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCopyRangeList (OUT PRTL_RANGE_LIST CopyRangeList,
|
RtlCopyRangeList (OUT PRTL_RANGE_LIST CopyRangeList,
|
||||||
IN PRTL_RANGE_LIST RangeList)
|
IN PRTL_RANGE_LIST RangeList)
|
||||||
{
|
{
|
||||||
|
@ -196,7 +196,7 @@ RtlCopyRangeList (OUT PRTL_RANGE_LIST CopyRangeList,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDeleteOwnersRanges (IN OUT PRTL_RANGE_LIST RangeList,
|
RtlDeleteOwnersRanges (IN OUT PRTL_RANGE_LIST RangeList,
|
||||||
IN PVOID Owner)
|
IN PVOID Owner)
|
||||||
{
|
{
|
||||||
|
@ -241,7 +241,7 @@ RtlDeleteOwnersRanges (IN OUT PRTL_RANGE_LIST RangeList,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDeleteRange (IN OUT PRTL_RANGE_LIST RangeList,
|
RtlDeleteRange (IN OUT PRTL_RANGE_LIST RangeList,
|
||||||
IN ULONGLONG Start,
|
IN ULONGLONG Start,
|
||||||
IN ULONGLONG End,
|
IN ULONGLONG End,
|
||||||
|
@ -301,7 +301,7 @@ RtlDeleteRange (IN OUT PRTL_RANGE_LIST RangeList,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlFindRange (IN PRTL_RANGE_LIST RangeList,
|
RtlFindRange (IN PRTL_RANGE_LIST RangeList,
|
||||||
IN ULONGLONG Minimum,
|
IN ULONGLONG Minimum,
|
||||||
IN ULONGLONG Maximum,
|
IN ULONGLONG Maximum,
|
||||||
|
@ -399,7 +399,7 @@ RtlFindRange (IN PRTL_RANGE_LIST RangeList,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlFreeRangeList (IN PRTL_RANGE_LIST RangeList)
|
RtlFreeRangeList (IN PRTL_RANGE_LIST RangeList)
|
||||||
{
|
{
|
||||||
PLIST_ENTRY Entry;
|
PLIST_ENTRY Entry;
|
||||||
|
@ -438,7 +438,7 @@ RtlFreeRangeList (IN PRTL_RANGE_LIST RangeList)
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetFirstRange (IN PRTL_RANGE_LIST RangeList,
|
RtlGetFirstRange (IN PRTL_RANGE_LIST RangeList,
|
||||||
OUT PRTL_RANGE_LIST_ITERATOR Iterator,
|
OUT PRTL_RANGE_LIST_ITERATOR Iterator,
|
||||||
OUT PRTL_RANGE *Range)
|
OUT PRTL_RANGE *Range)
|
||||||
|
@ -478,7 +478,7 @@ RtlGetFirstRange (IN PRTL_RANGE_LIST RangeList,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetNextRange (IN OUT PRTL_RANGE_LIST_ITERATOR Iterator,
|
RtlGetNextRange (IN OUT PRTL_RANGE_LIST_ITERATOR Iterator,
|
||||||
OUT PRTL_RANGE *Range,
|
OUT PRTL_RANGE *Range,
|
||||||
IN BOOLEAN MoveForwards)
|
IN BOOLEAN MoveForwards)
|
||||||
|
@ -524,7 +524,7 @@ RtlGetNextRange (IN OUT PRTL_RANGE_LIST_ITERATOR Iterator,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlInitializeRangeList (IN OUT PRTL_RANGE_LIST RangeList)
|
RtlInitializeRangeList (IN OUT PRTL_RANGE_LIST RangeList)
|
||||||
{
|
{
|
||||||
InitializeListHead (&RangeList->ListHead);
|
InitializeListHead (&RangeList->ListHead);
|
||||||
|
@ -550,7 +550,7 @@ RtlInitializeRangeList (IN OUT PRTL_RANGE_LIST RangeList)
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlInvertRangeList (OUT PRTL_RANGE_LIST InvertedRangeList,
|
RtlInvertRangeList (OUT PRTL_RANGE_LIST InvertedRangeList,
|
||||||
IN PRTL_RANGE_LIST RangeList)
|
IN PRTL_RANGE_LIST RangeList)
|
||||||
{
|
{
|
||||||
|
@ -650,7 +650,7 @@ RtlInvertRangeList (OUT PRTL_RANGE_LIST InvertedRangeList,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlIsRangeAvailable (IN PRTL_RANGE_LIST RangeList,
|
RtlIsRangeAvailable (IN PRTL_RANGE_LIST RangeList,
|
||||||
IN ULONGLONG Start,
|
IN ULONGLONG Start,
|
||||||
IN ULONGLONG End,
|
IN ULONGLONG End,
|
||||||
|
@ -710,7 +710,7 @@ RtlIsRangeAvailable (IN PRTL_RANGE_LIST RangeList,
|
||||||
*
|
*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlMergeRangeLists (OUT PRTL_RANGE_LIST MergedRangeList,
|
RtlMergeRangeLists (OUT PRTL_RANGE_LIST MergedRangeList,
|
||||||
IN PRTL_RANGE_LIST RangeList1,
|
IN PRTL_RANGE_LIST RangeList1,
|
||||||
IN PRTL_RANGE_LIST RangeList2,
|
IN PRTL_RANGE_LIST RangeList2,
|
||||||
|
|
|
@ -154,7 +154,7 @@ RtlpGetRegistryHandle(ULONG RelativeTo,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCheckRegistryKey(IN ULONG RelativeTo,
|
RtlCheckRegistryKey(IN ULONG RelativeTo,
|
||||||
IN PWSTR Path)
|
IN PWSTR Path)
|
||||||
{
|
{
|
||||||
|
@ -179,7 +179,7 @@ RtlCheckRegistryKey(IN ULONG RelativeTo,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCreateRegistryKey(IN ULONG RelativeTo,
|
RtlCreateRegistryKey(IN ULONG RelativeTo,
|
||||||
IN PWSTR Path)
|
IN PWSTR Path)
|
||||||
{
|
{
|
||||||
|
@ -204,7 +204,7 @@ RtlCreateRegistryKey(IN ULONG RelativeTo,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlDeleteRegistryValue(IN ULONG RelativeTo,
|
RtlDeleteRegistryValue(IN ULONG RelativeTo,
|
||||||
IN PCWSTR Path,
|
IN PCWSTR Path,
|
||||||
IN PCWSTR ValueName)
|
IN PCWSTR ValueName)
|
||||||
|
@ -237,7 +237,7 @@ RtlDeleteRegistryValue(IN ULONG RelativeTo,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlFormatCurrentUserKeyPath (OUT PUNICODE_STRING KeyPath)
|
RtlFormatCurrentUserKeyPath (OUT PUNICODE_STRING KeyPath)
|
||||||
{
|
{
|
||||||
HANDLE TokenHandle;
|
HANDLE TokenHandle;
|
||||||
|
@ -323,7 +323,7 @@ RtlFormatCurrentUserKeyPath (OUT PUNICODE_STRING KeyPath)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlOpenCurrentUser(IN ACCESS_MASK DesiredAccess,
|
RtlOpenCurrentUser(IN ACCESS_MASK DesiredAccess,
|
||||||
OUT PHANDLE KeyHandle)
|
OUT PHANDLE KeyHandle)
|
||||||
{
|
{
|
||||||
|
@ -369,7 +369,7 @@ RtlOpenCurrentUser(IN ACCESS_MASK DesiredAccess,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlQueryRegistryValues(IN ULONG RelativeTo,
|
RtlQueryRegistryValues(IN ULONG RelativeTo,
|
||||||
IN PCWSTR Path,
|
IN PCWSTR Path,
|
||||||
IN PRTL_QUERY_REGISTRY_TABLE QueryTable,
|
IN PRTL_QUERY_REGISTRY_TABLE QueryTable,
|
||||||
|
@ -873,7 +873,7 @@ RtlQueryRegistryValues(IN ULONG RelativeTo,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlWriteRegistryValue(IN ULONG RelativeTo,
|
RtlWriteRegistryValue(IN ULONG RelativeTo,
|
||||||
IN PCWSTR Path,
|
IN PCWSTR Path,
|
||||||
IN PCWSTR ValueName,
|
IN PCWSTR ValueName,
|
||||||
|
@ -920,7 +920,7 @@ RtlWriteRegistryValue(IN ULONG RelativeTo,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlpNtCreateKey(OUT HANDLE KeyHandle,
|
RtlpNtCreateKey(OUT HANDLE KeyHandle,
|
||||||
IN ACCESS_MASK DesiredAccess,
|
IN ACCESS_MASK DesiredAccess,
|
||||||
IN POBJECT_ATTRIBUTES ObjectAttributes,
|
IN POBJECT_ATTRIBUTES ObjectAttributes,
|
||||||
|
@ -944,7 +944,7 @@ RtlpNtCreateKey(OUT HANDLE KeyHandle,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlpNtEnumerateSubKey(IN HANDLE KeyHandle,
|
RtlpNtEnumerateSubKey(IN HANDLE KeyHandle,
|
||||||
OUT PUNICODE_STRING SubKeyName,
|
OUT PUNICODE_STRING SubKeyName,
|
||||||
IN ULONG Index,
|
IN ULONG Index,
|
||||||
|
@ -998,7 +998,7 @@ RtlpNtEnumerateSubKey(IN HANDLE KeyHandle,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlpNtMakeTemporaryKey(IN HANDLE KeyHandle)
|
RtlpNtMakeTemporaryKey(IN HANDLE KeyHandle)
|
||||||
{
|
{
|
||||||
return(ZwDeleteKey(KeyHandle));
|
return(ZwDeleteKey(KeyHandle));
|
||||||
|
@ -1008,7 +1008,7 @@ RtlpNtMakeTemporaryKey(IN HANDLE KeyHandle)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlpNtOpenKey(OUT HANDLE KeyHandle,
|
RtlpNtOpenKey(OUT HANDLE KeyHandle,
|
||||||
IN ACCESS_MASK DesiredAccess,
|
IN ACCESS_MASK DesiredAccess,
|
||||||
IN POBJECT_ATTRIBUTES ObjectAttributes,
|
IN POBJECT_ATTRIBUTES ObjectAttributes,
|
||||||
|
@ -1026,7 +1026,7 @@ RtlpNtOpenKey(OUT HANDLE KeyHandle,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlpNtQueryValueKey(IN HANDLE KeyHandle,
|
RtlpNtQueryValueKey(IN HANDLE KeyHandle,
|
||||||
OUT PULONG Type OPTIONAL,
|
OUT PULONG Type OPTIONAL,
|
||||||
OUT PVOID Data OPTIONAL,
|
OUT PVOID Data OPTIONAL,
|
||||||
|
@ -1081,7 +1081,7 @@ RtlpNtQueryValueKey(IN HANDLE KeyHandle,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlpNtSetValueKey(IN HANDLE KeyHandle,
|
RtlpNtSetValueKey(IN HANDLE KeyHandle,
|
||||||
IN ULONG Type,
|
IN ULONG Type,
|
||||||
IN PVOID Data,
|
IN PVOID Data,
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlInitializeResource(PRTL_RESOURCE Resource)
|
RtlInitializeResource(PRTL_RESOURCE Resource)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
@ -62,7 +62,7 @@ RtlInitializeResource(PRTL_RESOURCE Resource)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlDeleteResource(PRTL_RESOURCE Resource)
|
RtlDeleteResource(PRTL_RESOURCE Resource)
|
||||||
{
|
{
|
||||||
RtlDeleteCriticalSection(&Resource->Lock);
|
RtlDeleteCriticalSection(&Resource->Lock);
|
||||||
|
@ -78,7 +78,7 @@ RtlDeleteResource(PRTL_RESOURCE Resource)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlAcquireResourceExclusive(PRTL_RESOURCE Resource,
|
RtlAcquireResourceExclusive(PRTL_RESOURCE Resource,
|
||||||
BOOLEAN Wait)
|
BOOLEAN Wait)
|
||||||
{
|
{
|
||||||
|
@ -130,7 +130,7 @@ done:
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlAcquireResourceShared(PRTL_RESOURCE Resource,
|
RtlAcquireResourceShared(PRTL_RESOURCE Resource,
|
||||||
BOOLEAN Wait)
|
BOOLEAN Wait)
|
||||||
{
|
{
|
||||||
|
@ -175,7 +175,7 @@ done:
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlConvertExclusiveToShared(PRTL_RESOURCE Resource)
|
RtlConvertExclusiveToShared(PRTL_RESOURCE Resource)
|
||||||
{
|
{
|
||||||
RtlEnterCriticalSection(&Resource->Lock);
|
RtlEnterCriticalSection(&Resource->Lock);
|
||||||
|
@ -209,7 +209,7 @@ RtlConvertExclusiveToShared(PRTL_RESOURCE Resource)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlConvertSharedToExclusive(PRTL_RESOURCE Resource)
|
RtlConvertSharedToExclusive(PRTL_RESOURCE Resource)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
@ -243,7 +243,7 @@ RtlConvertSharedToExclusive(PRTL_RESOURCE Resource)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlReleaseResource(PRTL_RESOURCE Resource)
|
RtlReleaseResource(PRTL_RESOURCE Resource)
|
||||||
{
|
{
|
||||||
RtlEnterCriticalSection(&Resource->Lock);
|
RtlEnterCriticalSection(&Resource->Lock);
|
||||||
|
@ -297,7 +297,7 @@ wake_exclusive:
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlDumpResource(PRTL_RESOURCE Resource)
|
RtlDumpResource(PRTL_RESOURCE Resource)
|
||||||
{
|
{
|
||||||
DbgPrint("RtlDumpResource(%p):\n\tactive count = %i\n\twaiting readers = %i\n\twaiting writers = %i\n",
|
DbgPrint("RtlDumpResource(%p):\n\tactive count = %i\n\twaiting readers = %i\n\twaiting writers = %i\n",
|
||||||
|
|
|
@ -11,18 +11,17 @@
|
||||||
/* We're a core NT DLL, we don't import syscalls */
|
/* We're a core NT DLL, we don't import syscalls */
|
||||||
#define _NTSYSTEM_
|
#define _NTSYSTEM_
|
||||||
#define _NTDLLBUILD_
|
#define _NTDLLBUILD_
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
|
#define NTOS_MODE_USER
|
||||||
|
#define _INC_SWPRINTF_INL_
|
||||||
|
|
||||||
/* C Headers */
|
/* C Headers */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/* PSDK/NDK Headers */
|
/* PSDK/NDK Headers */
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
/* Helper Header */
|
|
||||||
#include <reactos/helper.h>
|
|
||||||
|
|
||||||
/* Internal RTL header */
|
/* Internal RTL header */
|
||||||
#include "rtlp.h"
|
#include "rtlp.h"
|
||||||
|
|
||||||
|
|
|
@ -18,35 +18,35 @@ extern VOID FASTCALL CHECK_PAGED_CODE_RTL(char *file, int line);
|
||||||
|
|
||||||
/* These provide support for sharing code between User and Kernel RTL */
|
/* These provide support for sharing code between User and Kernel RTL */
|
||||||
PVOID
|
PVOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpAllocateMemory(
|
RtlpAllocateMemory(
|
||||||
ULONG Bytes,
|
ULONG Bytes,
|
||||||
ULONG Tag);
|
ULONG Tag);
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpFreeMemory(
|
RtlpFreeMemory(
|
||||||
PVOID Mem,
|
PVOID Mem,
|
||||||
ULONG Tag);
|
ULONG Tag);
|
||||||
|
|
||||||
KPROCESSOR_MODE
|
KPROCESSOR_MODE
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpGetMode(VOID);
|
RtlpGetMode(VOID);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
|
RtlDeleteHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEnterHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
|
RtlEnterHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitializeHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
|
RtlInitializeHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLeaveHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
|
RtlLeaveHeapLock(PRTL_CRITICAL_SECTION CriticalSection);
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
@ -70,7 +70,7 @@ RtlpSetInDbgPrint(IN BOOLEAN NewValue);
|
||||||
/* i386/except.S */
|
/* i386/except.S */
|
||||||
|
|
||||||
EXCEPTION_DISPOSITION
|
EXCEPTION_DISPOSITION
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpExecuteHandlerForException(PEXCEPTION_RECORD ExceptionRecord,
|
RtlpExecuteHandlerForException(PEXCEPTION_RECORD ExceptionRecord,
|
||||||
PEXCEPTION_REGISTRATION_RECORD RegistrationFrame,
|
PEXCEPTION_REGISTRATION_RECORD RegistrationFrame,
|
||||||
PCONTEXT Context,
|
PCONTEXT Context,
|
||||||
|
@ -78,7 +78,7 @@ RtlpExecuteHandlerForException(PEXCEPTION_RECORD ExceptionRecord,
|
||||||
PEXCEPTION_HANDLER ExceptionHandler);
|
PEXCEPTION_HANDLER ExceptionHandler);
|
||||||
|
|
||||||
EXCEPTION_DISPOSITION
|
EXCEPTION_DISPOSITION
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpExecuteHandlerForUnwind(PEXCEPTION_RECORD ExceptionRecord,
|
RtlpExecuteHandlerForUnwind(PEXCEPTION_RECORD ExceptionRecord,
|
||||||
PEXCEPTION_REGISTRATION_RECORD RegistrationFrame,
|
PEXCEPTION_REGISTRATION_RECORD RegistrationFrame,
|
||||||
PCONTEXT Context,
|
PCONTEXT Context,
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
|
|
||||||
static VOID
|
static VOID
|
||||||
RtlpQuerySecurityDescriptorPointers(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlpQuerySecurityDescriptorPointers(IN PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
OUT PSID *Owner OPTIONAL,
|
OUT PSID *Owner OPTIONAL,
|
||||||
OUT PSID *Group OPTIONAL,
|
OUT PSID *Group OPTIONAL,
|
||||||
OUT PACL *Sacl OPTIONAL,
|
OUT PACL *Sacl OPTIONAL,
|
||||||
|
@ -107,8 +107,8 @@ RtlpQuerySecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlCreateSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
ULONG Revision)
|
ULONG Revision)
|
||||||
{
|
{
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
|
@ -130,7 +130,7 @@ RtlCreateSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCreateSecurityDescriptorRelative (PISECURITY_DESCRIPTOR_RELATIVE SecurityDescriptor,
|
RtlCreateSecurityDescriptorRelative (PISECURITY_DESCRIPTOR_RELATIVE SecurityDescriptor,
|
||||||
ULONG Revision)
|
ULONG Revision)
|
||||||
{
|
{
|
||||||
|
@ -156,7 +156,7 @@ RtlCreateSecurityDescriptorRelative (PISECURITY_DESCRIPTOR_RELATIVE SecurityDesc
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
|
RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
|
||||||
{
|
{
|
||||||
PSID Owner, Group;
|
PSID Owner, Group;
|
||||||
|
@ -198,8 +198,8 @@ RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlGetDaclSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PBOOLEAN DaclPresent,
|
PBOOLEAN DaclPresent,
|
||||||
PACL* Dacl,
|
PACL* Dacl,
|
||||||
PBOOLEAN DaclDefaulted)
|
PBOOLEAN DaclDefaulted)
|
||||||
|
@ -233,8 +233,8 @@ RtlGetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlSetDaclSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
BOOLEAN DaclPresent,
|
BOOLEAN DaclPresent,
|
||||||
PACL Dacl,
|
PACL Dacl,
|
||||||
BOOLEAN DaclDefaulted)
|
BOOLEAN DaclDefaulted)
|
||||||
|
@ -273,8 +273,8 @@ RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlValidSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
|
RtlValidSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor)
|
||||||
{
|
{
|
||||||
PSID Owner, Group;
|
PSID Owner, Group;
|
||||||
PACL Sacl, Dacl;
|
PACL Sacl, Dacl;
|
||||||
|
@ -307,8 +307,8 @@ RtlValidSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlSetOwnerSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PSID Owner,
|
PSID Owner,
|
||||||
BOOLEAN OwnerDefaulted)
|
BOOLEAN OwnerDefaulted)
|
||||||
{
|
{
|
||||||
|
@ -339,8 +339,8 @@ RtlSetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlGetOwnerSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PSID* Owner,
|
PSID* Owner,
|
||||||
PBOOLEAN OwnerDefaulted)
|
PBOOLEAN OwnerDefaulted)
|
||||||
{
|
{
|
||||||
|
@ -366,8 +366,8 @@ RtlGetOwnerSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlSetGroupSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PSID Group,
|
PSID Group,
|
||||||
BOOLEAN GroupDefaulted)
|
BOOLEAN GroupDefaulted)
|
||||||
{
|
{
|
||||||
|
@ -397,8 +397,8 @@ RtlSetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlGetGroupSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PSID* Group,
|
PSID* Group,
|
||||||
PBOOLEAN GroupDefaulted)
|
PBOOLEAN GroupDefaulted)
|
||||||
{
|
{
|
||||||
|
@ -424,8 +424,8 @@ RtlGetGroupSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlMakeSelfRelativeSD(PSECURITY_DESCRIPTOR AbsSD,
|
RtlMakeSelfRelativeSD(PISECURITY_DESCRIPTOR AbsSD,
|
||||||
PISECURITY_DESCRIPTOR_RELATIVE RelSD,
|
PISECURITY_DESCRIPTOR_RELATIVE RelSD,
|
||||||
PULONG BufferLength)
|
PULONG BufferLength)
|
||||||
{
|
{
|
||||||
|
@ -509,9 +509,9 @@ RtlMakeSelfRelativeSD(PSECURITY_DESCRIPTOR AbsSD,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAbsoluteToSelfRelativeSD(PSECURITY_DESCRIPTOR AbsSD,
|
RtlAbsoluteToSelfRelativeSD(PISECURITY_DESCRIPTOR AbsSD,
|
||||||
PSECURITY_DESCRIPTOR RelSD,
|
PISECURITY_DESCRIPTOR RelSD,
|
||||||
PULONG BufferLength)
|
PULONG BufferLength)
|
||||||
{
|
{
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
|
@ -528,8 +528,8 @@ RtlAbsoluteToSelfRelativeSD(PSECURITY_DESCRIPTOR AbsSD,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetControlSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlGetControlSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PSECURITY_DESCRIPTOR_CONTROL Control,
|
PSECURITY_DESCRIPTOR_CONTROL Control,
|
||||||
PULONG Revision)
|
PULONG Revision)
|
||||||
{
|
{
|
||||||
|
@ -551,8 +551,8 @@ RtlGetControlSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetControlSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlSetControlSecurityDescriptor(IN PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
IN SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest,
|
IN SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest,
|
||||||
IN SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet)
|
IN SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet)
|
||||||
{
|
{
|
||||||
|
@ -576,8 +576,8 @@ RtlSetControlSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlGetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlGetSaclSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PBOOLEAN SaclPresent,
|
PBOOLEAN SaclPresent,
|
||||||
PACL *Sacl,
|
PACL *Sacl,
|
||||||
PBOOLEAN SaclDefaulted)
|
PBOOLEAN SaclDefaulted)
|
||||||
|
@ -611,8 +611,8 @@ RtlGetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlSetSaclSecurityDescriptor(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
BOOLEAN SaclPresent,
|
BOOLEAN SaclPresent,
|
||||||
PACL Sacl,
|
PACL Sacl,
|
||||||
BOOLEAN SaclDefaulted)
|
BOOLEAN SaclDefaulted)
|
||||||
|
@ -651,9 +651,9 @@ RtlSetSaclSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSelfRelativeToAbsoluteSD(PSECURITY_DESCRIPTOR RelSD,
|
RtlSelfRelativeToAbsoluteSD(PISECURITY_DESCRIPTOR RelSD,
|
||||||
PSECURITY_DESCRIPTOR AbsSD,
|
PISECURITY_DESCRIPTOR AbsSD,
|
||||||
PDWORD AbsSDSize,
|
PDWORD AbsSDSize,
|
||||||
PACL Dacl,
|
PACL Dacl,
|
||||||
PDWORD DaclSize,
|
PDWORD DaclSize,
|
||||||
|
@ -728,7 +728,7 @@ RtlSelfRelativeToAbsoluteSD(PSECURITY_DESCRIPTOR RelSD,
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSelfRelativeToAbsoluteSD2(PISECURITY_DESCRIPTOR_RELATIVE SelfRelativeSecurityDescriptor,
|
RtlSelfRelativeToAbsoluteSD2(PISECURITY_DESCRIPTOR_RELATIVE SelfRelativeSecurityDescriptor,
|
||||||
PULONG BufferSize)
|
PULONG BufferSize)
|
||||||
{
|
{
|
||||||
|
@ -740,8 +740,8 @@ RtlSelfRelativeToAbsoluteSD2(PISECURITY_DESCRIPTOR_RELATIVE SelfRelativeSecurity
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlValidRelativeSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptorInput,
|
RtlValidRelativeSecurityDescriptor(IN PISECURITY_DESCRIPTOR SecurityDescriptorInput,
|
||||||
IN ULONG SecurityDescriptorLength,
|
IN ULONG SecurityDescriptorLength,
|
||||||
IN SECURITY_INFORMATION RequiredInformation)
|
IN SECURITY_INFORMATION RequiredInformation)
|
||||||
{
|
{
|
||||||
|
@ -813,8 +813,8 @@ RtlValidRelativeSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptorInp
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlGetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlGetSecurityDescriptorRMControl(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PUCHAR RMControl)
|
PUCHAR RMControl)
|
||||||
{
|
{
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
|
@ -834,8 +834,8 @@ RtlGetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlSetSecurityDescriptorRMControl(PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
PUCHAR RMControl)
|
PUCHAR RMControl)
|
||||||
{
|
{
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
|
@ -856,8 +856,8 @@ RtlSetSecurityDescriptorRMControl(PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetAttributesSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
RtlSetAttributesSecurityDescriptor(IN PISECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
IN SECURITY_DESCRIPTOR_CONTROL Control,
|
IN SECURITY_DESCRIPTOR_CONTROL Control,
|
||||||
OUT PULONG Revision)
|
OUT PULONG Revision)
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlImpersonateSelf(IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
|
RtlImpersonateSelf(IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
|
||||||
{
|
{
|
||||||
HANDLE ProcessToken;
|
HANDLE ProcessToken;
|
||||||
|
@ -85,7 +85,7 @@ RtlImpersonateSelf(IN SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAdjustPrivilege(IN ULONG Privilege,
|
RtlAdjustPrivilege(IN ULONG Privilege,
|
||||||
IN BOOLEAN Enable,
|
IN BOOLEAN Enable,
|
||||||
IN BOOLEAN CurrentThread,
|
IN BOOLEAN CurrentThread,
|
||||||
|
@ -164,7 +164,7 @@ RtlAdjustPrivilege(IN ULONG Privilege,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteSecurityObject(IN PSECURITY_DESCRIPTOR *ObjectDescriptor)
|
RtlDeleteSecurityObject(IN PSECURITY_DESCRIPTOR *ObjectDescriptor)
|
||||||
{
|
{
|
||||||
DPRINT("RtlDeleteSecurityObject(%p)\n", ObjectDescriptor);
|
DPRINT("RtlDeleteSecurityObject(%p)\n", ObjectDescriptor);
|
||||||
|
@ -181,7 +181,7 @@ RtlDeleteSecurityObject(IN PSECURITY_DESCRIPTOR *ObjectDescriptor)
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlNewSecurityObject(IN PSECURITY_DESCRIPTOR ParentDescriptor,
|
RtlNewSecurityObject(IN PSECURITY_DESCRIPTOR ParentDescriptor,
|
||||||
IN PSECURITY_DESCRIPTOR CreatorDescriptor,
|
IN PSECURITY_DESCRIPTOR CreatorDescriptor,
|
||||||
OUT PSECURITY_DESCRIPTOR *NewDescriptor,
|
OUT PSECURITY_DESCRIPTOR *NewDescriptor,
|
||||||
|
@ -198,7 +198,7 @@ RtlNewSecurityObject(IN PSECURITY_DESCRIPTOR ParentDescriptor,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlQuerySecurityObject(IN PSECURITY_DESCRIPTOR ObjectDescriptor,
|
RtlQuerySecurityObject(IN PSECURITY_DESCRIPTOR ObjectDescriptor,
|
||||||
IN SECURITY_INFORMATION SecurityInformation,
|
IN SECURITY_INFORMATION SecurityInformation,
|
||||||
OUT PSECURITY_DESCRIPTOR ResultantDescriptor,
|
OUT PSECURITY_DESCRIPTOR ResultantDescriptor,
|
||||||
|
@ -214,7 +214,7 @@ RtlQuerySecurityObject(IN PSECURITY_DESCRIPTOR ObjectDescriptor,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlSetSecurityObject(IN SECURITY_INFORMATION SecurityInformation,
|
RtlSetSecurityObject(IN SECURITY_INFORMATION SecurityInformation,
|
||||||
IN PSECURITY_DESCRIPTOR ModificationDescriptor,
|
IN PSECURITY_DESCRIPTOR ModificationDescriptor,
|
||||||
OUT PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor,
|
OUT PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor,
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
/* FUNCTIONS ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlValidSid(IN PSID Sid_)
|
RtlValidSid(IN PSID Sid_)
|
||||||
{
|
{
|
||||||
PISID Sid = Sid_;
|
PISID Sid = Sid_;
|
||||||
|
@ -37,7 +37,7 @@ RtlValidSid(IN PSID Sid_)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlLengthRequiredSid(IN ULONG SubAuthorityCount)
|
RtlLengthRequiredSid(IN ULONG SubAuthorityCount)
|
||||||
{
|
{
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
|
@ -50,7 +50,7 @@ RtlLengthRequiredSid(IN ULONG SubAuthorityCount)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlInitializeSid(IN PSID Sid_,
|
RtlInitializeSid(IN PSID Sid_,
|
||||||
IN PSID_IDENTIFIER_AUTHORITY IdentifierAuthority,
|
IN PSID_IDENTIFIER_AUTHORITY IdentifierAuthority,
|
||||||
IN UCHAR SubAuthorityCount)
|
IN UCHAR SubAuthorityCount)
|
||||||
|
@ -72,7 +72,7 @@ RtlInitializeSid(IN PSID Sid_,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PULONG STDCALL
|
PULONG NTAPI
|
||||||
RtlSubAuthoritySid(IN PSID Sid_,
|
RtlSubAuthoritySid(IN PSID Sid_,
|
||||||
IN ULONG SubAuthority)
|
IN ULONG SubAuthority)
|
||||||
{
|
{
|
||||||
|
@ -87,7 +87,7 @@ RtlSubAuthoritySid(IN PSID Sid_,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PUCHAR STDCALL
|
PUCHAR NTAPI
|
||||||
RtlSubAuthorityCountSid(IN PSID Sid_)
|
RtlSubAuthorityCountSid(IN PSID Sid_)
|
||||||
{
|
{
|
||||||
PISID Sid = Sid_;
|
PISID Sid = Sid_;
|
||||||
|
@ -101,7 +101,7 @@ RtlSubAuthorityCountSid(IN PSID Sid_)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlEqualSid(IN PSID Sid1_,
|
RtlEqualSid(IN PSID Sid1_,
|
||||||
IN PSID Sid2_)
|
IN PSID Sid2_)
|
||||||
{
|
{
|
||||||
|
@ -125,7 +125,7 @@ RtlEqualSid(IN PSID Sid1_,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlLengthSid(IN PSID Sid_)
|
RtlLengthSid(IN PSID Sid_)
|
||||||
{
|
{
|
||||||
PISID Sid = Sid_;
|
PISID Sid = Sid_;
|
||||||
|
@ -140,7 +140,7 @@ RtlLengthSid(IN PSID Sid_)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCopySid(ULONG BufferLength,
|
RtlCopySid(ULONG BufferLength,
|
||||||
PSID Dest,
|
PSID Dest,
|
||||||
PSID Src)
|
PSID Src)
|
||||||
|
@ -163,7 +163,7 @@ RtlCopySid(ULONG BufferLength,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlCopySidAndAttributesArray(ULONG Count,
|
RtlCopySidAndAttributesArray(ULONG Count,
|
||||||
PSID_AND_ATTRIBUTES Src,
|
PSID_AND_ATTRIBUTES Src,
|
||||||
ULONG SidAreaSize,
|
ULONG SidAreaSize,
|
||||||
|
@ -204,7 +204,7 @@ RtlCopySidAndAttributesArray(ULONG Count,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PSID_IDENTIFIER_AUTHORITY STDCALL
|
PSID_IDENTIFIER_AUTHORITY NTAPI
|
||||||
RtlIdentifierAuthoritySid(IN PSID Sid_)
|
RtlIdentifierAuthoritySid(IN PSID Sid_)
|
||||||
{
|
{
|
||||||
PISID Sid = Sid_;
|
PISID Sid = Sid_;
|
||||||
|
@ -218,7 +218,7 @@ RtlIdentifierAuthoritySid(IN PSID Sid_)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlAllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY IdentifierAuthority,
|
RtlAllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY IdentifierAuthority,
|
||||||
UCHAR SubAuthorityCount,
|
UCHAR SubAuthorityCount,
|
||||||
ULONG SubAuthority0,
|
ULONG SubAuthority0,
|
||||||
|
@ -286,7 +286,7 @@ RtlAllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY IdentifierAuthority,
|
||||||
* Docs says FreeSid does NOT return a value
|
* Docs says FreeSid does NOT return a value
|
||||||
* even thou it's defined to return a PVOID...
|
* even thou it's defined to return a PVOID...
|
||||||
*/
|
*/
|
||||||
PVOID STDCALL
|
PVOID NTAPI
|
||||||
RtlFreeSid(IN PSID Sid)
|
RtlFreeSid(IN PSID Sid)
|
||||||
{
|
{
|
||||||
PAGED_CODE_RTL();
|
PAGED_CODE_RTL();
|
||||||
|
@ -299,7 +299,7 @@ RtlFreeSid(IN PSID Sid)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlEqualPrefixSid(IN PSID Sid1_,
|
RtlEqualPrefixSid(IN PSID Sid1_,
|
||||||
IN PSID Sid2_)
|
IN PSID Sid2_)
|
||||||
{
|
{
|
||||||
|
@ -317,7 +317,7 @@ RtlEqualPrefixSid(IN PSID Sid1_,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlConvertSidToUnicodeString(PUNICODE_STRING String,
|
RtlConvertSidToUnicodeString(PUNICODE_STRING String,
|
||||||
PSID Sid_,
|
PSID Sid_,
|
||||||
BOOLEAN AllocateBuffer)
|
BOOLEAN AllocateBuffer)
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PRTL_SPLAY_LINKS
|
PRTL_SPLAY_LINKS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDelete (
|
RtlDelete (
|
||||||
PRTL_SPLAY_LINKS Links
|
PRTL_SPLAY_LINKS Links
|
||||||
)
|
)
|
||||||
|
@ -32,7 +32,7 @@ RtlDelete (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteNoSplay (
|
RtlDeleteNoSplay (
|
||||||
PRTL_SPLAY_LINKS Links,
|
PRTL_SPLAY_LINKS Links,
|
||||||
PRTL_SPLAY_LINKS *Root
|
PRTL_SPLAY_LINKS *Root
|
||||||
|
@ -46,7 +46,7 @@ RtlDeleteNoSplay (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PRTL_SPLAY_LINKS
|
PRTL_SPLAY_LINKS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlRealPredecessor (
|
RtlRealPredecessor (
|
||||||
PRTL_SPLAY_LINKS Links
|
PRTL_SPLAY_LINKS Links
|
||||||
)
|
)
|
||||||
|
@ -59,7 +59,7 @@ RtlRealPredecessor (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PRTL_SPLAY_LINKS
|
PRTL_SPLAY_LINKS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlRealSuccessor (
|
RtlRealSuccessor (
|
||||||
PRTL_SPLAY_LINKS Links
|
PRTL_SPLAY_LINKS Links
|
||||||
)
|
)
|
||||||
|
@ -72,7 +72,7 @@ RtlRealSuccessor (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PRTL_SPLAY_LINKS
|
PRTL_SPLAY_LINKS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlSplay (
|
RtlSplay (
|
||||||
PRTL_SPLAY_LINKS Links
|
PRTL_SPLAY_LINKS Links
|
||||||
)
|
)
|
||||||
|
@ -85,7 +85,7 @@ RtlSplay (
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PRTL_SPLAY_LINKS STDCALL
|
PRTL_SPLAY_LINKS NTAPI
|
||||||
RtlSubtreePredecessor (IN PRTL_SPLAY_LINKS Links)
|
RtlSubtreePredecessor (IN PRTL_SPLAY_LINKS Links)
|
||||||
{
|
{
|
||||||
PRTL_SPLAY_LINKS Child;
|
PRTL_SPLAY_LINKS Child;
|
||||||
|
@ -107,7 +107,7 @@ RtlSubtreePredecessor (IN PRTL_SPLAY_LINKS Links)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PRTL_SPLAY_LINKS STDCALL
|
PRTL_SPLAY_LINKS NTAPI
|
||||||
RtlSubtreeSuccessor (IN PRTL_SPLAY_LINKS Links)
|
RtlSubtreeSuccessor (IN PRTL_SPLAY_LINKS Links)
|
||||||
{
|
{
|
||||||
PRTL_SPLAY_LINKS Child;
|
PRTL_SPLAY_LINKS Child;
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
/* PRIVATE FUNCTIONS *******************************************************/
|
/* PRIVATE FUNCTIONS *******************************************************/
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpCreateUserStack(HANDLE hProcess,
|
RtlpCreateUserStack(HANDLE hProcess,
|
||||||
ULONG StackReserve,
|
ULONG StackReserve,
|
||||||
ULONG StackCommit,
|
ULONG StackCommit,
|
||||||
|
@ -154,7 +154,7 @@ RtlpCreateUserStack(HANDLE hProcess,
|
||||||
}
|
}
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlpFreeUserStack(HANDLE hProcess,
|
RtlpFreeUserStack(HANDLE hProcess,
|
||||||
PINITIAL_TEB InitialTeb)
|
PINITIAL_TEB InitialTeb)
|
||||||
{
|
{
|
||||||
|
@ -173,7 +173,7 @@ RtlpFreeUserStack(HANDLE hProcess,
|
||||||
@implemented
|
@implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCreateUserThread(HANDLE ProcessHandle,
|
RtlCreateUserThread(HANDLE ProcessHandle,
|
||||||
PSECURITY_DESCRIPTOR SecurityDescriptor,
|
PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
BOOLEAN CreateSuspended,
|
BOOLEAN CreateSuspended,
|
||||||
|
@ -254,7 +254,7 @@ RtlCreateUserThread(HANDLE ProcessHandle,
|
||||||
@implemented
|
@implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitializeContext(IN HANDLE ProcessHandle,
|
RtlInitializeContext(IN HANDLE ProcessHandle,
|
||||||
OUT PCONTEXT ThreadContext,
|
OUT PCONTEXT ThreadContext,
|
||||||
IN PVOID ThreadStartParam OPTIONAL,
|
IN PVOID ThreadStartParam OPTIONAL,
|
||||||
|
@ -312,7 +312,7 @@ RtlInitializeContext(IN HANDLE ProcessHandle,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlExitUserThread(NTSTATUS Status)
|
RtlExitUserThread(NTSTATUS Status)
|
||||||
{
|
{
|
||||||
/* Call the Loader and tell him to notify the DLLs */
|
/* Call the Loader and tell him to notify the DLLs */
|
||||||
|
@ -327,7 +327,7 @@ RtlExitUserThread(NTSTATUS Status)
|
||||||
@implemented
|
@implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlFreeUserThreadStack(HANDLE ProcessHandle,
|
RtlFreeUserThreadStack(HANDLE ProcessHandle,
|
||||||
HANDLE ThreadHandle)
|
HANDLE ThreadHandle)
|
||||||
{
|
{
|
||||||
|
@ -366,7 +366,7 @@ RtlFreeUserThreadStack(HANDLE ProcessHandle,
|
||||||
}
|
}
|
||||||
|
|
||||||
PTEB
|
PTEB
|
||||||
STDCALL
|
NTAPI
|
||||||
_NtCurrentTeb(VOID)
|
_NtCurrentTeb(VOID)
|
||||||
{
|
{
|
||||||
/* Return the TEB */
|
/* Return the TEB */
|
||||||
|
|
|
@ -65,7 +65,7 @@ static __inline void NormalizeTimeFields(CSHORT *FieldToNormalize,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN STDCALL
|
BOOLEAN NTAPI
|
||||||
RtlCutoverTimeToSystemTime(IN PTIME_FIELDS CutoverTimeFields,
|
RtlCutoverTimeToSystemTime(IN PTIME_FIELDS CutoverTimeFields,
|
||||||
OUT PLARGE_INTEGER SystemTime,
|
OUT PLARGE_INTEGER SystemTime,
|
||||||
IN PLARGE_INTEGER CurrentTime,
|
IN PLARGE_INTEGER CurrentTime,
|
||||||
|
@ -165,7 +165,7 @@ RtlCutoverTimeToSystemTime(IN PTIME_FIELDS CutoverTimeFields,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlTimeFieldsToTime(
|
RtlTimeFieldsToTime(
|
||||||
IN PTIME_FIELDS TimeFields,
|
IN PTIME_FIELDS TimeFields,
|
||||||
OUT PLARGE_INTEGER Time)
|
OUT PLARGE_INTEGER Time)
|
||||||
|
@ -236,7 +236,7 @@ RtlTimeFieldsToTime(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlTimeToElapsedTimeFields(IN PLARGE_INTEGER Time,
|
RtlTimeToElapsedTimeFields(IN PLARGE_INTEGER Time,
|
||||||
OUT PTIME_FIELDS TimeFields)
|
OUT PTIME_FIELDS TimeFields)
|
||||||
{
|
{
|
||||||
|
@ -274,7 +274,7 @@ RtlTimeToElapsedTimeFields(IN PLARGE_INTEGER Time,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlTimeToTimeFields(
|
RtlTimeToTimeFields(
|
||||||
IN PLARGE_INTEGER Time,
|
IN PLARGE_INTEGER Time,
|
||||||
OUT PTIME_FIELDS TimeFields)
|
OUT PTIME_FIELDS TimeFields)
|
||||||
|
@ -348,7 +348,7 @@ RtlTimeToTimeFields(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlTimeToSecondsSince1970(
|
RtlTimeToSecondsSince1970(
|
||||||
IN PLARGE_INTEGER Time,
|
IN PLARGE_INTEGER Time,
|
||||||
OUT PULONG SecondsSince1970)
|
OUT PULONG SecondsSince1970)
|
||||||
|
@ -371,7 +371,7 @@ RtlTimeToSecondsSince1970(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlTimeToSecondsSince1980(
|
RtlTimeToSecondsSince1980(
|
||||||
IN PLARGE_INTEGER Time,
|
IN PLARGE_INTEGER Time,
|
||||||
OUT PULONG SecondsSince1980)
|
OUT PULONG SecondsSince1980)
|
||||||
|
@ -394,7 +394,7 @@ RtlTimeToSecondsSince1980(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLocalTimeToSystemTime(IN PLARGE_INTEGER LocalTime,
|
RtlLocalTimeToSystemTime(IN PLARGE_INTEGER LocalTime,
|
||||||
OUT PLARGE_INTEGER SystemTime)
|
OUT PLARGE_INTEGER SystemTime)
|
||||||
{
|
{
|
||||||
|
@ -419,7 +419,7 @@ RtlLocalTimeToSystemTime(IN PLARGE_INTEGER LocalTime,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlSystemTimeToLocalTime(IN PLARGE_INTEGER SystemTime,
|
RtlSystemTimeToLocalTime(IN PLARGE_INTEGER SystemTime,
|
||||||
OUT PLARGE_INTEGER LocalTime)
|
OUT PLARGE_INTEGER LocalTime)
|
||||||
{
|
{
|
||||||
|
@ -443,7 +443,7 @@ RtlSystemTimeToLocalTime(IN PLARGE_INTEGER SystemTime,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSecondsSince1970ToTime(
|
RtlSecondsSince1970ToTime(
|
||||||
IN ULONG SecondsSince1970,
|
IN ULONG SecondsSince1970,
|
||||||
OUT PLARGE_INTEGER Time)
|
OUT PLARGE_INTEGER Time)
|
||||||
|
@ -455,7 +455,7 @@ RtlSecondsSince1970ToTime(
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID STDCALL
|
VOID NTAPI
|
||||||
RtlSecondsSince1980ToTime(
|
RtlSecondsSince1980ToTime(
|
||||||
IN ULONG SecondsSince1980,
|
IN ULONG SecondsSince1980,
|
||||||
OUT PLARGE_INTEGER Time)
|
OUT PLARGE_INTEGER Time)
|
||||||
|
|
|
@ -21,7 +21,7 @@ typedef VOID (CALLBACK *WAITORTIMERCALLBACKFUNC) (PVOID, BOOLEAN );
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCreateTimer(HANDLE TimerQueue,
|
RtlCreateTimer(HANDLE TimerQueue,
|
||||||
PHANDLE phNewTimer,
|
PHANDLE phNewTimer,
|
||||||
WAITORTIMERCALLBACKFUNC Callback,
|
WAITORTIMERCALLBACKFUNC Callback,
|
||||||
|
@ -39,7 +39,7 @@ RtlCreateTimer(HANDLE TimerQueue,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCreateTimerQueue(PHANDLE TimerQueue)
|
RtlCreateTimerQueue(PHANDLE TimerQueue)
|
||||||
{
|
{
|
||||||
DPRINT1("RtlCreateTimerQueue: stub\n");
|
DPRINT1("RtlCreateTimerQueue: stub\n");
|
||||||
|
@ -51,7 +51,7 @@ RtlCreateTimerQueue(PHANDLE TimerQueue)
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteTimer(HANDLE TimerQueue,
|
RtlDeleteTimer(HANDLE TimerQueue,
|
||||||
HANDLE Timer,
|
HANDLE Timer,
|
||||||
HANDLE CompletionEvent)
|
HANDLE CompletionEvent)
|
||||||
|
@ -65,7 +65,7 @@ RtlDeleteTimer(HANDLE TimerQueue,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteTimerQueue(HANDLE TimerQueue)
|
RtlDeleteTimerQueue(HANDLE TimerQueue)
|
||||||
{
|
{
|
||||||
DPRINT1("RtlDeleteTimerQueue: stub\n");
|
DPRINT1("RtlDeleteTimerQueue: stub\n");
|
||||||
|
@ -77,7 +77,7 @@ RtlDeleteTimerQueue(HANDLE TimerQueue)
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDeleteTimerQueueEx(HANDLE TimerQueue,
|
RtlDeleteTimerQueueEx(HANDLE TimerQueue,
|
||||||
HANDLE CompletionEvent)
|
HANDLE CompletionEvent)
|
||||||
{
|
{
|
||||||
|
@ -90,7 +90,7 @@ RtlDeleteTimerQueueEx(HANDLE TimerQueue,
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUpdateTimer(HANDLE TimerQueue,
|
RtlUpdateTimer(HANDLE TimerQueue,
|
||||||
HANDLE Timer,
|
HANDLE Timer,
|
||||||
ULONG DueTime,
|
ULONG DueTime,
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlQueryTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
|
RtlQueryTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
|
||||||
{
|
{
|
||||||
RTL_QUERY_REGISTRY_TABLE QueryTable[8];
|
RTL_QUERY_REGISTRY_TABLE QueryTable[8];
|
||||||
|
@ -82,7 +82,7 @@ RtlQueryTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlSetTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
|
RtlSetTimeZoneInformation(LPTIME_ZONE_INFORMATION TimeZoneInformation)
|
||||||
{
|
{
|
||||||
ULONG Length;
|
ULONG Length;
|
||||||
|
|
|
@ -27,7 +27,7 @@ extern PUSHORT NlsLeadByteInfo;
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
WCHAR
|
WCHAR
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlAnsiCharToUnicodeChar(IN PUCHAR *AnsiChar)
|
RtlAnsiCharToUnicodeChar(IN PUCHAR *AnsiChar)
|
||||||
{
|
{
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
@ -59,7 +59,7 @@ RtlAnsiCharToUnicodeChar(IN PUCHAR *AnsiChar)
|
||||||
* If the dest buffer is too small a partial copy is NOT performed!
|
* If the dest buffer is too small a partial copy is NOT performed!
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlAnsiStringToUnicodeString(
|
RtlAnsiStringToUnicodeString(
|
||||||
IN OUT PUNICODE_STRING UniDest,
|
IN OUT PUNICODE_STRING UniDest,
|
||||||
IN PANSI_STRING AnsiSource,
|
IN PANSI_STRING AnsiSource,
|
||||||
|
@ -107,7 +107,7 @@ RtlAnsiStringToUnicodeString(
|
||||||
* The calculated size in bytes including nullterm.
|
* The calculated size in bytes including nullterm.
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlxAnsiStringToUnicodeSize(IN PCANSI_STRING AnsiString)
|
RtlxAnsiStringToUnicodeSize(IN PCANSI_STRING AnsiString)
|
||||||
{
|
{
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
@ -129,7 +129,7 @@ RtlxAnsiStringToUnicodeSize(IN PCANSI_STRING AnsiString)
|
||||||
* Dest is never nullterminated.
|
* Dest is never nullterminated.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlAppendStringToString(IN PSTRING Destination,
|
RtlAppendStringToString(IN PSTRING Destination,
|
||||||
IN PSTRING Source)
|
IN PSTRING Source)
|
||||||
{
|
{
|
||||||
|
@ -161,7 +161,7 @@ RtlAppendStringToString(IN PSTRING Destination,
|
||||||
* When dest fits exactly in MaximumLength characters the nullterm is ommitted.
|
* When dest fits exactly in MaximumLength characters the nullterm is ommitted.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlAppendUnicodeStringToString(
|
RtlAppendUnicodeStringToString(
|
||||||
IN OUT PUNICODE_STRING Destination,
|
IN OUT PUNICODE_STRING Destination,
|
||||||
IN PCUNICODE_STRING Source)
|
IN PCUNICODE_STRING Source)
|
||||||
|
@ -211,7 +211,7 @@ RtlAppendUnicodeStringToString(
|
||||||
* This function does not read garbage behind '\0' as the native version does.
|
* This function does not read garbage behind '\0' as the native version does.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCharToInteger(
|
RtlCharToInteger(
|
||||||
PCSZ str, /* [I] '\0' terminated single-byte string containing a number */
|
PCSZ str, /* [I] '\0' terminated single-byte string containing a number */
|
||||||
ULONG base, /* [I] Number base for conversion (allowed 0, 2, 8, 10 or 16) */
|
ULONG base, /* [I] Number base for conversion (allowed 0, 2, 8, 10 or 16) */
|
||||||
|
@ -283,7 +283,7 @@ RtlCharToInteger(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LONG
|
LONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCompareString(
|
RtlCompareString(
|
||||||
IN PSTRING s1,
|
IN PSTRING s1,
|
||||||
IN PSTRING s2,
|
IN PSTRING s2,
|
||||||
|
@ -316,7 +316,7 @@ RtlCompareString(
|
||||||
* TRUE if strings are equal.
|
* TRUE if strings are equal.
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEqualString(
|
RtlEqualString(
|
||||||
IN PSTRING s1,
|
IN PSTRING s1,
|
||||||
IN PSTRING s2,
|
IN PSTRING s2,
|
||||||
|
@ -333,7 +333,7 @@ RtlEqualString(
|
||||||
* TRUE if strings are equal.
|
* TRUE if strings are equal.
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEqualUnicodeString(
|
RtlEqualUnicodeString(
|
||||||
IN CONST UNICODE_STRING *s1,
|
IN CONST UNICODE_STRING *s1,
|
||||||
IN CONST UNICODE_STRING *s2,
|
IN CONST UNICODE_STRING *s2,
|
||||||
|
@ -347,7 +347,7 @@ RtlEqualUnicodeString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlFreeAnsiString(IN PANSI_STRING AnsiString)
|
RtlFreeAnsiString(IN PANSI_STRING AnsiString)
|
||||||
{
|
{
|
||||||
if (AnsiString->Buffer)
|
if (AnsiString->Buffer)
|
||||||
|
@ -361,7 +361,7 @@ RtlFreeAnsiString(IN PANSI_STRING AnsiString)
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlFreeOemString(IN POEM_STRING OemString)
|
RtlFreeOemString(IN POEM_STRING OemString)
|
||||||
{
|
{
|
||||||
if (OemString->Buffer) RtlpFreeStringMemory(OemString->Buffer, TAG_OSTR);
|
if (OemString->Buffer) RtlpFreeStringMemory(OemString->Buffer, TAG_OSTR);
|
||||||
|
@ -371,7 +371,7 @@ RtlFreeOemString(IN POEM_STRING OemString)
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlFreeUnicodeString(IN PUNICODE_STRING UnicodeString)
|
RtlFreeUnicodeString(IN PUNICODE_STRING UnicodeString)
|
||||||
{
|
{
|
||||||
if (UnicodeString->Buffer)
|
if (UnicodeString->Buffer)
|
||||||
|
@ -385,7 +385,7 @@ RtlFreeUnicodeString(IN PUNICODE_STRING UnicodeString)
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIsValidOemCharacter(IN PWCHAR Char)
|
RtlIsValidOemCharacter(IN PWCHAR Char)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
|
@ -399,7 +399,7 @@ RtlIsValidOemCharacter(IN PWCHAR Char)
|
||||||
* If source is NULL the length of source is assumed to be 0.
|
* If source is NULL the length of source is assumed to be 0.
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitAnsiString(IN OUT PANSI_STRING DestinationString,
|
RtlInitAnsiString(IN OUT PANSI_STRING DestinationString,
|
||||||
IN PCSZ SourceString)
|
IN PCSZ SourceString)
|
||||||
{
|
{
|
||||||
|
@ -427,7 +427,7 @@ RtlInitAnsiString(IN OUT PANSI_STRING DestinationString,
|
||||||
* If source is NULL the length of source is assumed to be 0.
|
* If source is NULL the length of source is assumed to be 0.
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitString(
|
RtlInitString(
|
||||||
IN OUT PSTRING DestinationString,
|
IN OUT PSTRING DestinationString,
|
||||||
IN PCSZ SourceString)
|
IN PCSZ SourceString)
|
||||||
|
@ -442,7 +442,7 @@ RtlInitString(
|
||||||
* If source is NULL the length of source is assumed to be 0.
|
* If source is NULL the length of source is assumed to be 0.
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitUnicodeString(IN OUT PUNICODE_STRING DestinationString,
|
RtlInitUnicodeString(IN OUT PUNICODE_STRING DestinationString,
|
||||||
IN PCWSTR SourceString)
|
IN PCWSTR SourceString)
|
||||||
{
|
{
|
||||||
|
@ -467,7 +467,7 @@ RtlInitUnicodeString(IN OUT PUNICODE_STRING DestinationString,
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitUnicodeStringEx(OUT PUNICODE_STRING DestinationString,
|
RtlInitUnicodeStringEx(OUT PUNICODE_STRING DestinationString,
|
||||||
IN PCWSTR SourceString)
|
IN PCWSTR SourceString)
|
||||||
{
|
{
|
||||||
|
@ -499,7 +499,7 @@ RtlInitUnicodeStringEx(OUT PUNICODE_STRING DestinationString,
|
||||||
* When str fits exactly in length characters the nullterm is ommitted.
|
* When str fits exactly in length characters the nullterm is ommitted.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIntegerToChar(
|
RtlIntegerToChar(
|
||||||
IN ULONG Value,
|
IN ULONG Value,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
@ -552,7 +552,7 @@ RtlIntegerToChar(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIntegerToUnicode(
|
RtlIntegerToUnicode(
|
||||||
IN ULONG Value,
|
IN ULONG Value,
|
||||||
IN ULONG Base OPTIONAL,
|
IN ULONG Base OPTIONAL,
|
||||||
|
@ -606,7 +606,7 @@ RtlIntegerToUnicode(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlIntegerToUnicodeString(
|
RtlIntegerToUnicodeString(
|
||||||
IN ULONG Value,
|
IN ULONG Value,
|
||||||
IN ULONG Base OPTIONAL,
|
IN ULONG Base OPTIONAL,
|
||||||
|
@ -633,7 +633,7 @@ RtlIntegerToUnicodeString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInt64ToUnicodeString (
|
RtlInt64ToUnicodeString (
|
||||||
IN ULONGLONG Value,
|
IN ULONGLONG Value,
|
||||||
IN ULONG Base OPTIONAL,
|
IN ULONG Base OPTIONAL,
|
||||||
|
@ -666,7 +666,7 @@ RtlInt64ToUnicodeString (
|
||||||
* TRUE if String2 contains String1 as a prefix.
|
* TRUE if String2 contains String1 as a prefix.
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlPrefixString(
|
RtlPrefixString(
|
||||||
PANSI_STRING String1,
|
PANSI_STRING String1,
|
||||||
PANSI_STRING String2,
|
PANSI_STRING String2,
|
||||||
|
@ -713,7 +713,7 @@ RtlPrefixString(
|
||||||
* TRUE if String2 contains String1 as a prefix.
|
* TRUE if String2 contains String1 as a prefix.
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlPrefixUnicodeString(
|
RtlPrefixUnicodeString(
|
||||||
PCUNICODE_STRING String1,
|
PCUNICODE_STRING String1,
|
||||||
PCUNICODE_STRING String2,
|
PCUNICODE_STRING String2,
|
||||||
|
@ -781,7 +781,7 @@ RtlPrefixUnicodeString(
|
||||||
* version does.
|
* version does.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUnicodeStringToInteger(
|
RtlUnicodeStringToInteger(
|
||||||
PCUNICODE_STRING str, /* [I] Unicode string to be converted */
|
PCUNICODE_STRING str, /* [I] Unicode string to be converted */
|
||||||
ULONG base, /* [I] Number base for conversion (allowed 0, 2, 8, 10 or 16) */
|
ULONG base, /* [I] Number base for conversion (allowed 0, 2, 8, 10 or 16) */
|
||||||
|
@ -872,7 +872,7 @@ RtlUnicodeStringToInteger(
|
||||||
* Bytes necessary for the conversion including nullterm.
|
* Bytes necessary for the conversion including nullterm.
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlxUnicodeStringToOemSize(IN PCUNICODE_STRING UnicodeString)
|
RtlxUnicodeStringToOemSize(IN PCUNICODE_STRING UnicodeString)
|
||||||
{
|
{
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
@ -894,7 +894,7 @@ RtlxUnicodeStringToOemSize(IN PCUNICODE_STRING UnicodeString)
|
||||||
* It performs a partial copy if ansi is too small.
|
* It performs a partial copy if ansi is too small.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUnicodeStringToAnsiString(
|
RtlUnicodeStringToAnsiString(
|
||||||
IN OUT PANSI_STRING AnsiDest,
|
IN OUT PANSI_STRING AnsiDest,
|
||||||
IN PCUNICODE_STRING UniSource,
|
IN PCUNICODE_STRING UniSource,
|
||||||
|
@ -948,7 +948,7 @@ RtlUnicodeStringToAnsiString(
|
||||||
* Does NOT perform a partial copy if unicode is too small!
|
* Does NOT perform a partial copy if unicode is too small!
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlOemStringToUnicodeString(
|
RtlOemStringToUnicodeString(
|
||||||
IN OUT PUNICODE_STRING UniDest,
|
IN OUT PUNICODE_STRING UniDest,
|
||||||
IN PCOEM_STRING OemSource,
|
IN PCOEM_STRING OemSource,
|
||||||
|
@ -998,7 +998,7 @@ RtlOemStringToUnicodeString(
|
||||||
* This function always '\0' terminates the string returned.
|
* This function always '\0' terminates the string returned.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUnicodeStringToOemString(
|
RtlUnicodeStringToOemString(
|
||||||
IN OUT POEM_STRING OemDest,
|
IN OUT POEM_STRING OemDest,
|
||||||
IN PCUNICODE_STRING UniSource,
|
IN PCUNICODE_STRING UniSource,
|
||||||
|
@ -1049,7 +1049,7 @@ RtlUnicodeStringToOemString(
|
||||||
* RETURNS
|
* RETURNS
|
||||||
* The length of the string if all tests were passed, 0 otherwise.
|
* The length of the string if all tests were passed, 0 otherwise.
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlIsTextUnicode (PVOID Buffer,
|
RtlIsTextUnicode (PVOID Buffer,
|
||||||
ULONG Length,
|
ULONG Length,
|
||||||
ULONG *Flags)
|
ULONG *Flags)
|
||||||
|
@ -1109,7 +1109,7 @@ done:
|
||||||
* A partial copy is NOT performed if the dest buffer is too small!
|
* A partial copy is NOT performed if the dest buffer is too small!
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlOemStringToCountedUnicodeString(
|
RtlOemStringToCountedUnicodeString(
|
||||||
IN OUT PUNICODE_STRING UniDest,
|
IN OUT PUNICODE_STRING UniDest,
|
||||||
IN PCOEM_STRING OemSource,
|
IN PCOEM_STRING OemSource,
|
||||||
|
@ -1168,7 +1168,7 @@ RtlOemStringToCountedUnicodeString(
|
||||||
* The comparison is case insensitive.
|
* The comparison is case insensitive.
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEqualComputerName(
|
RtlEqualComputerName(
|
||||||
IN PUNICODE_STRING ComputerName1,
|
IN PUNICODE_STRING ComputerName1,
|
||||||
IN PUNICODE_STRING ComputerName2)
|
IN PUNICODE_STRING ComputerName2)
|
||||||
|
@ -1204,7 +1204,7 @@ RtlEqualComputerName(
|
||||||
* The comparison is case insensitive.
|
* The comparison is case insensitive.
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEqualDomainName (
|
RtlEqualDomainName (
|
||||||
IN PUNICODE_STRING DomainName1,
|
IN PUNICODE_STRING DomainName1,
|
||||||
IN PUNICODE_STRING DomainName2
|
IN PUNICODE_STRING DomainName2
|
||||||
|
@ -1232,7 +1232,7 @@ RtlEqualDomainName (
|
||||||
* See RtlStringFromGUID.
|
* See RtlStringFromGUID.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlGUIDFromString(
|
RtlGUIDFromString(
|
||||||
IN UNICODE_STRING *str,
|
IN UNICODE_STRING *str,
|
||||||
OUT GUID* guid
|
OUT GUID* guid
|
||||||
|
@ -1346,7 +1346,7 @@ RtlGUIDFromString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlEraseUnicodeString(
|
RtlEraseUnicodeString(
|
||||||
IN PUNICODE_STRING String)
|
IN PUNICODE_STRING String)
|
||||||
{
|
{
|
||||||
|
@ -1361,7 +1361,7 @@ RtlEraseUnicodeString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlHashUnicodeString(
|
RtlHashUnicodeString(
|
||||||
IN CONST UNICODE_STRING *String,
|
IN CONST UNICODE_STRING *String,
|
||||||
IN BOOLEAN CaseInSensitive,
|
IN BOOLEAN CaseInSensitive,
|
||||||
|
@ -1417,7 +1417,7 @@ RtlHashUnicodeString(
|
||||||
* Does a partial copy if the dest buffer is too small
|
* Does a partial copy if the dest buffer is too small
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUnicodeStringToCountedOemString(
|
RtlUnicodeStringToCountedOemString(
|
||||||
IN OUT POEM_STRING OemDest,
|
IN OUT POEM_STRING OemDest,
|
||||||
IN PUNICODE_STRING UniSource,
|
IN PUNICODE_STRING UniSource,
|
||||||
|
@ -1471,7 +1471,7 @@ RtlUnicodeStringToCountedOemString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlLargeIntegerToChar(
|
RtlLargeIntegerToChar(
|
||||||
IN PLARGE_INTEGER Value,
|
IN PLARGE_INTEGER Value,
|
||||||
IN ULONG Base,
|
IN ULONG Base,
|
||||||
|
@ -1524,7 +1524,7 @@ RtlLargeIntegerToChar(
|
||||||
* might not be '\0' terminated. dest->Length is only set upon success.
|
* might not be '\0' terminated. dest->Length is only set upon success.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUpcaseUnicodeString(
|
RtlUpcaseUnicodeString(
|
||||||
IN OUT PUNICODE_STRING UniDest,
|
IN OUT PUNICODE_STRING UniDest,
|
||||||
IN PCUNICODE_STRING UniSource,
|
IN PCUNICODE_STRING UniSource,
|
||||||
|
@ -1562,7 +1562,7 @@ RtlUpcaseUnicodeString(
|
||||||
* It performs a partial copy if ansi is too small.
|
* It performs a partial copy if ansi is too small.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUpcaseUnicodeStringToAnsiString(
|
RtlUpcaseUnicodeStringToAnsiString(
|
||||||
IN OUT PANSI_STRING AnsiDest,
|
IN OUT PANSI_STRING AnsiDest,
|
||||||
IN PUNICODE_STRING UniSource,
|
IN PUNICODE_STRING UniSource,
|
||||||
|
@ -1613,7 +1613,7 @@ RtlUpcaseUnicodeStringToAnsiString(
|
||||||
* It performs a partial copy if ansi is too small.
|
* It performs a partial copy if ansi is too small.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUpcaseUnicodeStringToCountedOemString(
|
RtlUpcaseUnicodeStringToCountedOemString(
|
||||||
IN OUT POEM_STRING OemDest,
|
IN OUT POEM_STRING OemDest,
|
||||||
IN PCUNICODE_STRING UniSource,
|
IN PCUNICODE_STRING UniSource,
|
||||||
|
@ -1670,7 +1670,7 @@ RtlUpcaseUnicodeStringToCountedOemString(
|
||||||
* It performs a partial copy if oem is too small.
|
* It performs a partial copy if oem is too small.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUpcaseUnicodeStringToOemString (
|
RtlUpcaseUnicodeStringToOemString (
|
||||||
IN OUT POEM_STRING OemDest,
|
IN OUT POEM_STRING OemDest,
|
||||||
IN PCUNICODE_STRING UniSource,
|
IN PCUNICODE_STRING UniSource,
|
||||||
|
@ -1722,7 +1722,7 @@ RtlUpcaseUnicodeStringToOemString (
|
||||||
* Bytes calculated including nullterm
|
* Bytes calculated including nullterm
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlxOemStringToUnicodeSize(IN PCOEM_STRING OemString)
|
RtlxOemStringToUnicodeSize(IN PCOEM_STRING OemString)
|
||||||
{
|
{
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
@ -1740,7 +1740,7 @@ RtlxOemStringToUnicodeSize(IN PCOEM_STRING OemString)
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlStringFromGUID (IN REFGUID Guid,
|
RtlStringFromGUID (IN REFGUID Guid,
|
||||||
OUT PUNICODE_STRING GuidString)
|
OUT PUNICODE_STRING GuidString)
|
||||||
{
|
{
|
||||||
|
@ -1783,7 +1783,7 @@ RtlStringFromGUID (IN REFGUID Guid,
|
||||||
* Bytes calculated including nullterm
|
* Bytes calculated including nullterm
|
||||||
*/
|
*/
|
||||||
ULONG
|
ULONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlxUnicodeStringToAnsiSize(IN PCUNICODE_STRING UnicodeString)
|
RtlxUnicodeStringToAnsiSize(IN PCUNICODE_STRING UnicodeString)
|
||||||
{
|
{
|
||||||
ULONG Size;
|
ULONG Size;
|
||||||
|
@ -1801,7 +1801,7 @@ RtlxUnicodeStringToAnsiSize(IN PCUNICODE_STRING UnicodeString)
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
LONG
|
LONG
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCompareUnicodeString(
|
RtlCompareUnicodeString(
|
||||||
IN PCUNICODE_STRING s1,
|
IN PCUNICODE_STRING s1,
|
||||||
IN PCUNICODE_STRING s2,
|
IN PCUNICODE_STRING s2,
|
||||||
|
@ -1831,7 +1831,7 @@ RtlCompareUnicodeString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCopyString(
|
RtlCopyString(
|
||||||
IN OUT PSTRING DestinationString,
|
IN OUT PSTRING DestinationString,
|
||||||
IN PSTRING SourceString OPTIONAL)
|
IN PSTRING SourceString OPTIONAL)
|
||||||
|
@ -1872,7 +1872,7 @@ RtlCopyString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCopyUnicodeString(
|
RtlCopyUnicodeString(
|
||||||
IN OUT PUNICODE_STRING DestinationString,
|
IN OUT PUNICODE_STRING DestinationString,
|
||||||
IN PCUNICODE_STRING SourceString)
|
IN PCUNICODE_STRING SourceString)
|
||||||
|
@ -1907,7 +1907,7 @@ RtlCopyUnicodeString(
|
||||||
* Creates a nullterminated UNICODE_STRING
|
* Creates a nullterminated UNICODE_STRING
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCreateUnicodeString(
|
RtlCreateUnicodeString(
|
||||||
IN OUT PUNICODE_STRING UniDest,
|
IN OUT PUNICODE_STRING UniDest,
|
||||||
IN PCWSTR Source)
|
IN PCWSTR Source)
|
||||||
|
@ -1930,7 +1930,7 @@ RtlCreateUnicodeString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlCreateUnicodeStringFromAsciiz(
|
RtlCreateUnicodeStringFromAsciiz(
|
||||||
OUT PUNICODE_STRING Destination,
|
OUT PUNICODE_STRING Destination,
|
||||||
IN PCSZ Source)
|
IN PCSZ Source)
|
||||||
|
@ -1956,7 +1956,7 @@ RtlCreateUnicodeStringFromAsciiz(
|
||||||
* Dest->Length is only set upon success.
|
* Dest->Length is only set upon success.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDowncaseUnicodeString(
|
RtlDowncaseUnicodeString(
|
||||||
IN OUT PUNICODE_STRING UniDest,
|
IN OUT PUNICODE_STRING UniDest,
|
||||||
IN PCUNICODE_STRING UniSource,
|
IN PCUNICODE_STRING UniSource,
|
||||||
|
@ -2007,7 +2007,7 @@ RtlDowncaseUnicodeString(
|
||||||
* When dest fits exactly in MaximumLength characters the '\0' is ommitted.
|
* When dest fits exactly in MaximumLength characters the '\0' is ommitted.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlAppendUnicodeToString(IN OUT PUNICODE_STRING Destination,
|
RtlAppendUnicodeToString(IN OUT PUNICODE_STRING Destination,
|
||||||
IN PCWSTR Source)
|
IN PCWSTR Source)
|
||||||
{
|
{
|
||||||
|
@ -2048,7 +2048,7 @@ RtlAppendUnicodeToString(IN OUT PUNICODE_STRING Destination,
|
||||||
* dest is never '\0' terminated.
|
* dest is never '\0' terminated.
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlAppendAsciizToString(
|
RtlAppendAsciizToString(
|
||||||
IN OUT PSTRING Destination,
|
IN OUT PSTRING Destination,
|
||||||
IN PCSZ Source)
|
IN PCSZ Source)
|
||||||
|
@ -2075,7 +2075,7 @@ RtlAppendAsciizToString(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlUpperString(PSTRING DestinationString,
|
RtlUpperString(PSTRING DestinationString,
|
||||||
PSTRING SourceString)
|
PSTRING SourceString)
|
||||||
{
|
{
|
||||||
|
@ -2102,7 +2102,7 @@ RtlUpperString(PSTRING DestinationString,
|
||||||
* See RtlpDuplicateUnicodeString
|
* See RtlpDuplicateUnicodeString
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlDuplicateUnicodeString(
|
RtlDuplicateUnicodeString(
|
||||||
IN ULONG Flags,
|
IN ULONG Flags,
|
||||||
IN PCUNICODE_STRING SourceString,
|
IN PCUNICODE_STRING SourceString,
|
||||||
|
@ -2145,7 +2145,7 @@ RtlDuplicateUnicodeString(
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS STDCALL
|
NTSTATUS NTAPI
|
||||||
RtlValidateUnicodeString(IN ULONG Flags,
|
RtlValidateUnicodeString(IN ULONG Flags,
|
||||||
IN PUNICODE_STRING UnicodeString)
|
IN PUNICODE_STRING UnicodeString)
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PUNICODE_PREFIX_TABLE_ENTRY
|
PUNICODE_PREFIX_TABLE_ENTRY
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlFindUnicodePrefix (
|
RtlFindUnicodePrefix (
|
||||||
PUNICODE_PREFIX_TABLE PrefixTable,
|
PUNICODE_PREFIX_TABLE PrefixTable,
|
||||||
PUNICODE_STRING FullName,
|
PUNICODE_STRING FullName,
|
||||||
|
@ -34,7 +34,7 @@ RtlFindUnicodePrefix (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInitializeUnicodePrefix (
|
RtlInitializeUnicodePrefix (
|
||||||
PUNICODE_PREFIX_TABLE PrefixTable
|
PUNICODE_PREFIX_TABLE PrefixTable
|
||||||
)
|
)
|
||||||
|
@ -46,7 +46,7 @@ RtlInitializeUnicodePrefix (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlInsertUnicodePrefix (
|
RtlInsertUnicodePrefix (
|
||||||
PUNICODE_PREFIX_TABLE PrefixTable,
|
PUNICODE_PREFIX_TABLE PrefixTable,
|
||||||
PUNICODE_STRING Prefix,
|
PUNICODE_STRING Prefix,
|
||||||
|
@ -61,7 +61,7 @@ RtlInsertUnicodePrefix (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
PUNICODE_PREFIX_TABLE_ENTRY
|
PUNICODE_PREFIX_TABLE_ENTRY
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlNextUnicodePrefix (
|
RtlNextUnicodePrefix (
|
||||||
PUNICODE_PREFIX_TABLE PrefixTable,
|
PUNICODE_PREFIX_TABLE PrefixTable,
|
||||||
BOOLEAN Restart
|
BOOLEAN Restart
|
||||||
|
@ -75,7 +75,7 @@ RtlNextUnicodePrefix (
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlRemoveUnicodePrefix (
|
RtlRemoveUnicodePrefix (
|
||||||
PUNICODE_PREFIX_TABLE PrefixTable,
|
PUNICODE_PREFIX_TABLE PrefixTable,
|
||||||
PUNICODE_PREFIX_TABLE_ENTRY PrefixTableEntry
|
PUNICODE_PREFIX_TABLE_ENTRY PrefixTableEntry
|
||||||
|
|
|
@ -74,7 +74,7 @@ RtlpInitializeVectoredExceptionHandling(VOID)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
PVOID STDCALL
|
PVOID NTAPI
|
||||||
RtlAddVectoredExceptionHandler(IN ULONG FirstHandler,
|
RtlAddVectoredExceptionHandler(IN ULONG FirstHandler,
|
||||||
IN PVECTORED_EXCEPTION_HANDLER VectoredHandler)
|
IN PVECTORED_EXCEPTION_HANDLER VectoredHandler)
|
||||||
{
|
{
|
||||||
|
@ -107,7 +107,7 @@ RtlAddVectoredExceptionHandler(IN ULONG FirstHandler,
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
ULONG STDCALL
|
ULONG NTAPI
|
||||||
RtlRemoveVectoredExceptionHandler(IN PVOID VectoredHandlerHandle)
|
RtlRemoveVectoredExceptionHandler(IN PVOID VectoredHandlerHandle)
|
||||||
{
|
{
|
||||||
PLIST_ENTRY CurrentEntry;
|
PLIST_ENTRY CurrentEntry;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
/* GLOBALS ******************************************************************/
|
/* GLOBALS ******************************************************************/
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlGetVersion(
|
RtlGetVersion(
|
||||||
OUT PRTL_OSVERSIONINFOW lpVersionInformation
|
OUT PRTL_OSVERSIONINFOW lpVersionInformation
|
||||||
);
|
);
|
||||||
|
@ -26,7 +26,7 @@ RtlGetVersion(
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
STDCALL
|
NTAPI
|
||||||
RtlVerifyVersionInfo(
|
RtlVerifyVersionInfo(
|
||||||
IN PRTL_OSVERSIONINFOEXW VersionInfo,
|
IN PRTL_OSVERSIONINFOEXW VersionInfo,
|
||||||
IN ULONG TypeMask,
|
IN ULONG TypeMask,
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES *****************************************************************/
|
/* INCLUDES *****************************************************************/
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <winerror.h>
|
#include <winerror.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
|
|
|
@ -9,10 +9,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
#include "precomp.h"
|
||||||
#include <windows.h>
|
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
/* GLOBALS *******************************************************************/
|
/* GLOBALS *******************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -10,12 +10,7 @@
|
||||||
|
|
||||||
/* INCLUDES ******************************************************************/
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
#include <windows.h>
|
#include "precomp.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <lsass/lsass.h>
|
|
||||||
|
|
||||||
#include <ntsecapi.h>
|
|
||||||
|
|
||||||
/* GLOBALS *******************************************************************/
|
/* GLOBALS *******************************************************************/
|
||||||
|
|
||||||
|
|
18
reactos/lib/secur32/precomp.h
Normal file
18
reactos/lib/secur32/precomp.h
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
/*
|
||||||
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
|
* PROJECT: ReactOS System Libraries
|
||||||
|
* FILE: lib/secur32/precomp.h
|
||||||
|
* PURPOSE: Security Library Header
|
||||||
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
/* SDK/DDK/NDK Headers. */
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
|
#include <windows.h>
|
||||||
|
#define NTOS_MODE_USER
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
#include <lsass/lsass.h>
|
||||||
|
|
||||||
|
#include <ntsecapi.h>
|
|
@ -12,4 +12,5 @@
|
||||||
<file>secext.c</file>
|
<file>secext.c</file>
|
||||||
<file>sspi.c</file>
|
<file>sspi.c</file>
|
||||||
<file>secur32.rc</file>
|
<file>secur32.rc</file>
|
||||||
|
<pch>precomp.h</pch>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
* FILE: lib/smdll/query.c
|
* FILE: lib/smdll/query.c
|
||||||
* PURPOSE: Call SM API SM_API_QUERY_INFORMATION (not in NT)
|
* PURPOSE: Call SM API SM_API_QUERY_INFORMATION (not in NT)
|
||||||
*/
|
*/
|
||||||
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
|
@ -5,11 +5,7 @@
|
||||||
* FILE: lib/smlib/compses.c
|
* FILE: lib/smlib/compses.c
|
||||||
* PURPOSE: Call SM API SM_API_COMPLETE_SESSION
|
* PURPOSE: Call SM API SM_API_COMPLETE_SESSION
|
||||||
*/
|
*/
|
||||||
#include <windows.h>
|
#include "precomp.h"
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
#include <sm/helper.h>
|
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
|
@ -5,11 +5,8 @@
|
||||||
* FILE: reactos/lib/smlib/connect.c
|
* FILE: reactos/lib/smlib/connect.c
|
||||||
* PURPOSE: Connect to the API LPC port exposed by the SM
|
* PURPOSE: Connect to the API LPC port exposed by the SM
|
||||||
*/
|
*/
|
||||||
#include <windows.h>
|
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
|
|
||||||
#include <sm/helper.h>
|
#include "precomp.h"
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue