Changeset 175 for Include/objbase.sbp


Ignore:
Timestamp:
Mar 21, 2007, 7:06:34 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

Variant, VBObjectの追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/objbase.sbp

    r170 r175  
    6060Const STGM_PRIORITY           = &h00040000
    6161Const STGM_DELETEONRELEASE    = &h04000000
    62 '#if (WINVER >= 400)
     62'#if (WINVER >= &h400)
    6363Const STGM_NOSCRATCH          = &h00100000
    6464'#endif /* WINVER */
     
    6969
    7070Const STGM_NOSNAPSHOT         = &h00200000
    71 '#if (_WIN32_WINNT >= 0x0500)
     71'#if (_WIN32_WINNT >= &h0500)
    7272Const STGM_DIRECT_SWMR        = &h00400000
    7373'#endif
     
    136136    dwAuthnSvc As DWord
    137137    dwAuthzSvc As DWord
    138     pwszServerPrincName As PWSTR
     138    pwszServerPrincName As LPWSTR
    139139    dwAuthnLevel As DWord
    140140    dwImpersonationLevel As DWord
     
    144144Type COSERVERINFO
    145145    dwReserved1 As DWord
    146     pwszName As PWSTR
     146    pwszName As LPWSTR
    147147    pAuthInfo As *COAUTHINFO
    148148    dwReserved2 As DWord
     
    157157
    158158
    159 '#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM)
     159'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM)
    160160#ifdef _WIN32_DCOM
    161161Const Enum COINIT
    162     COINIT_MULTITHREADED     = = &h0
    163     COINIT_APARTMENTTHREADED = = &h2
    164     COINIT_DISABLE_OLE1DDE   = = &h4
    165     COINIT_SPEED_OVER_MEMORY = = &h8
     162    COINIT_MULTITHREADED     = &h0
     163    COINIT_APARTMENTTHREADED = &h2
     164    COINIT_DISABLE_OLE1DDE   = &h4
     165    COINIT_SPEED_OVER_MEMORY = &h8
    166166End Enum
    167167Declare Function CoInitializeEx Lib "ole32" (pvReserved As VoidPtr, dwCoInit As DWord) As HRESULT
     
    170170
    171171#ifdef __UNDECLARED__
    172 '#if (_WIN32_WINNT >= 0x0501)
     172'#if (_WIN32_WINNT >= &h0501)
    173173' 注意:このcokkieは本来ULARGE_INTEGER型
    174174'Declare Function CoRegisterInitializeSpy Lib "ole32" (pSpy As *IInitializeSpy, ByRef uliCokkie As QWord) As HRESULT
     
    191191'#endif
    192192
    193 '#if (_WIN32_WINNT >= 0x0500)
     193'#if (_WIN32_WINNT >= &h0500)
    194194
    195195Type SOleTlsDataPublic
     
    258258Declare Sub CoFreeAllLibraries Lib "ole32" ()
    259259Declare Sub CoFreeUnusedLibraries Lib "ole32" ()
    260 '#if  (_WIN32_WINNT >= 0x0501)
     260'#if  (_WIN32_WINNT >= &h0501)
    261261Declare Sub CoFreeUnusedLibrariesEx Lib "ole32" (dwUnloadDelay As DWord, dwReserved As DWord)
    262262'#endif
    263263
    264 '#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) 'DCOM
     264'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    265265#ifdef _WIN32_DCOM
    266266
     
    329329Declare Function CoCreateInstance Lib "ole32" (ByRef clsid As CLSID, pUnknown As *IUnknown, dwClsContext As DWord, ByRef refiid As IID, ByRef pObj As Any) As HRESULT
    330330
    331 '#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) 'DCOM
     331'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    332332#ifdef _WIN32_DCOM
    333 /* objidl.hでのMULTI_QIの宣言が必要。
    334333Declare Function CoGetInstanceFromFile Lib "ole32" (
    335334    ByVal pServerInfo As *COSERVERINFO,
     
    356355    ByVal punkOuter As *IUnknown,
    357356    ByVal dwClsCtx As DWord,
    358     ByVal pServerInfo As *COSERVERINFO,
     357    ByVal pServerInfo As COSERVERINFO,
    359358    ByVal dwCount As DWord,
    360359    ByVal pResults As *MULTI_QI) As HRESULT
    361 */
    362360#endif ' DCOM
    363361
    364362/* Call related APIs */
    365 '#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) 'DCOM
     363'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    366364#ifdef _WIN32_DCOM
    367365
     
    397395Declare Function CoRegisterMessageFilter Lib "ole32" (pMessageFilter As *IMessageFilter, ByRef pMessageFilter As *IMessageFilter) As HRESULT
    398396
    399 '#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) 'DCOM
     397'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    400398#ifdef _WIN32_DCOM
    401399Declare Function CoRegisterChannelHook Lib "ole32" (ByRef ExtensionUuid As GUID, pChannelHook As *IChannelHook) As HRESULT
    402400#endif ' DCOM
    403401
    404 '#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) 'DCOM
     402'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    405403#ifdef _WIN32_DCOM
    406404
     
    425423
    426424#ifdef __UNDECLARED__
    427 '#if  (_WIN32_WINNT >= 0x0501)
     425'#if  (_WIN32_WINNT >= &h0501)
    428426Declare Function CoInvalidateRemoteMachineBindings Lib "ole32" (pszMachineName As LPOLESTR) As HRESULT
    429427#endif
     
    519517/*
    520518// STG initialization options for StgCreateStorageEx and StgOpenStorageEx
    521 #if _WIN32_WINNT == 0x500
     519#if _WIN32_WINNT == &h500
    522520#define STGOPTIONS_VERSION 1
    523 #elif _WIN32_WINNT > 0x500
     521#elif _WIN32_WINNT > &h500
    524522#define STGOPTIONS_VERSION 2
    525523#else
Note: See TracChangeset for help on using the changeset viewer.