37#define WIN32_NO_STATUS
43#include "wine/winternl.h"
67 0, 0, { (
DWORD_PTR)(__FILE__
": uuid_cs") }
76 0, 0, { (
DWORD_PTR)(__FILE__
": threaddata_cs") }
130 ERR(
"tdata->connection should be NULL but is still set to %p\n", tdata->
connection);
132 ERR(
"tdata->server_binding should be NULL but is still set to %p\n", tdata->
server_binding);
192 ERR(
"handler continued execution\n");
220 if (Uuid1 == Uuid2)
return 0;
222 if (Uuid1->Data1 != Uuid2->Data1)
223 return Uuid1->Data1 < Uuid2->Data1 ? -1 : 1;
225 if (Uuid1->Data2 != Uuid2->Data2)
226 return Uuid1->Data2 < Uuid2->Data2 ? -1 : 1;
228 if (Uuid1->Data3 != Uuid2->Data3)
229 return Uuid1->Data3 < Uuid2->Data3 ? -1 : 1;
231 for (
i = 0;
i < 8;
i++) {
232 if (Uuid1->Data4[
i] < Uuid2->Data4[
i])
234 if (Uuid1->Data4[
i] > Uuid2->Data4[
i])
271 if (!Uuid)
return TRUE;
309 Uuid->Data3 &= 0x0fff;
310 Uuid->Data3 |= (4 << 12);
314 Uuid->Data4[0] &= 0x3f;
315 Uuid->Data4[0] |= 0x80;
324#define TICKS_PER_CLOCK_TICK 1000
325#define SECSPERDAY 86400
326#define TICKSPERSEC 10000000
328#define SECS_15_OCT_1582_TO_1601 ((17 + 30 + 31 + 365 * 18 + 5) * SECSPERDAY)
329#define TICKS_15_OCT_1582_TO_1601 ((ULONGLONG)SECS_15_OCT_1582_TO_1601 * TICKSPERSEC)
342#define ADDRESS_BYTES_NEEDED 6
392 static BOOL initialised;
419 if (
time > timelast) {
423 if (
time < timelast) {
439 Uuid->Data1 = (
ULONG)(
time & 0xffffffff);
440 Uuid->Data2 = (
unsigned short)((
time >> 32) & 0xffff);
441 Uuid->Data3 = (
unsigned short)((
time >> 48) & 0x0fff);
444 Uuid->Data3 |= (1 << 12);
447 Uuid->Data4[1] = (
sequence & 0x3f00) >> 8;
448 Uuid->Data4[1] |= 0x80;
479 short c0 = 0, c1 = 0,
x,
y;
486 for (
i=0;
i<
sizeof(
UUID);
i++) {
523 sprintf( (
char*)*StringUuid,
"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
524 Uuid->Data1, Uuid->Data2, Uuid->Data3,
525 Uuid->Data4[0], Uuid->Data4[1], Uuid->Data4[2],
526 Uuid->Data4[3], Uuid->Data4[4], Uuid->Data4[5],
527 Uuid->Data4[6], Uuid->Data4[7] );
546 sprintf(
buf,
"%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
547 Uuid->Data1, Uuid->Data2, Uuid->Data3,
548 Uuid->Data4[0], Uuid->Data4[1], Uuid->Data4[2],
549 Uuid->Data4[3], Uuid->Data4[4], Uuid->Data4[5],
550 Uuid->Data4[6], Uuid->Data4[7] );
562 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
563 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
564 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
565 0,1,2,3,4,5,6,7,8,9,0,0,0,0,0,0,
566 0,10,11,12,13,14,15,0,0,0,0,0,0,0,0,0,
567 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
582 if ((
s[8]!=
'-') || (
s[13]!=
'-') || (
s[18]!=
'-') || (
s[23]!=
'-'))
587 if ((
i == 8)||(
i == 13)||(
i == 18)||(
i == 23))
continue;
622 if ((
s[8]!=
'-') || (
s[13]!=
'-') || (
s[18]!=
'-') || (
s[23]!=
'-'))
627 if ((
i == 8)||(
i == 13)||(
i == 18)||(
i == 23))
continue;
656 FIXME(
"(): stub\n" );
660#define MAX_RPC_ERROR_TEXT 256
687 ERR (
"Failed to translate error\n");
706 ERR (
"Failed to translate error\n");
883 FIXME(
"(%p): stub\n", EnumHandle);
892 FIXME(
"(%p): stub\n", EnumHandle);
901 FIXME(
"(%p %p %p): stub\n", EnumHandle, ErrorBlob, BlobSize);
910 FIXME(
"(%p %lu %p): stub\n", ErrorBlob, BlobSize, EnumHandle);
919 FIXME(
"(%p %x %p): stub\n", EnumHandle, CopyStrings, ErrorInfo);
938 if (!tdata)
return NULL;
975 if (!tdata)
return NULL;
1004 if (
current->context_handle == SContext)
1022 if (!tdata)
return NULL;
1056 TRACE(
"(%p)\n", ThreadHandle);
ACPI_SIZE strlen(const char *String)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static void list_remove(struct list_entry *entry)
static void list_add_tail(struct list_entry *head, struct list_entry *entry)
_Inout_ PIRP _In_ NTSTATUS ExceptionCode
#define STATUS_ILLEGAL_INSTRUCTION
#define ERROR_INSUFFICIENT_BUFFER
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INVALID_PARAMETER
#define DLL_THREAD_DETACH
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
#define HeapFree(x, y, z)
#define ERROR_INVALID_HANDLE
#define WideCharToMultiByte
#define ERROR_ACCESS_DENIED
VOID WINAPI RaiseException(_In_ DWORD dwExceptionCode, _In_ DWORD dwExceptionFlags, _In_ DWORD nNumberOfArguments, _In_opt_ const ULONG_PTR *lpArguments)
VOID WINAPI ExitProcess(IN UINT uExitCode)
DWORD WINAPI GetThreadId(IN HANDLE Thread)
VOID WINAPI GetSystemTimeAsFileTime(OUT PFILETIME lpFileTime)
unsigned short(__cdecl typeof(TIFFCurrentDirectory))(struct tiff *)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ int __cdecl rand(void)
#define EXCEPTION_EXECUTE_HANDLER
#define EXCEPTION_CONTINUE_SEARCH
DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
struct _IP_ADAPTER_INFO IP_ADAPTER_INFO
#define MAX_ADAPTER_ADDRESS_LENGTH
static IN DWORD IN LPVOID lpvReserved
#define memcpy(s1, s2, n)
struct task_struct * current
#define sprintf(buf, format,...)
#define DECLSPEC_NORETURN
#define RPC_NT_INVALID_NAF_ID
#define EPT_NT_INVALID_ENTRY
#define RPC_NT_SERVER_UNAVAILABLE
#define RPC_NT_UNSUPPORTED_TYPE
#define STATUS_WRONG_PASSWORD
#define RPC_NT_INTERFACE_NOT_FOUND
#define RPC_NT_INVALID_NETWORK_OPTIONS
#define RPC_NT_INVALID_RPC_PROTSEQ
#define RPC_NT_BAD_STUB_DATA
#define STATUS_INVALID_LOGON_HOURS
#define RPC_NT_INTERNAL_ERROR
#define RPC_NT_UNKNOWN_AUTHN_LEVEL
#define RPC_NT_SS_IN_NULL_CONTEXT
#define RPC_NT_ENUM_VALUE_OUT_OF_RANGE
#define RPC_NT_PIPE_CLOSED
#define STATUS_POSSIBLE_DEADLOCK
#define RPC_NT_ENTRY_ALREADY_EXISTS
#define RPC_NT_DUPLICATE_ENDPOINT
#define RPC_NT_CALL_IN_PROGRESS
#define RPC_NT_NO_CALL_ACTIVE
#define RPC_NT_NO_ENDPOINT_FOUND
#define RPC_NT_STRING_TOO_LONG
#define STATUS_INSTRUCTION_MISALIGNMENT
#define RPC_NT_PROCNUM_OUT_OF_RANGE
#define STATUS_ACCOUNT_DISABLED
#define RPC_NT_PIPE_EMPTY
#define RPC_NT_NO_MORE_ENTRIES
#define STATUS_PASSWORD_MUST_CHANGE
#define RPC_NT_BYTE_COUNT_TOO_SMALL
#define RPC_NT_SS_CONTEXT_MISMATCH
#define RPC_NT_WRONG_KIND_OF_BINDING
#define RPC_NT_ALREADY_REGISTERED
#define EPT_NT_NOT_REGISTERED
#define RPC_NT_INVALID_ASYNC_HANDLE
#define RPC_NT_INVALID_NAME_SYNTAX
#define RPC_NT_NOTHING_TO_EXPORT
#define STATUS_STACK_OVERFLOW
#define RPC_NT_UNKNOWN_IF
#define RPC_NT_PROTOCOL_ERROR
#define RPC_NT_ENTRY_NOT_FOUND
#define RPC_NT_NO_PROTSEQS_REGISTERED
#define RPC_NT_NULL_REF_POINTER
#define RPC_NT_GROUP_MEMBER_NOT_FOUND
#define RPC_NT_SS_CHAR_TRANS_OPEN_FAIL
#define RPC_NT_UNSUPPORTED_TRANS_SYN
#define RPC_NT_INVALID_STRING_UUID
#define RPC_NT_NOT_LISTENING
#define RPC_NT_OBJECT_NOT_FOUND
#define STATUS_INSUFF_SERVER_RESOURCES
#define RPC_NT_INVALID_AUTH_IDENTITY
#define RPC_NT_INVALID_ASYNC_CALL
#define RPC_NT_SS_CHAR_TRANS_SHORT_FILE
#define RPC_NT_PROTSEQ_NOT_FOUND
#define RPC_NT_SS_CANNOT_GET_CALL_HANDLE
#define RPC_NT_NO_ENTRY_NAME
#define RPC_NT_CALL_CANCELLED
#define RPC_NT_TYPE_ALREADY_REGISTERED
#define RPC_NT_UUID_NO_ADDRESS
#define RPC_NT_OUT_OF_RESOURCES
#define STATUS_INVALID_SECURITY_DESCR
#define STATUS_PRIVILEGED_INSTRUCTION
#define STATUS_BREAKPOINT
#define RPC_NT_NO_CONTEXT_AVAILABLE
#define RPC_NT_PIPE_DISCIPLINE_ERROR
#define RPC_NT_MAX_CALLS_TOO_SMALL
#define RPC_NT_INVALID_STRING_BINDING
#define RPC_NT_NO_PROTSEQS
#define RPC_NT_SS_HANDLES_MISMATCH
#define STATUS_PASSWORD_EXPIRED
#define STATUS_ACCESS_VIOLATION
#define RPC_NT_NO_BINDINGS
#define RPC_NT_FP_DIV_ZERO
#define RPC_NT_FP_UNDERFLOW
#define RPC_NT_INCOMPLETE_NAME
#define RPC_NT_SS_CONTEXT_DAMAGED
#define RPC_NT_SERVER_TOO_BUSY
#define RPC_NT_FP_OVERFLOW
#define RPC_NT_UNKNOWN_AUTHN_SERVICE
#define RPC_NT_INVALID_TIMEOUT
#define RPC_NT_CANNOT_SUPPORT
#define RPC_NT_PROTSEQ_NOT_SUPPORTED
#define RPC_NT_INVALID_NET_ADDR
#define STATUS_DATATYPE_MISALIGNMENT
#define RPC_NT_INVALID_BOUND
#define RPC_NT_NO_MORE_BINDINGS
#define RPC_NT_INVALID_OBJECT
#define RPC_NT_ZERO_DIVIDE
#define RPC_NT_UNKNOWN_AUTHZ_SERVICE
#define RPC_NT_BINDING_HAS_NO_AUTH
#define RPC_NT_INVALID_BINDING
#define RPC_NT_UNSUPPORTED_NAME_SYNTAX
#define RPC_NT_UNKNOWN_MGR_TYPE
#define RPC_NT_CANT_CREATE_ENDPOINT
#define STATUS_ACCOUNT_LOCKED_OUT
#define RPC_NT_NAME_SERVICE_UNAVAILABLE
#define EPT_NT_CANT_PERFORM_OP
#define RPC_NT_NOT_ALL_OBJS_UNEXPORTED
#define RPC_NT_NO_MORE_MEMBERS
#define RPC_NT_INVALID_ENDPOINT_FORMAT
#define RPC_NT_ALREADY_LISTENING
#define RPC_NT_UNKNOWN_AUTHN_TYPE
#define EPT_NT_CANT_CREATE
#define RPC_NT_ADDRESS_ERROR
#define RPC_NT_CALL_FAILED
#define RPC_NT_CALL_FAILED_DNE
#define RPC_NT_INVALID_TAG
#define RPC_NT_INVALID_VERS_OPTION
LPWSTR RPCRT4_strdupAtoW(LPCSTR src)
static void rpcrt4_conn_cancel_call(RpcConnection *Connection)
void RPCRT4_destroy_all_protseqs(void)
void RPCRT4_ServerFreeAllRegisteredAuthInfo(void)
unsigned short * RPC_WSTR
#define RPC_S_INVALID_ARG
#define RPC_S_OUT_OF_MEMORY
LONG WINAPI I_RpcMapWin32Status(RPC_STATUS status)
RPC_STATUS RPC_ENTRY RpcErrorLoadErrorInfo(void *ErrorBlob, SIZE_T BlobSize, RPC_ERROR_ENUM_HANDLE *EnumHandle)
static const BYTE hex2bin[]
#define TICKS_15_OCT_1582_TO_1601
HRESULT WINAPI DllRegisterServer(void)
int WINAPI RpcExceptionFilter(ULONG ExceptionCode)
static CRITICAL_SECTION uuid_cs
RPC_STATUS WINAPI UuidCreateSequential(UUID *Uuid)
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
RPC_STATUS WINAPI UuidCreateNil(UUID *Uuid)
RPC_STATUS WINAPI UuidToStringA(UUID *Uuid, RPC_CSTR *StringUuid)
RPC_STATUS RPC_ENTRY RpcErrorEndEnumeration(RPC_ERROR_ENUM_HANDLE *EnumHandle)
static CRITICAL_SECTION_DEBUG critsect_debug
static RPC_STATUS RPC_UuidGetNodeAddress(BYTE *address)
void RPCRT4_RemoveThreadContextHandle(NDR_SCONTEXT SContext)
RPC_STATUS WINAPI UuidToStringW(UUID *Uuid, RPC_WSTR *StringUuid)
static CRITICAL_SECTION_DEBUG threaddata_cs_debug
RPC_STATUS RPC_ENTRY RpcErrorSaveErrorInfo(RPC_ERROR_ENUM_HANDLE *EnumHandle, void **ErrorBlob, SIZE_T *BlobSize)
int WINAPI UuidIsNil(UUID *Uuid, RPC_STATUS *Status)
RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS e, RPC_CSTR buffer)
RPC_STATUS WINAPI I_UuidCreate(UUID *Uuid)
RPC_STATUS WINAPI RpcStringFreeW(RPC_WSTR *String)
RPC_STATUS WINAPI RpcStringFreeA(RPC_CSTR *String)
static struct list threaddata_list
NDR_SCONTEXT RPCRT4_PopThreadContextHandle(void)
RPC_STATUS RPC_ENTRY RpcErrorGetNextRecord(RPC_ERROR_ENUM_HANDLE *EnumHandle, BOOL CopyStrings, RPC_EXTENDED_ERROR_INFO *ErrorInfo)
static void RPC_UuidGetSystemTime(ULONGLONG *time)
RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS e, RPC_WSTR buffer)
RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void *ThreadHandle, LONG Timeout)
RPC_STATUS WINAPI UuidFromStringW(RPC_WSTR s, UUID *uuid)
void RPCRT4_PushThreadContextHandle(NDR_SCONTEXT SContext)
int WINAPI UuidEqual(UUID *Uuid1, UUID *Uuid2, RPC_STATUS *Status)
void RPCRT4_SetThreadCurrentCallHandle(RpcBinding *Binding)
void WINAPI I_RpcFree(void *Object)
RPC_STATUS WINAPI UuidFromStringA(RPC_CSTR s, UUID *uuid)
RpcBinding * RPCRT4_GetThreadCurrentCallHandle(void)
RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(RPC_ERROR_ENUM_HANDLE *EnumHandle)
RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(LONG Timeout)
RPC_STATUS RPC_ENTRY RpcCancelThread(void *ThreadHandle)
RPC_STATUS WINAPI UuidCreate(UUID *Uuid)
#define TICKS_PER_CLOCK_TICK
void *WINAPI I_RpcAllocate(unsigned int Size)
int WINAPI UuidCompare(UUID *Uuid1, UUID *Uuid2, RPC_STATUS *Status)
#define MAX_RPC_ERROR_TEXT
unsigned short WINAPI UuidHash(UUID *uuid, RPC_STATUS *Status)
static struct threaddata * get_or_create_threaddata(void)
void RPCRT4_SetThreadCurrentConnection(RpcConnection *Connection)
#define ADDRESS_BYTES_NEEDED
static RPC_STATUS rpc_cancel_thread(DWORD target_tid)
void DECLSPEC_NORETURN WINAPI RpcRaiseException(RPC_STATUS exception)
static CRITICAL_SECTION threaddata_cs
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
#define STATUS_BUFFER_TOO_SMALL
DWORD_PTR Spare[8/sizeof(DWORD_PTR)]
LIST_ENTRY ProcessLocksList
PCRITICAL_SECTION_DEBUG DebugInfo
NDR_SCONTEXT context_handle
struct context_handle_list * next
RpcBinding * server_binding
struct context_handle_list * context_handle_list
RpcConnection * connection
VOID WINAPI InitializeCriticalSection(OUT LPCRITICAL_SECTION lpCriticalSection)
#define STATUS_ACCESS_DENIED
#define STATUS_INVALID_PARAMETER
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
DWORD WINAPI GetCurrentThreadId(void)
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
#define FORMAT_MESSAGE_IGNORE_INSERTS
#define FORMAT_MESSAGE_FROM_SYSTEM
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION)
#define RPC_S_SERVER_TOO_BUSY
#define EPT_S_INVALID_ENTRY
#define RPC_S_PROTSEQ_NOT_SUPPORTED
#define RPC_S_TYPE_ALREADY_REGISTERED
#define RPC_S_NOTHING_TO_EXPORT
#define ERROR_BUFFER_OVERFLOW
#define RPC_S_NO_MORE_MEMBERS
#define ERROR_INVALID_SECURITY_DESCR
#define RPC_S_CALL_IN_PROGRESS
#define RPC_S_OUT_OF_RESOURCES
#define RPC_S_CALL_FAILED_DNE
#define RPC_S_ADDRESS_ERROR
#define RPC_S_INVALID_NAME_SYNTAX
#define RPC_X_SS_HANDLES_MISMATCH
#define ERROR_INVALID_LOGON_HOURS
#define EPT_S_NOT_REGISTERED
#define RPC_S_UNSUPPORTED_TRANS_SYN
#define RPC_S_INVALID_BOUND
#define RPC_S_CALL_FAILED
#define RPC_S_WRONG_KIND_OF_BINDING
#define RPC_S_NO_CALL_ACTIVE
#define RPC_S_INVALID_STRING_BINDING
#define RPC_S_ENTRY_ALREADY_EXISTS
#define RPC_S_INVALID_TAG
#define RPC_S_INVALID_ASYNC_CALL
#define EPT_S_CANT_PERFORM_OP
#define RPC_S_NOT_ALL_OBJS_UNEXPORTED
#define RPC_X_ENUM_VALUE_OUT_OF_RANGE
#define RPC_S_ALREADY_LISTENING
#define RPC_X_SS_IN_NULL_CONTEXT
#define RPC_S_INVALID_AUTH_IDENTITY
#define RPC_S_FP_DIV_ZERO
#define RPC_X_PIPE_DISCIPLINE_ERROR
#define RPC_S_NAME_SERVICE_UNAVAILABLE
#define RPC_S_UNSUPPORTED_TYPE
#define RPC_X_BAD_STUB_DATA
#define RPC_S_BINDING_HAS_NO_AUTH
#define RPC_S_NO_MORE_BINDINGS
#define RPC_S_OBJECT_NOT_FOUND
#define RPC_S_CANT_CREATE_ENDPOINT
#define RPC_S_INVALID_STRING_UUID
#define RPC_S_CANNOT_SUPPORT
#define RPC_S_INVALID_ASYNC_HANDLE
#define RPC_X_SS_CHAR_TRANS_OPEN_FAIL
#define RPC_S_INVALID_NAF_ID
#define RPC_S_FP_UNDERFLOW
#define RPC_S_CALL_CANCELLED
#define RPC_X_NO_MORE_ENTRIES
#define RPC_S_PROTOCOL_ERROR
#define RPC_S_NO_BINDINGS
#define RPC_X_NULL_REF_POINTER
#define RPC_S_INVALID_TIMEOUT
#define RPC_X_PIPE_CLOSED
#define RPC_S_ZERO_DIVIDE
#define RPC_S_ENTRY_NOT_FOUND
#define RPC_S_NO_CONTEXT_AVAILABLE
#define RPC_S_UNKNOWN_AUTHN_TYPE
#define RPC_S_NO_ENDPOINT_FOUND
#define EPT_S_CANT_CREATE
#define RPC_S_GROUP_MEMBER_NOT_FOUND
#define ERROR_ACCOUNT_LOCKED_OUT
#define RPC_S_UNKNOWN_AUTHN_LEVEL
#define RPC_S_INVALID_VERS_OPTION
#define RPC_S_NOT_LISTENING
#define RPC_S_UNSUPPORTED_NAME_SYNTAX
#define ERROR_ACCOUNT_DISABLED
#define RPC_S_UNKNOWN_AUTHN_SERVICE
#define RPC_X_SS_CANNOT_GET_CALL_HANDLE
#define RPC_X_BYTE_COUNT_TOO_SMALL
#define ERROR_WRONG_PASSWORD
#define RPC_S_UUID_LOCAL_ONLY
#define ERROR_PASSWORD_MUST_CHANGE
#define RPC_S_INCOMPLETE_NAME
#define RPC_S_NO_PROTSEQS
#define RPC_S_PROTSEQ_NOT_FOUND
#define ERROR_MAX_THRDS_REACHED
#define RPC_S_STRING_TOO_LONG
#define RPC_S_INTERNAL_ERROR
#define RPC_S_SERVER_UNAVAILABLE
#define RPC_X_SS_CONTEXT_DAMAGED
#define RPC_S_INVALID_NETWORK_OPTIONS
#define ERROR_PASSWORD_EXPIRED
#define RPC_S_ALREADY_REGISTERED
#define RPC_S_INVALID_NET_ADDR
#define RPC_S_INTERFACE_NOT_FOUND
#define RPC_S_INVALID_ENDPOINT_FORMAT
#define RPC_S_INVALID_BINDING
#define RPC_S_INVALID_OBJECT
#define RPC_S_UUID_NO_ADDRESS
#define RPC_S_DUPLICATE_ENDPOINT
#define RPC_S_MAX_CALLS_TOO_SMALL
#define RPC_S_INVALID_RPC_PROTSEQ
#define RPC_S_NO_ENTRY_NAME
#define RPC_S_UNKNOWN_AUTHZ_SERVICE
#define RPC_S_NOT_RPC_ERROR
#define RPC_S_PROCNUM_OUT_OF_RANGE
#define RPC_X_SS_CHAR_TRANS_SHORT_FILE
#define RPC_S_FP_OVERFLOW
#define RPC_S_UNKNOWN_MGR_TYPE
#define RPC_S_NO_PROTSEQS_REGISTERED
#define ERROR_NOT_ENOUGH_SERVER_MEMORY