[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 | #ifndef __INC_PORTABLEDEVICECONNECTAPI__
|
---|
| 7 | #define __INC_PORTABLEDEVICECONNECTAPI__
|
---|
| 8 |
|
---|
| 9 | #include <objbase.h>
|
---|
| 10 |
|
---|
| 11 | #if (_WIN32_WINNT >= 0x0601)
|
---|
| 12 |
|
---|
| 13 | #ifndef __IConnectionRequestCallback_FWD_DEFINED__
|
---|
| 14 | #define __IConnectionRequestCallback_FWD_DEFINED__
|
---|
| 15 | typedef struct IConnectionRequestCallback ILocationReport;
|
---|
| 16 | #endif
|
---|
| 17 |
|
---|
| 18 | #undef INTERFACE
|
---|
| 19 | #define INTERFACE IConnectionRequestCallback
|
---|
| 20 | DECLARE_INTERFACE_(IConnectionRequestCallback,IUnknown)
|
---|
| 21 | {
|
---|
| 22 | BEGIN_INTERFACE
|
---|
| 23 |
|
---|
| 24 | /* IUnknown methods */
|
---|
| 25 | STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
|
---|
| 26 | STDMETHOD_(ULONG, AddRef)(THIS) PURE;
|
---|
| 27 | STDMETHOD_(ULONG, Release)(THIS) PURE;
|
---|
| 28 |
|
---|
| 29 | /* IConnectionRequestCallback methods */
|
---|
| 30 | STDMETHOD_(HRESULT,OnComplete)(THIS_ HRESULT hrStatus) PURE;
|
---|
| 31 |
|
---|
| 32 | END_INTERFACE
|
---|
| 33 | };
|
---|
| 34 | #ifdef COBJMACROS
|
---|
| 35 | #define IConnectionRequestCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 36 | #define IConnectionRequestCallback_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 37 | #define IConnectionRequestCallback_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 38 | #define IConnectionRequestCallback_OnComplete(This,hrStatus) (This)->lpVtbl->OnComplete(This,hrStatus)
|
---|
| 39 | #endif /*COBJMACROS*/
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 | #endif /*(_WIN32_WINNT >= 0x0601)*/
|
---|
| 43 | #endif /*__INC_PORTABLEDEVICECONNECTAPI__*/
|
---|