- Timestamp:
- May 14, 2009 1:27:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/cbinding/xpcidl.xsl
r19138 r19694 670 670 #endif /* XP_UNIX */ 671 671 672 /* Standard "it worked" return value */ 673 #define NS_OK 0 674 675 #define NS_ERROR_BASE ((nsresult) 0xC1F30000) 676 677 /* Returned when an instance is not initialized */ 678 #define NS_ERROR_NOT_INITIALIZED (NS_ERROR_BASE + 1) 679 680 /* Returned when an instance is already initialized */ 681 #define NS_ERROR_ALREADY_INITIALIZED (NS_ERROR_BASE + 2) 682 683 /* Returned by a not implemented function */ 684 #define NS_ERROR_NOT_IMPLEMENTED ((nsresult) 0x80004001L) 685 686 /* Returned when a given interface is not supported. */ 687 #define NS_NOINTERFACE ((nsresult) 0x80004002L) 688 #define NS_ERROR_NO_INTERFACE NS_NOINTERFACE 689 690 #define NS_ERROR_INVALID_POINTER ((nsresult) 0x80004003L) 691 #define NS_ERROR_NULL_POINTER NS_ERROR_INVALID_POINTER 692 693 /* Returned when a function aborts */ 694 #define NS_ERROR_ABORT ((nsresult) 0x80004004L) 695 696 /* Returned when a function fails */ 697 #define NS_ERROR_FAILURE ((nsresult) 0x80004005L) 698 699 /* Returned when an unexpected error occurs */ 700 #define NS_ERROR_UNEXPECTED ((nsresult) 0x8000ffffL) 701 702 /* Returned when a memory allocation fails */ 703 #define NS_ERROR_OUT_OF_MEMORY ((nsresult) 0x8007000eL) 704 705 /* Returned when an illegal value is passed */ 706 #define NS_ERROR_ILLEGAL_VALUE ((nsresult) 0x80070057L) 707 #define NS_ERROR_INVALID_ARG NS_ERROR_ILLEGAL_VALUE 708 709 /* Returned when a class doesn't allow aggregation */ 710 #define NS_ERROR_NO_AGGREGATION ((nsresult) 0x80040110L) 711 712 /* Returned when an operation can't complete due to an unavailable resource */ 713 #define NS_ERROR_NOT_AVAILABLE ((nsresult) 0x80040111L) 714 715 /* Returned when a class is not registered */ 716 #define NS_ERROR_FACTORY_NOT_REGISTERED ((nsresult) 0x80040154L) 717 718 /* Returned when a class cannot be registered, but may be tried again later */ 719 #define NS_ERROR_FACTORY_REGISTER_AGAIN ((nsresult) 0x80040155L) 720 721 /* Returned when a dynamically loaded factory couldn't be found */ 722 #define NS_ERROR_FACTORY_NOT_LOADED ((nsresult) 0x800401f8L) 723 724 /* Returned when a factory doesn't support signatures */ 725 #define NS_ERROR_FACTORY_NO_SIGNATURE_SUPPORT \ 726 (NS_ERROR_BASE + 0x101) 727 728 /* Returned when a factory already is registered */ 729 #define NS_ERROR_FACTORY_EXISTS (NS_ERROR_BASE + 0x100) 672 730 673 731
Note:
See TracChangeset
for help on using the changeset viewer.