Changeset 175 for Include/objbase.sbp
- Timestamp:
- Mar 21, 2007, 7:06:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/objbase.sbp
r170 r175 60 60 Const STGM_PRIORITY = &h00040000 61 61 Const STGM_DELETEONRELEASE = &h04000000 62 '#if (WINVER >= 400)62 '#if (WINVER >= &h400) 63 63 Const STGM_NOSCRATCH = &h00100000 64 64 '#endif /* WINVER */ … … 69 69 70 70 Const STGM_NOSNAPSHOT = &h00200000 71 '#if (_WIN32_WINNT >= 0x0500)71 '#if (_WIN32_WINNT >= &h0500) 72 72 Const STGM_DIRECT_SWMR = &h00400000 73 73 '#endif … … 136 136 dwAuthnSvc As DWord 137 137 dwAuthzSvc As DWord 138 pwszServerPrincName As PWSTR138 pwszServerPrincName As LPWSTR 139 139 dwAuthnLevel As DWord 140 140 dwImpersonationLevel As DWord … … 144 144 Type COSERVERINFO 145 145 dwReserved1 As DWord 146 pwszName As PWSTR146 pwszName As LPWSTR 147 147 pAuthInfo As *COAUTHINFO 148 148 dwReserved2 As DWord … … 157 157 158 158 159 '#if (_WIN32_WINNT >= 0x0400 ) ||defined(_WIN32_DCOM)159 '#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 160 160 #ifdef _WIN32_DCOM 161 161 Const Enum COINIT 162 COINIT_MULTITHREADED = =&h0163 COINIT_APARTMENTTHREADED = =&h2164 COINIT_DISABLE_OLE1DDE = =&h4165 COINIT_SPEED_OVER_MEMORY = =&h8162 COINIT_MULTITHREADED = &h0 163 COINIT_APARTMENTTHREADED = &h2 164 COINIT_DISABLE_OLE1DDE = &h4 165 COINIT_SPEED_OVER_MEMORY = &h8 166 166 End Enum 167 167 Declare Function CoInitializeEx Lib "ole32" (pvReserved As VoidPtr, dwCoInit As DWord) As HRESULT … … 170 170 171 171 #ifdef __UNDECLARED__ 172 '#if (_WIN32_WINNT >= 0x0501)172 '#if (_WIN32_WINNT >= &h0501) 173 173 ' 注意:このcokkieは本来ULARGE_INTEGER型 174 174 'Declare Function CoRegisterInitializeSpy Lib "ole32" (pSpy As *IInitializeSpy, ByRef uliCokkie As QWord) As HRESULT … … 191 191 '#endif 192 192 193 '#if (_WIN32_WINNT >= 0x0500)193 '#if (_WIN32_WINNT >= &h0500) 194 194 195 195 Type SOleTlsDataPublic … … 258 258 Declare Sub CoFreeAllLibraries Lib "ole32" () 259 259 Declare Sub CoFreeUnusedLibraries Lib "ole32" () 260 '#if (_WIN32_WINNT >= 0x0501)260 '#if (_WIN32_WINNT >= &h0501) 261 261 Declare Sub CoFreeUnusedLibrariesEx Lib "ole32" (dwUnloadDelay As DWord, dwReserved As DWord) 262 262 '#endif 263 263 264 '#if (_WIN32_WINNT >= 0x0400 ) ||defined(_WIN32_DCOM) 'DCOM264 '#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM 265 265 #ifdef _WIN32_DCOM 266 266 … … 329 329 Declare Function CoCreateInstance Lib "ole32" (ByRef clsid As CLSID, pUnknown As *IUnknown, dwClsContext As DWord, ByRef refiid As IID, ByRef pObj As Any) As HRESULT 330 330 331 '#if (_WIN32_WINNT >= 0x0400 ) ||defined(_WIN32_DCOM) 'DCOM331 '#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM 332 332 #ifdef _WIN32_DCOM 333 /* objidl.hでのMULTI_QIの宣言が必要。334 333 Declare Function CoGetInstanceFromFile Lib "ole32" ( 335 334 ByVal pServerInfo As *COSERVERINFO, … … 356 355 ByVal punkOuter As *IUnknown, 357 356 ByVal dwClsCtx As DWord, 358 ByVal pServerInfo As *COSERVERINFO,357 ByVal pServerInfo As COSERVERINFO, 359 358 ByVal dwCount As DWord, 360 359 ByVal pResults As *MULTI_QI) As HRESULT 361 */362 360 #endif ' DCOM 363 361 364 362 /* Call related APIs */ 365 '#if (_WIN32_WINNT >= 0x0400 ) ||defined(_WIN32_DCOM) 'DCOM363 '#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM 366 364 #ifdef _WIN32_DCOM 367 365 … … 397 395 Declare Function CoRegisterMessageFilter Lib "ole32" (pMessageFilter As *IMessageFilter, ByRef pMessageFilter As *IMessageFilter) As HRESULT 398 396 399 '#if (_WIN32_WINNT >= 0x0400 ) ||defined(_WIN32_DCOM) 'DCOM397 '#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM 400 398 #ifdef _WIN32_DCOM 401 399 Declare Function CoRegisterChannelHook Lib "ole32" (ByRef ExtensionUuid As GUID, pChannelHook As *IChannelHook) As HRESULT 402 400 #endif ' DCOM 403 401 404 '#if (_WIN32_WINNT >= 0x0400 ) ||defined(_WIN32_DCOM) 'DCOM402 '#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM 405 403 #ifdef _WIN32_DCOM 406 404 … … 425 423 426 424 #ifdef __UNDECLARED__ 427 '#if (_WIN32_WINNT >= 0x0501)425 '#if (_WIN32_WINNT >= &h0501) 428 426 Declare Function CoInvalidateRemoteMachineBindings Lib "ole32" (pszMachineName As LPOLESTR) As HRESULT 429 427 #endif … … 519 517 /* 520 518 // STG initialization options for StgCreateStorageEx and StgOpenStorageEx 521 #if _WIN32_WINNT == 0x500519 #if _WIN32_WINNT == &h500 522 520 #define STGOPTIONS_VERSION 1 523 #elif _WIN32_WINNT > 0x500521 #elif _WIN32_WINNT > &h500 524 522 #define STGOPTIONS_VERSION 2 525 523 #else
Note:
See TracChangeset
for help on using the changeset viewer.