Changeset 285 for Include/objbase.sbp


Ignore:
Timestamp:
Jul 26, 2007, 5:43:54 PM (17 years ago)
Author:
イグトランス (egtra)
Message:

wtypes.abを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/objbase.sbp

    r175 r285  
    11' objbase.sbp
    2 
    32
    43#ifndef _INC_OBJBASE
    54#define _INC_OBJBASE
    6 
    7 Type CSPLATFORM 'wtypes.sbp
    8     dwPlatformId As DWord
    9     dwVersionHi As DWord
    10     dwVersionLo As DWord
    11     dwProcessorArch As DWord
    12 End Type
    13 
    14 Type QUERYCONTEXT 'wtypes.sbp
    15     dwContext As DWord
    16     latform As CSPLATFORM
    17     Locale As LCID
    18     dwVersionHi As DWord
    19     dwVersionLo As DWord
    20 End Type
    215
    226TypeDef RPC_AUTH_IDENTITY_HANDLE = VoidPtr 'Declared in Rpcdce.sbp; include Rpc.sbp.
     
    9579'typedef interface    IRpcChannelBuffer  IRpcChannelBuffer;
    9680
    97 #include <unknwn.sbp>
    98 #include <objidl.sbp>
     81#require <wtypes.ab>
     82#require <unknwn.sbp>
     83#require <objidl.sbp>
    9984
    10085'-------------------
     
    10287'-------------------
    10388
    104 Const CLSCTX_INPROC_SERVER     = &H01
    105 Const CLSCTX_INPROC_HANDLER    = &H02
    106 Const CLSCTX_LOCAL_SERVER      = &H4
    107 Const CLSCTX_INPROC_SERVER16   = &H8
    108 Const CLSCTX_REMOTE_SERVER     = &H10
    109 Const CLSCTX_INPROC_HANDLER16  = &H20
    110 Const CLSCTX_INPROC_SERVERX86  = &H40
    111 Const CLSCTX_INPROC_HANDLERX86 = &H80
    112 Const CLSCTX_ESERVER_HANDLER   = &H100
    113 
    11489Const CLSCTX_INPROC = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER
     90'#if (_WIN32_WINNT >= &h0400) Or defined(_WIN32_DCOM)
     91#ifdef _WIN32_DCOM
    11592Const CLSCTX_ALL    = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER or CLSCTX_LOCAL_SERVER or CLSCTX_REMOTE_SERVER
    11693Const CLSCTX_SERVER = CLSCTX_INPROC_SERVER or CLSCTX_LOCAL_SERVER or CLSCTX_REMOTE_SERVER
     94#else
     95Const CLSCTX_ALL    = CLSCTX_INPROC_SERVER or CLSCTX_INPROC_HANDLER or CLSCTX_LOCAL_SERVER
     96Const CLSCTX_SERVER = CLSCTX_INPROC_SERVER or CLSCTX_LOCAL_SERVER
     97#endif
    11798
    11899Const Enum REGCLS
     
    124105End Enum
    125106
    126 Type COAUTHIDENTITY
    127     User As *Word
    128     UserLength As DWord
    129     Domain As *Word
    130     DomainLength As DWord
    131     Password As *Word
    132     PasswordLength As DWord
    133     Flags As DWord
    134 End Type
    135 Type COAUTHINFO
    136     dwAuthnSvc As DWord
    137     dwAuthzSvc As DWord
    138     pwszServerPrincName As LPWSTR
    139     dwAuthnLevel As DWord
    140     dwImpersonationLevel As DWord
    141     pAuthIdentityData As *COAUTHIDENTITY
    142     dwCapabilities As DWord
    143 End Type
    144 Type COSERVERINFO
    145     dwReserved1 As DWord
    146     pwszName As LPWSTR
    147     pAuthInfo As *COAUTHINFO
    148     dwReserved2 As DWord
    149 End Type
    150107Declare Function CoInitialize Lib "ole32" (pvReserved As VoidPtr) As HRESULT
    151108Declare Sub CoUninitialize Lib "ole32" ()
    152 'Declare Sub CoGetMalloc Lib "ole32" (dwMemContext As DWord, ByRef pMalloc As *IMalloc) As HRESULT
     109'Declare Sub CoGetMalloc Lib "ole32" (dwMemContext As DWord, ByRef pMalloc As IMalloc) As HRESULT
    153110Declare Function CoGetCurrentProcess Lib "ole32" () As DWord
    154111'Declare Function CoRegisterMallocSpy Lib "ole32" (pMallocSpy As *IMallocSpy) As HRESULT
     
    584541    Inherits IUnknown
    585542End Interface
    586 '#include <urlmon.sbp>
    587 '#include <propidl.sbp>
     543'#require <urlmon.sbp>
     544'#require <propidl.sbp>
    588545
    589546' Standard Progress Indicator impolementation
Note: See TracChangeset for help on using the changeset viewer.