(file) Return to omierror.h CVS log (file) (dir) Up to [OMI] / omi / omi_error

 1 krisbash 1.1 #ifndef _omierror_h
 2              #define _omierror_h
 3              
 4              #include "OMI_Error.h"
 5              #include <pal/strings.h>
 6              #include <base/batch.h>
 7              
 8              _Success_(return == MI_RESULT_OK)
 9              MI_Result OMI_ErrorFromErrorCode(
10                  _In_opt_ Batch* batch,
11                  MI_Uint32 OMI_Code,
12                  _In_z_ const MI_Char *OMI_Type,  
13                  _In_z_ const MI_Char* OMI_ErrorMessage, 
14                  _Outptr_opt_result_maybenull_ OMI_Error **omiError_);
15              
16              MI_ErrorCategory ErrorCategoryFromErrorCode(
17                  MI_Uint32 OMI_Code, 
18                  _In_z_ const MI_Char *OMI_Type);
19              
20              const MI_Char *ErrnoToString(
21                  MI_Uint32 OMI_Code,
22 krisbash 1.1     _Out_writes_z_(len) MI_Char *buffer,
23                  MI_Uint32 len);
24              
25              #endif /* _omierror_h */

ViewCVS 0.9.2