[1] | 1 | ' unknwn.sbp
|
---|
| 2 | ' 本来はunknwn.idlから生成するのが正当ですが、これは手動で移植したものです。
|
---|
| 3 |
|
---|
| 4 | #ifndef _INC_UNKNWN
|
---|
| 5 | #define _INC_UNKNWN
|
---|
| 6 |
|
---|
| 7 | '-------------------
|
---|
| 8 | ' Unknown Interface
|
---|
| 9 | '-------------------
|
---|
| 10 |
|
---|
| 11 | Dim IID_IUnknown = [&H00000000, &H0000, &H0000, [&HC0, &H00, &H00, &H00, &H00, &H00, &H00, &H46]] As IID
|
---|
| 12 |
|
---|
| 13 | Interface IUnknown
|
---|
| 14 | Function QueryInterface(ByRef riid As IID, ByRef pvObj As Any) As HRESULT
|
---|
| 15 | Function AddRef() As DWord
|
---|
| 16 | Function Release() As DWord
|
---|
| 17 | End Interface
|
---|
| 18 | TypeDef LPUNKNOWN = *IUnknown
|
---|
| 19 |
|
---|
| 20 | Dim IID_AsyncIUnknown = [&H000e0000, &H0000, &H0000, [&HC0, &H00, &H00, &H00, &H00, &H00, &H00, &H46]] As IID
|
---|
| 21 | Interface AsyncIUnknown
|
---|
| 22 | Inherits IUnknown
|
---|
| 23 |
|
---|
| 24 | Function Begin_QueryInterface(
|
---|
| 25 | /* [in] */ ByRef riid As IID) As HRESULT
|
---|
| 26 | Function Finish_QueryInterface(
|
---|
| 27 | /* [out] */ ByRef ppvObject As Any) As HRESULT
|
---|
| 28 | Function Begin_AddRef() As HRESULT
|
---|
| 29 | Function Finish_AddRef() As DWord
|
---|
| 30 | Function Begin_Release() As HRESULT
|
---|
| 31 | Function Finish_Release() As DWord
|
---|
| 32 | End Interface
|
---|
| 33 |
|
---|
| 34 | Dim IID_IClassFactory = [&H00000000, &H0000, &H0000, [&HC0, &H00, &H00, &H00, &H00, &H00, &H00, &H46]] As IID
|
---|
| 35 | Interface IClassFactory
|
---|
| 36 | Inherits IUnknown
|
---|
| 37 |
|
---|
| 38 | Function CreateInstance(ByVal pUnkOuter As *IUnknown, ByRef riid As IID, ByRef ppvObject As Any) As HRESULT
|
---|
| 39 | Function LockServer(ByVal fLock As BOOL) As HRESULT
|
---|
| 40 | End Interface
|
---|
| 41 |
|
---|
| 42 | #endif '_INC_UNKNWN
|
---|