source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/rpcnterr.h@ 1175

Last change on this file since 1175 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.3 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef __RPCNTERR_H__
7#define __RPCNTERR_H__
8
9#define RPC_S_OK ERROR_SUCCESS
10#define RPC_S_INVALID_ARG ERROR_INVALID_PARAMETER
11#define RPC_S_OUT_OF_MEMORY ERROR_OUTOFMEMORY
12#define RPC_S_OUT_OF_THREADS ERROR_MAX_THRDS_REACHED
13#define RPC_S_INVALID_LEVEL ERROR_INVALID_PARAMETER
14#define RPC_S_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER
15#define RPC_S_INVALID_SECURITY_DESC ERROR_INVALID_SECURITY_DESCR
16#define RPC_S_ACCESS_DENIED ERROR_ACCESS_DENIED
17#define RPC_S_SERVER_OUT_OF_MEMORY ERROR_NOT_ENOUGH_SERVER_MEMORY
18#define RPC_S_ASYNC_CALL_PENDING ERROR_IO_PENDING
19#define RPC_S_UNKNOWN_PRINCIPAL ERROR_NONE_MAPPED
20#define RPC_S_TIMEOUT ERROR_TIMEOUT
21
22#define RPC_X_NO_MEMORY RPC_S_OUT_OF_MEMORY
23#define RPC_X_INVALID_BOUND RPC_S_INVALID_BOUND
24#define RPC_X_INVALID_TAG RPC_S_INVALID_TAG
25#define RPC_X_ENUM_VALUE_TOO_LARGE RPC_X_ENUM_VALUE_OUT_OF_RANGE
26#define RPC_X_SS_CONTEXT_MISMATCH ERROR_INVALID_HANDLE
27#define RPC_X_INVALID_BUFFER ERROR_INVALID_USER_BUFFER
28#define RPC_X_PIPE_APP_MEMORY ERROR_OUTOFMEMORY
29#define RPC_X_INVALID_PIPE_OPERATION RPC_X_WRONG_PIPE_ORDER
30
31#endif
Note: See TracBrowser for help on using the repository browser.