Changeset 285 for Include/objbase.sbp
- Timestamp:
- Jul 26, 2007, 5:43:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/objbase.sbp
r175 r285 1 1 ' objbase.sbp 2 3 2 4 3 #ifndef _INC_OBJBASE 5 4 #define _INC_OBJBASE 6 7 Type CSPLATFORM 'wtypes.sbp8 dwPlatformId As DWord9 dwVersionHi As DWord10 dwVersionLo As DWord11 dwProcessorArch As DWord12 End Type13 14 Type QUERYCONTEXT 'wtypes.sbp15 dwContext As DWord16 latform As CSPLATFORM17 Locale As LCID18 dwVersionHi As DWord19 dwVersionLo As DWord20 End Type21 5 22 6 TypeDef RPC_AUTH_IDENTITY_HANDLE = VoidPtr 'Declared in Rpcdce.sbp; include Rpc.sbp. … … 95 79 'typedef interface IRpcChannelBuffer IRpcChannelBuffer; 96 80 97 #include <unknwn.sbp> 98 #include <objidl.sbp> 81 #require <wtypes.ab> 82 #require <unknwn.sbp> 83 #require <objidl.sbp> 99 84 100 85 '------------------- … … 102 87 '------------------- 103 88 104 Const CLSCTX_INPROC_SERVER = &H01105 Const CLSCTX_INPROC_HANDLER = &H02106 Const CLSCTX_LOCAL_SERVER = &H4107 Const CLSCTX_INPROC_SERVER16 = &H8108 Const CLSCTX_REMOTE_SERVER = &H10109 Const CLSCTX_INPROC_HANDLER16 = &H20110 Const CLSCTX_INPROC_SERVERX86 = &H40111 Const CLSCTX_INPROC_HANDLERX86 = &H80112 Const CLSCTX_ESERVER_HANDLER = &H100113 114 89 Const CLSCTX_INPROC = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER 90 '#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 91 #ifdef _WIN32_DCOM 115 92 Const CLSCTX_ALL = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER or CLSCTX_LOCAL_SERVER or CLSCTX_REMOTE_SERVER 116 93 Const CLSCTX_SERVER = CLSCTX_INPROC_SERVER or CLSCTX_LOCAL_SERVER or CLSCTX_REMOTE_SERVER 94 #else 95 Const CLSCTX_ALL = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER or CLSCTX_LOCAL_SERVER 96 Const CLSCTX_SERVER = CLSCTX_INPROC_SERVER or CLSCTX_LOCAL_SERVER 97 #endif 117 98 118 99 Const Enum REGCLS … … 124 105 End Enum 125 106 126 Type COAUTHIDENTITY127 User As *Word128 UserLength As DWord129 Domain As *Word130 DomainLength As DWord131 Password As *Word132 PasswordLength As DWord133 Flags As DWord134 End Type135 Type COAUTHINFO136 dwAuthnSvc As DWord137 dwAuthzSvc As DWord138 pwszServerPrincName As LPWSTR139 dwAuthnLevel As DWord140 dwImpersonationLevel As DWord141 pAuthIdentityData As *COAUTHIDENTITY142 dwCapabilities As DWord143 End Type144 Type COSERVERINFO145 dwReserved1 As DWord146 pwszName As LPWSTR147 pAuthInfo As *COAUTHINFO148 dwReserved2 As DWord149 End Type150 107 Declare Function CoInitialize Lib "ole32" (pvReserved As VoidPtr) As HRESULT 151 108 Declare Sub CoUninitialize Lib "ole32" () 152 'Declare Sub CoGetMalloc Lib "ole32" (dwMemContext As DWord, ByRef pMalloc As *IMalloc) As HRESULT109 'Declare Sub CoGetMalloc Lib "ole32" (dwMemContext As DWord, ByRef pMalloc As IMalloc) As HRESULT 153 110 Declare Function CoGetCurrentProcess Lib "ole32" () As DWord 154 111 'Declare Function CoRegisterMallocSpy Lib "ole32" (pMallocSpy As *IMallocSpy) As HRESULT … … 584 541 Inherits IUnknown 585 542 End Interface 586 '# include <urlmon.sbp>587 '# include <propidl.sbp>543 '#require <urlmon.sbp> 544 '#require <propidl.sbp> 588 545 589 546 ' Standard Progress Indicator impolementation
Note:
See TracChangeset
for help on using the changeset viewer.