af062818b47340eef15700d2f0211576ba3506eevboxsync/*
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) 2001 Peter Hunnisett
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
af062818b47340eef15700d2f0211576ba3506eevboxsync */
af062818b47340eef15700d2f0211576ba3506eevboxsync
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync/*
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * a choice of LGPL license versions is made available with the language indicating
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * of the LGPL is applied is otherwise unspecified.
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync */
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#ifndef __RPCNTERR_H__
af062818b47340eef15700d2f0211576ba3506eevboxsync#define __RPCNTERR_H__
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_OK ERROR_SUCCESS
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_INVALID_ARG ERROR_INVALID_PARAMETER
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_OUT_OF_MEMORY ERROR_OUTOFMEMORY
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_OUT_OF_THREADS ERROR_MAX_THRDS_REACHED
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_INVALID_LEVEL ERROR_INVALID_PARAMETER
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_INVALID_SECURITY_DESC ERROR_INVALID_SECURITY_DESCR
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_ACCESS_DENIED ERROR_ACCESS_DENIED
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_SERVER_OUT_OF_MEMORY ERROR_NOT_ENOUGH_SERVER_MEMORY
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_ASYNC_CALL_PENDING ERROR_IO_PENDING
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_UNKNOWN_PRINCIPAL ERROR_NONE_MAPPED
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_S_TIMEOUT ERROR_TIMEOUT
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_X_NO_MEMORY RPC_S_OUT_OF_MEMORY
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_X_INVALID_BOUND RPC_S_INVALID_BOUND
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_X_INVALID_TAG RPC_S_INVALID_TAG
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_X_ENUM_VALUE_TOO_LARGE RPC_X_ENUM_VALUE_OUT_OF_RANGE
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_X_SS_CONTEXT_MISMATCH ERROR_INVALID_HANDLE
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_X_INVALID_BUFFER ERROR_INVALID_USER_BUFFER
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_X_PIPE_APP_MEMORY ERROR_OUTOFMEMORY
af062818b47340eef15700d2f0211576ba3506eevboxsync#define RPC_X_INVALID_PIPE_OPERATION RPC_X_WRONG_PIPE_ORDER
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* __RPCNTERR_H__ */