Mobile API Reference  MicroStrategy 2019
PDCwinerror.h File Reference

Go to the source code of this file.

Macros

#define __WINERROR_H__   1
 
#define S_OK   (0x00000000)
 
#define S_FALSE   (0x00000001)
 
#define SEVERITY_SUCCESS   0
 
#define SEVERITY_ERROR   1
 
#define NOERROR   0
 
#define SUCCEEDED(Status)   ((HRESULT)(Status) >= 0)
 
#define FAILED(Status)   ((HRESULT)(Status)<0)
 
#define _HRESULT_TYPEDEF_(_sc)   ((HRESULT)_sc)
 
#define MAKE_HRESULT(sev, fac, code)   ((HRESULT) (((unsigned Int32)(sev)<<31) | ((unsigned Int32)(fac)<<16) | ((unsigned Int32)(code))) )
 
#define MAKE_SCODE(sev, fac, code)   ((SCODE) (((unsigned Int32)(sev)<<31) | ((unsigned Int32)(fac)<<16) | ((unsigned Int32)(code))) )
 
#define FACILITY_WINDOWS   8
 
#define FACILITY_STORAGE   3
 
#define FACILITY_SSPI   9
 
#define FACILITY_SETUPAPI   15
 
#define FACILITY_RPC   1
 
#define FACILITY_WIN32   7
 
#define FACILITY_CONTROL   10
 
#define FACILITY_NULL   0
 
#define FACILITY_MSMQ   14
 
#define FACILITY_MEDIASERVER   13
 
#define FACILITY_INTERNET   12
 
#define FACILITY_ITF   4
 
#define FACILITY_DISPATCH   2
 
#define FACILITY_CERT   11
 
#define ERROR_INSUFFICIENT_BUFFER   122L
 
#define ERROR_ALREADY_EXISTS   183L
 
#define E_UNEXPECTED   _HRESULT_TYPEDEF_(0x8000FFFF)
 
#define E_NOTIMPL   _HRESULT_TYPEDEF_(0x80004001)
 
#define E_OUTOFMEMORY   _HRESULT_TYPEDEF_(0x8007000E)
 
#define E_INVALIDARG   _HRESULT_TYPEDEF_(0x80070057)
 
#define E_NOINTERFACE   _HRESULT_TYPEDEF_(0x80004002)
 
#define E_POINTER   _HRESULT_TYPEDEF_(0x80004003)
 
#define E_HANDLE   _HRESULT_TYPEDEF_(0x80070006)
 
#define E_ABORT   _HRESULT_TYPEDEF_(0x80004004)
 
#define E_FAIL   _HRESULT_TYPEDEF_(0x80004005)
 
#define E_ACCESSDENIED   _HRESULT_TYPEDEF_(0x80070005)
 
#define CLASS_E_NOAGGREGATION   _HRESULT_TYPEDEF_(0x80040110)
 
#define REGDB_E_READREGDB   _HRESULT_TYPEDEF_(0x80040150)
 
#define REGDB_E_WRITEREGDB   _HRESULT_TYPEDEF_(0x80040151)
 
#define REGDB_E_KEYMISSING   _HRESULT_TYPEDEF_(0x80040152)
 
#define REGDB_E_INVALIDVALUE   _HRESULT_TYPEDEF_(0x80040153)
 
#define REGDB_E_CLASSNOTREG   _HRESULT_TYPEDEF_(0x80040154)
 
#define REGDB_E_IIDNOTREG   _HRESULT_TYPEDEF_(0x80040155)
 
#define CLASS_E_NOAGGREGATION   _HRESULT_TYPEDEF_(0x80040110)
 
#define CLASS_E_CLASSNOTAVAILABLE   _HRESULT_TYPEDEF_(0x80040111)
 
#define CLASS_E_NOTLICENSED   _HRESULT_TYPEDEF_(0x80040112)
 
#define DISP_E_BADVARTYPE   _HRESULT_TYPEDEF_(0x80020008)
 
#define DISP_E_EXCEPTION   _HRESULT_TYPEDEF_(0x80020009)
 
#define DISP_E_OVERFLOW   _HRESULT_TYPEDEF_(0x8002000A)
 
#define DISP_E_TYPEMISMATCH   _HRESULT_TYPEDEF_(0x80020005)
 
#define DISP_E_ARRAYISLOCKED   _HRESULT_TYPEDEF_(0x8002000D)
 
#define DISP_E_BADINDEX   _HRESULT_TYPEDEF_(0x8002000B)
 
#define DISP_E_PARAMNOTFOUND   _HRESULT_TYPEDEF_(0x80020004)
 
#define ERROR_DISK_FULL   112
 
#define STG_E_INVALIDFUNCTION   _HRESULT_TYPEDEF_(0x80030001)
 
#define STG_E_INVALIDPOINTER   _HRESULT_TYPEDEF_(0x80030009)
 
#define ERROR_SERVICE_SPECIFIC_ERROR   1066
 
#define ERROR_SUCCESS   0
 
#define NO_ERROR   0
 

Macro Definition Documentation

◆ __WINERROR_H__

#define __WINERROR_H__   1

◆ _HRESULT_TYPEDEF_

#define _HRESULT_TYPEDEF_ (   _sc)    ((HRESULT)_sc)

◆ CLASS_E_CLASSNOTAVAILABLE

#define CLASS_E_CLASSNOTAVAILABLE   _HRESULT_TYPEDEF_(0x80040111)

◆ CLASS_E_NOAGGREGATION [1/2]

#define CLASS_E_NOAGGREGATION   _HRESULT_TYPEDEF_(0x80040110)

◆ CLASS_E_NOAGGREGATION [2/2]

#define CLASS_E_NOAGGREGATION   _HRESULT_TYPEDEF_(0x80040110)

◆ CLASS_E_NOTLICENSED

#define CLASS_E_NOTLICENSED   _HRESULT_TYPEDEF_(0x80040112)

◆ DISP_E_ARRAYISLOCKED

#define DISP_E_ARRAYISLOCKED   _HRESULT_TYPEDEF_(0x8002000D)

◆ DISP_E_BADINDEX

#define DISP_E_BADINDEX   _HRESULT_TYPEDEF_(0x8002000B)

◆ DISP_E_BADVARTYPE

#define DISP_E_BADVARTYPE   _HRESULT_TYPEDEF_(0x80020008)

◆ DISP_E_EXCEPTION

#define DISP_E_EXCEPTION   _HRESULT_TYPEDEF_(0x80020009)

◆ DISP_E_OVERFLOW

#define DISP_E_OVERFLOW   _HRESULT_TYPEDEF_(0x8002000A)

◆ DISP_E_PARAMNOTFOUND

#define DISP_E_PARAMNOTFOUND   _HRESULT_TYPEDEF_(0x80020004)

◆ DISP_E_TYPEMISMATCH

#define DISP_E_TYPEMISMATCH   _HRESULT_TYPEDEF_(0x80020005)

◆ E_ABORT

#define E_ABORT   _HRESULT_TYPEDEF_(0x80004004)

◆ E_ACCESSDENIED

#define E_ACCESSDENIED   _HRESULT_TYPEDEF_(0x80070005)

◆ E_FAIL

#define E_FAIL   _HRESULT_TYPEDEF_(0x80004005)

◆ E_HANDLE

#define E_HANDLE   _HRESULT_TYPEDEF_(0x80070006)

◆ E_INVALIDARG

#define E_INVALIDARG   _HRESULT_TYPEDEF_(0x80070057)

◆ E_NOINTERFACE

#define E_NOINTERFACE   _HRESULT_TYPEDEF_(0x80004002)

◆ E_NOTIMPL

#define E_NOTIMPL   _HRESULT_TYPEDEF_(0x80004001)

◆ E_OUTOFMEMORY

#define E_OUTOFMEMORY   _HRESULT_TYPEDEF_(0x8007000E)

◆ E_POINTER

#define E_POINTER   _HRESULT_TYPEDEF_(0x80004003)

◆ E_UNEXPECTED

#define E_UNEXPECTED   _HRESULT_TYPEDEF_(0x8000FFFF)

◆ ERROR_ALREADY_EXISTS

#define ERROR_ALREADY_EXISTS   183L

◆ ERROR_DISK_FULL

#define ERROR_DISK_FULL   112

◆ ERROR_INSUFFICIENT_BUFFER

#define ERROR_INSUFFICIENT_BUFFER   122L

◆ ERROR_SERVICE_SPECIFIC_ERROR

#define ERROR_SERVICE_SPECIFIC_ERROR   1066

◆ ERROR_SUCCESS

#define ERROR_SUCCESS   0

◆ FACILITY_CERT

#define FACILITY_CERT   11

◆ FACILITY_CONTROL

#define FACILITY_CONTROL   10

◆ FACILITY_DISPATCH

#define FACILITY_DISPATCH   2

◆ FACILITY_INTERNET

#define FACILITY_INTERNET   12

◆ FACILITY_ITF

#define FACILITY_ITF   4

◆ FACILITY_MEDIASERVER

#define FACILITY_MEDIASERVER   13

◆ FACILITY_MSMQ

#define FACILITY_MSMQ   14

◆ FACILITY_NULL

#define FACILITY_NULL   0

◆ FACILITY_RPC

#define FACILITY_RPC   1

◆ FACILITY_SETUPAPI

#define FACILITY_SETUPAPI   15

◆ FACILITY_SSPI

#define FACILITY_SSPI   9

◆ FACILITY_STORAGE

#define FACILITY_STORAGE   3

◆ FACILITY_WIN32

#define FACILITY_WIN32   7

◆ FACILITY_WINDOWS

#define FACILITY_WINDOWS   8

◆ FAILED

#define FAILED (   Status)    ((HRESULT)(Status)<0)

◆ MAKE_HRESULT

#define MAKE_HRESULT (   sev,
  fac,
  code 
)    ((HRESULT) (((unsigned Int32)(sev)<<31) | ((unsigned Int32)(fac)<<16) | ((unsigned Int32)(code))) )

◆ MAKE_SCODE

#define MAKE_SCODE (   sev,
  fac,
  code 
)    ((SCODE) (((unsigned Int32)(sev)<<31) | ((unsigned Int32)(fac)<<16) | ((unsigned Int32)(code))) )

◆ NO_ERROR

#define NO_ERROR   0

◆ NOERROR

#define NOERROR   0

◆ REGDB_E_CLASSNOTREG

#define REGDB_E_CLASSNOTREG   _HRESULT_TYPEDEF_(0x80040154)

◆ REGDB_E_IIDNOTREG

#define REGDB_E_IIDNOTREG   _HRESULT_TYPEDEF_(0x80040155)

◆ REGDB_E_INVALIDVALUE

#define REGDB_E_INVALIDVALUE   _HRESULT_TYPEDEF_(0x80040153)

◆ REGDB_E_KEYMISSING

#define REGDB_E_KEYMISSING   _HRESULT_TYPEDEF_(0x80040152)

◆ REGDB_E_READREGDB

#define REGDB_E_READREGDB   _HRESULT_TYPEDEF_(0x80040150)

◆ REGDB_E_WRITEREGDB

#define REGDB_E_WRITEREGDB   _HRESULT_TYPEDEF_(0x80040151)

◆ S_FALSE

#define S_FALSE   (0x00000001)

◆ S_OK

#define S_OK   (0x00000000)

◆ SEVERITY_ERROR

#define SEVERITY_ERROR   1

◆ SEVERITY_SUCCESS

#define SEVERITY_SUCCESS   0

◆ STG_E_INVALIDFUNCTION

#define STG_E_INVALIDFUNCTION   _HRESULT_TYPEDEF_(0x80030001)

◆ STG_E_INVALIDPOINTER

#define STG_E_INVALIDPOINTER   _HRESULT_TYPEDEF_(0x80030009)

◆ SUCCEEDED

#define SUCCEEDED (   Status)    ((HRESULT)(Status) >= 0)