source: Include/api_winerror.sbp@ 1

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