home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / rpcnterr.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  2KB  |  37 lines

  1. /*********************************************************/
  2. /**               Microsoft LAN Manager                 **/
  3. /**       Copyright(c) Microsoft Corp., 1987-1997       **/
  4. /**                                                     **/
  5. /**     Rpc Error Codes from the compiler and runtime   **/
  6. /**                                                     **/
  7. /*********************************************************/
  8.  
  9. /*
  10. If you change this file, you must also change rpcerr.h.
  11. */
  12.  
  13. #ifndef __RPCNTERR_H__
  14. #define __RPCNTERR_H__
  15.  
  16. #define RPC_S_OK                          ERROR_SUCCESS
  17. #define RPC_S_INVALID_ARG                 ERROR_INVALID_PARAMETER
  18. #define RPC_S_OUT_OF_MEMORY               ERROR_OUTOFMEMORY
  19. #define RPC_S_OUT_OF_THREADS              ERROR_MAX_THRDS_REACHED
  20. #define RPC_S_INVALID_LEVEL               ERROR_INVALID_PARAMETER
  21. #define RPC_S_BUFFER_TOO_SMALL            ERROR_INSUFFICIENT_BUFFER
  22. #define RPC_S_INVALID_SECURITY_DESC       ERROR_INVALID_SECURITY_DESCR
  23. #define RPC_S_ACCESS_DENIED               ERROR_ACCESS_DENIED
  24. #define RPC_S_SERVER_OUT_OF_MEMORY        ERROR_NOT_ENOUGH_SERVER_MEMORY
  25. #define RPC_S_ASYNC_CALL_PENDING          ERROR_IO_PENDING
  26.  
  27. #define RPC_X_NO_MEMORY                   RPC_S_OUT_OF_MEMORY
  28. #define RPC_X_INVALID_BOUND               RPC_S_INVALID_BOUND
  29. #define RPC_X_INVALID_TAG                 RPC_S_INVALID_TAG
  30. #define RPC_X_ENUM_VALUE_TOO_LARGE        RPC_X_ENUM_VALUE_OUT_OF_RANGE
  31. #define RPC_X_SS_CONTEXT_MISMATCH         ERROR_INVALID_HANDLE
  32. #define RPC_X_INVALID_BUFFER              ERROR_INVALID_USER_BUFFER
  33. #define RPC_X_PIPE_APP_MEMORY             ERROR_OUTOFMEMORY
  34. #define RPC_X_INVALID_PIPE_OPERATION      RPC_X_WRONG_PIPE_ORDER
  35.  
  36. #endif /* __RPCNTERR_H__ */
  37.