Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.5 KiB

  1. /*********************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1987-1995 **/
  4. /** **/
  5. /** Rpc Error Codes from the compiler and runtime **/
  6. /** **/
  7. /*********************************************************/
  8. /*
  9. If you change this file, you must also change rpcerr.h.
  10. */
  11. #ifndef __RPCNTERR_H__
  12. #define __RPCNTERR_H__
  13. #define RPC_S_OK ERROR_SUCCESS
  14. #define RPC_S_INVALID_ARG ERROR_INVALID_PARAMETER
  15. #define RPC_S_OUT_OF_MEMORY ERROR_OUTOFMEMORY
  16. #define RPC_S_OUT_OF_THREADS ERROR_MAX_THRDS_REACHED
  17. #define RPC_S_INVALID_LEVEL ERROR_INVALID_PARAMETER
  18. #define RPC_S_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER
  19. #define RPC_S_INVALID_SECURITY_DESC ERROR_INVALID_SECURITY_DESCR
  20. #define RPC_S_ACCESS_DENIED ERROR_ACCESS_DENIED
  21. #define RPC_S_SERVER_OUT_OF_MEMORY ERROR_NOT_ENOUGH_SERVER_MEMORY
  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. #endif /* __RPCNTERR_H__ */