Ignore:
Timestamp:
Mar 28, 2008, 5:43:34 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

インクルードガードとその他不要な前処理定義などの削除

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/objbase.sbp

    r303 r497  
    11' objbase.sbp
    2 
    3 #ifndef _INC_OBJBASE
    4 #define _INC_OBJBASE
    52
    63TypeDef RPC_AUTH_IDENTITY_HANDLE = VoidPtr 'Declared in Rpcdce.sbp; include Rpc.sbp.
     
    8986Const CLSCTX_INPROC = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER
    9087'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM)
    91 #ifdef _WIN32_DCOM
    9288Const CLSCTX_ALL    = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER or CLSCTX_LOCAL_SERVER or CLSCTX_REMOTE_SERVER
    9389Const 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
     90'#else
     91'Const CLSCTX_ALL    = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER or CLSCTX_LOCAL_SERVER
     92'Const CLSCTX_SERVER = CLSCTX_INPROC_SERVER or CLSCTX_LOCAL_SERVER
     93'#endif
    9894
    9995Const Enum REGCLS
     
    115111
    116112'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM)
    117 #ifdef _WIN32_DCOM
    118113Const Enum COINIT
    119114    COINIT_MULTITHREADED     = &h0
     
    124119Declare Function CoInitializeEx Lib "ole32" (pvReserved As VoidPtr, dwCoInit As DWord) As HRESULT
    125120Declare Function CoGetCallerTID Lib "ole32" (ByRef dwTID AS DWord) As HRESULT
    126 #endif
     121'#endif
    127122
    128123#ifdef __UNDECLARED__
     
    220215
    221216'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    222 #ifdef _WIN32_DCOM
    223217
    224218/* Call Security. */
    225219
     220/*SOLE_AUTHENTICATION_SERVICE未定義
    226221Declare Function CoInitializeSecurity Lib "ole32" (
    227222    ByVal pSecDesc As *SECURITY_DESCRIPTOR,
     
    231226    ByVal dwImpLevel As DWord,
    232227    ByVal pAuthList As VoidPtr,
    233     ByVal dwCapabilities As DWord
     228    ByVal dwCapabilities As DWord,
    234229    ByVal pReserved3 As VoidPtr) As HRESULT
     230*/
    235231Declare Function CoGetCallContext Lib "ole32" (
    236232    ByRef riid As IID,
     
    243239    ByVal pAuthnLevel As *DWord,
    244240    ByVal pImpLevel As *DWord,
    245     ByVal pAuthInfo As *RPC_AUTH_IDENTITY_HANDLE
     241    ByVal pAuthInfo As *RPC_AUTH_IDENTITY_HANDLE,
    246242    ByVal pCapabilites As *DWord) As HRESULT
    247243Declare Function CoSetProxyBlanket Lib "ole32" (
     
    263259    ByVal pAuthnLevel As *DWord,
    264260    ByVal pImpLevel As *DWord,
    265     ByVal pPrivs As *RPC_AUTHZ_HANDLE
     261    ByVal pPrivs As *RPC_AUTHZ_HANDLE,
    266262    ByVal pCapabilities As *DWord) As HRESULT
    267263Declare Function CoImpersonateClient Lib "ole32" () As HRESULT
     
    281277Const COM_RIGHTS_ACTIVATE_LOCAL = 8
    282278Const COM_RIGHTS_ACTIVATE_REMOTE = 16
    283 
    284 #endif ' DCOM
     279'#endif ' DCOM
    285280
    286281Declare Function CoCreateInstance Lib "ole32" (ByRef clsid As CLSID, pUnknown As *IUnknown, dwClsContext As DWord, ByRef refiid As IID, ByRef pObj As Any) As HRESULT
    287282
    288283'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    289 #ifdef _WIN32_DCOM
    290284Declare Function CoGetInstanceFromFile Lib "ole32" (
    291285    ByVal pServerInfo As *COSERVERINFO,
     
    294288    ByVal dwClsCtx As DWord,
    295289    ByVal grfMode As DWord,
    296     ByVal pwszName As *OLECHAR
     290    ByVal pwszName As *OLECHAR,
    297291    ByVal dwCount As DWord,
    298292    ByVal pResults As *MULTI_QI) As HRESULT
     
    304298    ByVal dwClsCtx As DWord,
    305299    ByVal grfMode As DWord,
    306     ByVal pstg As *IStorage
     300    ByVal pstg As *IStorage,
    307301    ByVal dwCount As DWord,
    308302    ByVal pResults As *MULTI_QI) As HRESULT
     
    312306    ByVal punkOuter As *IUnknown,
    313307    ByVal dwClsCtx As DWord,
    314     ByVal pServerInfo As COSERVERINFO,
     308    ByVal pServerInfo As *COSERVERINFO,
    315309    ByVal dwCount As DWord,
    316310    ByVal pResults As *MULTI_QI) As HRESULT
    317 #endif ' DCOM
     311'#endif ' DCOM
    318312
    319313/* Call related APIs */
    320314'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    321 #ifdef _WIN32_DCOM
    322 
    323315Declare Function CoGetCancelObject Lib "ole32" (dwThreadId As DWord, ByRef iid As IID, ByRef pUnk As Any) As HRESULT
    324316Declare Function CoSetCancelObject Lib "ole32" (pUnk As *IUnknown) As HRESULT
     
    329321Declare Function CoAllowSetForegroundWindow Lib "ole32" (pUnk As *IUnknown, pvReserved As VoidPtr) As HRESULT
    330322Declare Function DcomChannelSetHResult Lib "ole32" (pvReserved As HRESULT, pulReserved As DWord, appsHR As HRESULT) As HRESULT
    331 
    332 #endif
     323'#endif
    333324
    334325/* other helpers */
     
    353344
    354345'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    355 #ifdef _WIN32_DCOM
    356 Declare Function CoRegisterChannelHook Lib "ole32" (ByRef ExtensionUuid As GUID, pChannelHook As *IChannelHook) As HRESULT
    357 #endif ' DCOM
     346'IChannelHook未定義
     347'Declare Function CoRegisterChannelHook Lib "ole32" (ByRef ExtensionUuid As GUID, pChannelHook As *IChannelHook) As HRESULT
     348'#endif ' DCOM
    358349
    359350'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM) 'DCOM
    360 #ifdef _WIN32_DCOM
    361351
    362352Declare Function CoWaitForMultipleHandles Lib "ole32" (
     
    375365End Enum
    376366
    377 #endif ' DCOM
     367'#endif ' DCOM
    378368
    379369/* for flushing OLESCM remote binding handles */
     
    551541    ByVal pIbscCaller As *IBindStatusCallback,
    552542    ByRef pIbsc As *IBindStatusCallback) As HRESULT
    553 
    554 
    555 #endif '_INC_OBJBASE
Note: See TracChangeset for help on using the changeset viewer.