Rev | Line | |
---|
[1] | 1 | ' api_winerror.sbp
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | #ifndef _INC_WINERROR
|
---|
| 5 | #define _INC_WINERROR
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 | Const MAKE_HRESULT(sev,fac,code) = (sev<<31) or (fac<<16) or code
|
---|
| 9 |
|
---|
| 10 | ' Success codes
|
---|
| 11 | Const S_OK = 0
|
---|
| 12 | Const S_FALSE = 1
|
---|
| 13 |
|
---|
| 14 | ' Not implemented
|
---|
| 15 | Const E_NOTIMPL = &H80004001
|
---|
| 16 |
|
---|
| 17 | ' Ran out of memory
|
---|
| 18 | Const E_OUTOFMEMORY = &H8007000E
|
---|
| 19 |
|
---|
| 20 | ' One or more arguments are invalid
|
---|
| 21 | Const E_INVALIDARG = &H80070057
|
---|
| 22 |
|
---|
| 23 | ' No such interface supported
|
---|
| 24 | Const E_NOINTERFACE = &H80004002
|
---|
| 25 |
|
---|
| 26 | ' Unspecified error
|
---|
| 27 | Const E_FAIL = &H80004005
|
---|
| 28 |
|
---|
| 29 | ' General access denied error
|
---|
| 30 | Const E_ACCESSDENIED = &H80070005
|
---|
| 31 |
|
---|
| 32 | ' Class does not support aggregation (or class object is remote)
|
---|
| 33 | Const CLASS_E_NOAGGREGATION = &H80040110
|
---|
| 34 |
|
---|
| 35 | ' Class not registered
|
---|
| 36 | Const REGDB_E_CLASSNOTREG = &H80040154
|
---|
| 37 |
|
---|
| 38 | ' Cannot change thread mode after it is set.
|
---|
| 39 | Const RPC_E_CHANGED_MODE =&H80010106
|
---|
| 40 |
|
---|
| 41 | ' Error drawing view
|
---|
| 42 | Const VIEW_E_DRAW = &h80040140
|
---|
| 43 |
|
---|
| 44 | ' Invalid FORMATETC structure
|
---|
| 45 | Const DV_E_FORMATETC = &h80040064
|
---|
| 46 |
|
---|
| 47 | #endif '_INC_WINERROR
|
---|
Note:
See
TracBrowser
for help on using the repository browser.