ntdll: Move RtlHashUnicodeString constants to a public header.
This commit is contained in:
parent
6a153ac33e
commit
9478e1f74c
3 changed files with 5 additions and 9 deletions
|
@ -122,12 +122,6 @@ static inline TEB64 *NtCurrentTeb64(void) { return NULL; }
|
|||
static inline TEB64 *NtCurrentTeb64(void) { return (TEB64 *)NtCurrentTeb()->GdiBatchCount; }
|
||||
#endif
|
||||
|
||||
#define HASH_STRING_ALGORITHM_DEFAULT 0
|
||||
#define HASH_STRING_ALGORITHM_X65599 1
|
||||
#define HASH_STRING_ALGORITHM_INVALID 0xffffffff
|
||||
|
||||
NTSTATUS WINAPI RtlHashUnicodeString(PCUNICODE_STRING,BOOLEAN,ULONG,ULONG*);
|
||||
|
||||
/* convert from straight ASCII to Unicode without depending on the current codepage */
|
||||
static inline void ascii_to_unicode( WCHAR *dst, const char *src, size_t len )
|
||||
{
|
||||
|
|
|
@ -30,9 +30,6 @@
|
|||
#include "winnls.h"
|
||||
#include "guiddef.h"
|
||||
|
||||
#define HASH_STRING_ALGORITHM_X65599 1
|
||||
#define HASH_STRING_ALGORITHM_INVALID 0xffffffff
|
||||
|
||||
/* Function ptrs for ntdll calls */
|
||||
static HMODULE hntdll = 0;
|
||||
static NTSTATUS (WINAPI *pRtlAnsiStringToUnicodeString)(PUNICODE_STRING, PCANSI_STRING, BOOLEAN);
|
||||
|
|
|
@ -4331,6 +4331,11 @@ typedef struct _API_SET_VALUE_ENTRY
|
|||
ULONG ValueLength;
|
||||
} API_SET_VALUE_ENTRY;
|
||||
|
||||
|
||||
#define HASH_STRING_ALGORITHM_DEFAULT 0
|
||||
#define HASH_STRING_ALGORITHM_X65599 1
|
||||
#define HASH_STRING_ALGORITHM_INVALID 0xffffffff
|
||||
|
||||
/***********************************************************************
|
||||
* Function declarations
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue