ifndef __RPCNTERR_H__
define __RPCNTERR_H__
ifndef __LIBC_INC
 include libc.inc
endif

RPC_S_OK			equ ERROR_SUCCESS
RPC_S_INVALID_ARG		equ ERROR_INVAID_PARAMETER
RPC_S_OUT_OF_MEMORY		equ ERROR_OUTOFMEMORY
RPC_S_OUT_OF_THREADS		equ ERROR_MAX_THRDS_REACHED
RPC_S_INVALID_LEVEL		equ ERROR_INVAID_PARAMETER
RPC_S_BUFFER_TOO_SMALL		equ ERROR_INSUFFICIENT_BUFFER
RPC_S_INVALID_SECURITY_DESC	equ ERROR_INVAID_SECURITY_DESCR
RPC_S_ACCESS_DENIED		equ ERROR_ACCESS_DENIED
RPC_S_SERVER_OUT_OF_MEMORY	equ ERROR_NOT_ENOUGH_SERVER_MEMORY
RPC_S_ASYNC_CALL_PENDING	equ ERROR_IO_PENDING

RPC_X_NO_MEMORY			equ RPC_S_OUT_OF_MEMORY
RPC_X_INVALID_BOUND		equ RPC_S_INVAID_BOUND
RPC_X_INVALID_TAG		equ RPC_S_INVAID_TAG
RPC_X_ENUM_VALUE_TOO_LARGE	equ RPC_X_ENUM_VAUE_OUT_OF_RANGE
RPC_X_SS_CONTEXT_MISMATCH	equ ERROR_INVALID_HANDE
RPC_X_INVALID_BUFFER		equ ERROR_INVAID_USER_BUFFER
RPC_X_PIPE_APP_MEMORY		equ ERROR_OUTOFMEMORY
RPC_X_INVALID_PIPE_OPERATION	equ RPC_X_WRONG_PIPE_ORDER

endif
