// // Copyright (c) Microsoft Corporation. All rights reserved. // // // Use of this source code is subject to the terms of the Microsoft end-user // license agreement (EULA) under which you licensed this SOFTWARE PRODUCT. // If you did not accept the terms of the EULA, you are not authorized to use // this source code. For a copy of the EULA, please see the LICENSE.RTF on your // install media. // #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 5.03.0286 */ /* at Thu Mar 13 22:32:37 2003 */ /* Compiler settings for .\bthapi.idl: Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext error checks: allocation ref bounds_check enum stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ //@@MIDL_FILE_HEADING( ) /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 440 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif // __RPCNDR_H_VERSION__ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #ifndef __bthapi_h__ #define __bthapi_h__ /* Forward Declarations */ #ifndef __ISdpWalk_FWD_DEFINED__ #define __ISdpWalk_FWD_DEFINED__ typedef interface ISdpWalk ISdpWalk; #endif /* __ISdpWalk_FWD_DEFINED__ */ #ifndef __ISdpNodeContainer_FWD_DEFINED__ #define __ISdpNodeContainer_FWD_DEFINED__ typedef interface ISdpNodeContainer ISdpNodeContainer; #endif /* __ISdpNodeContainer_FWD_DEFINED__ */ #ifndef __ISdpSearch_FWD_DEFINED__ #define __ISdpSearch_FWD_DEFINED__ typedef interface ISdpSearch ISdpSearch; #endif /* __ISdpSearch_FWD_DEFINED__ */ #ifndef __ISdpStream_FWD_DEFINED__ #define __ISdpStream_FWD_DEFINED__ typedef interface ISdpStream ISdpStream; #endif /* __ISdpStream_FWD_DEFINED__ */ #ifndef __ISdpRecord_FWD_DEFINED__ #define __ISdpRecord_FWD_DEFINED__ typedef interface ISdpRecord ISdpRecord; #endif /* __ISdpRecord_FWD_DEFINED__ */ #ifndef __IBluetoothDevice_FWD_DEFINED__ #define __IBluetoothDevice_FWD_DEFINED__ typedef interface IBluetoothDevice IBluetoothDevice; #endif /* __IBluetoothDevice_FWD_DEFINED__ */ #ifndef __IBluetoothAuthenticate_FWD_DEFINED__ #define __IBluetoothAuthenticate_FWD_DEFINED__ typedef interface IBluetoothAuthenticate IBluetoothAuthenticate; #endif /* __IBluetoothAuthenticate_FWD_DEFINED__ */ #ifndef __SdpNodeContainer_FWD_DEFINED__ #define __SdpNodeContainer_FWD_DEFINED__ #ifdef __cplusplus typedef class SdpNodeContainer SdpNodeContainer; #else typedef struct SdpNodeContainer SdpNodeContainer; #endif /* __cplusplus */ #endif /* __SdpNodeContainer_FWD_DEFINED__ */ #ifndef __SdpSearch_FWD_DEFINED__ #define __SdpSearch_FWD_DEFINED__ #ifdef __cplusplus typedef class SdpSearch SdpSearch; #else typedef struct SdpSearch SdpSearch; #endif /* __cplusplus */ #endif /* __SdpSearch_FWD_DEFINED__ */ #ifndef __SdpWalk_FWD_DEFINED__ #define __SdpWalk_FWD_DEFINED__ #ifdef __cplusplus typedef class SdpWalk SdpWalk; #else typedef struct SdpWalk SdpWalk; #endif /* __cplusplus */ #endif /* __SdpWalk_FWD_DEFINED__ */ #ifndef __SdpStream_FWD_DEFINED__ #define __SdpStream_FWD_DEFINED__ #ifdef __cplusplus typedef class SdpStream SdpStream; #else typedef struct SdpStream SdpStream; #endif /* __cplusplus */ #endif /* __SdpStream_FWD_DEFINED__ */ #ifndef __SdpRecord_FWD_DEFINED__ #define __SdpRecord_FWD_DEFINED__ #ifdef __cplusplus typedef class SdpRecord SdpRecord; #else typedef struct SdpRecord SdpRecord; #endif /* __cplusplus */ #endif /* __SdpRecord_FWD_DEFINED__ */ /* header files for imported files */ #include "oaidl.h" #include "ocidl.h" #ifdef __cplusplus extern "C"{ #endif void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t); void __RPC_USER MIDL_user_free( void __RPC_FAR * ); /* interface __MIDL_itf_bthapi_0000 */ /* [local] */ // // Copyright (C) Microsoft Corporation, All rights reserved. // #ifndef __BTHSDPDEF_H__ struct SDP_LARGE_INTEGER_16 { ULONGLONG LowPart; LONGLONG HighPart; }; struct SDP_ULARGE_INTEGER_16 { ULONGLONG LowPart; ULONGLONG HighPart; }; typedef struct SDP_ULARGE_INTEGER_16 SDP_ULARGE_INTEGER_16; typedef struct SDP_ULARGE_INTEGER_16 __RPC_FAR *PSDP_ULARGE_INTEGER_16; typedef struct SDP_ULARGE_INTEGER_16 __RPC_FAR *LPSDP_ULARGE_INTEGER_16; typedef struct SDP_LARGE_INTEGER_16 SDP_LARGE_INTEGER_16; typedef struct SDP_LARGE_INTEGER_16 __RPC_FAR *PSDP_LARGE_INTEGER_16; typedef struct SDP_LARGE_INTEGER_16 __RPC_FAR *LPSDP_LARGE_INTEGER_16; enum NodeContainerType { NodeContainerTypeSequence = 0, NodeContainerTypeAlternative = NodeContainerTypeSequence + 1 }; typedef enum NodeContainerType NodeContainerType; typedef USHORT SDP_ERROR; typedef USHORT __RPC_FAR *PSDP_ERROR; enum SDP_TYPE { SDP_TYPE_NIL = 0, SDP_TYPE_UINT = 0x1, SDP_TYPE_INT = 0x2, SDP_TYPE_UUID = 0x3, SDP_TYPE_STRING = 0x4, SDP_TYPE_BOOLEAN = 0x5, SDP_TYPE_SEQUENCE = 0x6, SDP_TYPE_ALTERNATIVE = 0x7, SDP_TYPE_URL = 0x8, SDP_TYPE_CONTAINER = 0x20 }; typedef enum SDP_TYPE SDP_TYPE; enum SDP_SPECIFICTYPE { SDP_ST_NONE = 0, SDP_ST_UINT8 = 0x10, SDP_ST_UINT16 = 0x110, SDP_ST_UINT32 = 0x210, SDP_ST_UINT64 = 0x310, SDP_ST_UINT128 = 0x410, SDP_ST_INT8 = 0x20, SDP_ST_INT16 = 0x120, SDP_ST_INT32 = 0x220, SDP_ST_INT64 = 0x320, SDP_ST_INT128 = 0x420, SDP_ST_UUID16 = 0x130, SDP_ST_UUID32 = 0x230, SDP_ST_UUID128 = 0x430 }; typedef enum SDP_SPECIFICTYPE SDP_SPECIFICTYPE; typedef struct _SdpAttributeRange { USHORT minAttribute; USHORT maxAttribute; } SdpAttributeRange; typedef /* [switch_type] */ union SdpQueryUuidUnion { /* [case()] */ GUID uuid128; /* [case()] */ ULONG uuid32; /* [case()] */ USHORT uuid16; } SdpQueryUuidUnion; typedef struct _SdpQueryUuid { /* [switch_is] */ SdpQueryUuidUnion u; USHORT uuidType; } SdpQueryUuid; #define BTH_SDP_VERSION 1 typedef struct _BTHNS_SETBLOB { ULONG __RPC_FAR *pSdpVersion; ULONG __RPC_FAR *pRecordHandle; ULONG Reserved[ 4 ]; ULONG fSecurity; ULONG fOptions; ULONG ulRecordLength; UCHAR pRecord[ 1 ]; } BTHNS_SETBLOB; typedef struct _BTHNS_SETBLOB __RPC_FAR *PBTHNS_SETBLOB; #define MAX_UUIDS_IN_QUERY 12 #define SDP_SERVICE_SEARCH_REQUEST 1 #define SDP_SERVICE_ATTRIBUTE_REQUEST 2 #define SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST 3 // // The following may be passed as parameters to BthNsLookupServiceNext as extended // dwFlags options for device inquiry. // // Causes traversal through list to be reset to first element. #define BTHNS_LUP_RESET_ITERATOR 0x00010000 // Does not increment list, causes next query to be performed on current item as well. #define BTHNS_LUP_NO_ADVANCE 0x00020000 // Causes LookupServiceEnd to abort current inquiry. #define BTHNS_ABORT_CURRENT_INQUIRY 0xfffffffd typedef struct _BTHNS_INQUIRYBLOB { ULONG LAP; unsigned char length; unsigned char num_responses; } BTHNS_INQUIRYBLOB; typedef struct _BTHNS_INQUIRYBLOB __RPC_FAR *PBTHNS_INQUIRYBLOB; typedef struct _BTHNS_RESTRICTIONBLOB { ULONG type; ULONG serviceHandle; SdpQueryUuid uuids[ 12 ]; ULONG numRange; SdpAttributeRange pRange[ 1 ]; } BTHNS_RESTRICTIONBLOB; typedef struct _BTHNS_RESTRICTIONBLOB __RPC_FAR *PBTHNS_RESTRICTIONBLOB; #define __BTHSDPDEF_H__ #endif struct SdpString { /* [size_is] */ CHAR __RPC_FAR *val; ULONG length; }; typedef struct SdpString SdpString; typedef /* [switch_type] */ union NodeDataUnion { /* [case()] */ SDP_LARGE_INTEGER_16 int128; /* [case()] */ SDP_ULARGE_INTEGER_16 uint128; /* [case()] */ GUID uuid128; /* [case()] */ ULONG uuid32; /* [case()] */ USHORT uuid16; /* [case()] */ LONGLONG int64; /* [case()] */ ULONGLONG uint64; /* [case()] */ LONG int32; /* [case()] */ ULONG uint32; /* [case()] */ SHORT int16; /* [case()] */ USHORT uint16; /* [case()] */ CHAR int8; /* [case()] */ UCHAR uint8; /* [case()] */ UCHAR booleanVal; /* [case()] */ SdpString str; /* [case()] */ SdpString url; /* [case()] */ ISdpNodeContainer __RPC_FAR *container; /* [case()] */ /* Empty union arm */ } NodeDataUnion; typedef struct NodeData { USHORT type; USHORT specificType; /* [switch_is] */ NodeDataUnion u; } NodeData; enum BthDeviceStringType { BthDeviceStringTypeFriendlyName = 0, BthDeviceStringTypeDeviceName = BthDeviceStringTypeFriendlyName + 1, BthDeviceStringTypeDisplay = BthDeviceStringTypeDeviceName + 1, BthDeviceStringTypeClass = BthDeviceStringTypeDisplay + 1, BthDeviceStringTypeAddress = BthDeviceStringTypeClass + 1 }; #ifndef __BTHDEVICEINFO_DEFINED__ #define __BTHDEVICEINFO_DEFINED__ #pragma warning(disable:4103) #pragma pack(push) #pragma pack(1) typedef struct _BthDeviceInfo { ULONGLONG btAddress; ULONG cod; ULONGLONG lmpSupportedFeatures; CHAR name[ 248 ]; } BthDeviceInfo; #pragma warning(disable:4103) #pragma pack(pop) #endif // __BTHDEVICEINFO_DEFINED__ extern RPC_IF_HANDLE __MIDL_itf_bthapi_0000_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_bthapi_0000_v0_0_s_ifspec; #ifndef __ISdpWalk_INTERFACE_DEFINED__ #define __ISdpWalk_INTERFACE_DEFINED__ /* interface ISdpWalk */ /* [unique][helpstring][uuid][object] */ EXTERN_C const IID IID_ISdpWalk; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("57134AE6-5D3C-462D-BF2F-810361FBD7E7") ISdpWalk : public IUnknown { public: virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE WalkNode( /* [in] */ NodeData __RPC_FAR *pData, /* [in] */ ULONG state) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE WalkStream( /* [in] */ UCHAR elementType, /* [in] */ ULONG elementSize, /* [size_is][in] */ UCHAR __RPC_FAR *pStream) = 0; }; #else /* C style interface */ typedef struct ISdpWalkVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( ISdpWalk __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( ISdpWalk __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( ISdpWalk __RPC_FAR * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WalkNode )( ISdpWalk __RPC_FAR * This, /* [in] */ NodeData __RPC_FAR *pData, /* [in] */ ULONG state); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WalkStream )( ISdpWalk __RPC_FAR * This, /* [in] */ UCHAR elementType, /* [in] */ ULONG elementSize, /* [size_is][in] */ UCHAR __RPC_FAR *pStream); END_INTERFACE } ISdpWalkVtbl; interface ISdpWalk { CONST_VTBL struct ISdpWalkVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define ISdpWalk_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define ISdpWalk_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define ISdpWalk_Release(This) \ (This)->lpVtbl -> Release(This) #define ISdpWalk_WalkNode(This,pData,state) \ (This)->lpVtbl -> WalkNode(This,pData,state) #define ISdpWalk_WalkStream(This,elementType,elementSize,pStream) \ (This)->lpVtbl -> WalkStream(This,elementType,elementSize,pStream) #endif /* COBJMACROS */ #endif /* C style interface */ /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpWalk_WalkNode_Proxy( ISdpWalk __RPC_FAR * This, /* [in] */ NodeData __RPC_FAR *pData, /* [in] */ ULONG state); void __RPC_STUB ISdpWalk_WalkNode_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpWalk_WalkStream_Proxy( ISdpWalk __RPC_FAR * This, /* [in] */ UCHAR elementType, /* [in] */ ULONG elementSize, /* [size_is][in] */ UCHAR __RPC_FAR *pStream); void __RPC_STUB ISdpWalk_WalkStream_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __ISdpWalk_INTERFACE_DEFINED__ */ #ifndef __ISdpNodeContainer_INTERFACE_DEFINED__ #define __ISdpNodeContainer_INTERFACE_DEFINED__ /* interface ISdpNodeContainer */ /* [unique][helpstring][uuid][object] */ EXTERN_C const IID IID_ISdpNodeContainer; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("43F6ED49-6E22-4F81-A8EB-DCED40811A77") ISdpNodeContainer : public IUnknown { public: virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateStream( /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pSize) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE WriteStream( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONG __RPC_FAR *pNumBytesWritten) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AppendNode( /* [in] */ NodeData __RPC_FAR *pData) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetType( /* [out] */ NodeContainerType __RPC_FAR *pType) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetType( /* [in] */ NodeContainerType type) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Walk( /* [in] */ ISdpWalk __RPC_FAR *pWalk) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetNode( /* [in] */ ULONG nodeIndex, /* [in] */ NodeData __RPC_FAR *pData) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNode( /* [in] */ ULONG nodeIndex, /* [out] */ NodeData __RPC_FAR *pData) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LockContainer( /* [in] */ UCHAR lock) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNodeCount( /* [out] */ ULONG __RPC_FAR *pNodeCount) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateFromStream( /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetNodeStringData( /* [in] */ ULONG nodeIndex, /* [out][in] */ NodeData __RPC_FAR *pData) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStreamSize( /* [out] */ ULONG __RPC_FAR *pSize) = 0; }; #else /* C style interface */ typedef struct ISdpNodeContainerVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( ISdpNodeContainer __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( ISdpNodeContainer __RPC_FAR * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateStream )( ISdpNodeContainer __RPC_FAR * This, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pSize); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteStream )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONG __RPC_FAR *pNumBytesWritten); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AppendNode )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ NodeData __RPC_FAR *pData); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetType )( ISdpNodeContainer __RPC_FAR * This, /* [out] */ NodeContainerType __RPC_FAR *pType); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetType )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ NodeContainerType type); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Walk )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ ISdpWalk __RPC_FAR *pWalk); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNode )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ ULONG nodeIndex, /* [in] */ NodeData __RPC_FAR *pData); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNode )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ ULONG nodeIndex, /* [out] */ NodeData __RPC_FAR *pData); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LockContainer )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ UCHAR lock); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNodeCount )( ISdpNodeContainer __RPC_FAR * This, /* [out] */ ULONG __RPC_FAR *pNodeCount); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateFromStream )( ISdpNodeContainer __RPC_FAR * This, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNodeStringData )( ISdpNodeContainer __RPC_FAR * This, /* [in] */ ULONG nodeIndex, /* [out][in] */ NodeData __RPC_FAR *pData); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStreamSize )( ISdpNodeContainer __RPC_FAR * This, /* [out] */ ULONG __RPC_FAR *pSize); END_INTERFACE } ISdpNodeContainerVtbl; interface ISdpNodeContainer { CONST_VTBL struct ISdpNodeContainerVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define ISdpNodeContainer_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define ISdpNodeContainer_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define ISdpNodeContainer_Release(This) \ (This)->lpVtbl -> Release(This) #define ISdpNodeContainer_CreateStream(This,ppStream,pSize) \ (This)->lpVtbl -> CreateStream(This,ppStream,pSize) #define ISdpNodeContainer_WriteStream(This,pStream,pNumBytesWritten) \ (This)->lpVtbl -> WriteStream(This,pStream,pNumBytesWritten) #define ISdpNodeContainer_AppendNode(This,pData) \ (This)->lpVtbl -> AppendNode(This,pData) #define ISdpNodeContainer_GetType(This,pType) \ (This)->lpVtbl -> GetType(This,pType) #define ISdpNodeContainer_SetType(This,type) \ (This)->lpVtbl -> SetType(This,type) #define ISdpNodeContainer_Walk(This,pWalk) \ (This)->lpVtbl -> Walk(This,pWalk) #define ISdpNodeContainer_SetNode(This,nodeIndex,pData) \ (This)->lpVtbl -> SetNode(This,nodeIndex,pData) #define ISdpNodeContainer_GetNode(This,nodeIndex,pData) \ (This)->lpVtbl -> GetNode(This,nodeIndex,pData) #define ISdpNodeContainer_LockContainer(This,lock) \ (This)->lpVtbl -> LockContainer(This,lock) #define ISdpNodeContainer_GetNodeCount(This,pNodeCount) \ (This)->lpVtbl -> GetNodeCount(This,pNodeCount) #define ISdpNodeContainer_CreateFromStream(This,pStream,size) \ (This)->lpVtbl -> CreateFromStream(This,pStream,size) #define ISdpNodeContainer_GetNodeStringData(This,nodeIndex,pData) \ (This)->lpVtbl -> GetNodeStringData(This,nodeIndex,pData) #define ISdpNodeContainer_GetStreamSize(This,pSize) \ (This)->lpVtbl -> GetStreamSize(This,pSize) #endif /* COBJMACROS */ #endif /* C style interface */ /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_CreateStream_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pSize); void __RPC_STUB ISdpNodeContainer_CreateStream_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_WriteStream_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONG __RPC_FAR *pNumBytesWritten); void __RPC_STUB ISdpNodeContainer_WriteStream_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_AppendNode_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [in] */ NodeData __RPC_FAR *pData); void __RPC_STUB ISdpNodeContainer_AppendNode_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_GetType_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [out] */ NodeContainerType __RPC_FAR *pType); void __RPC_STUB ISdpNodeContainer_GetType_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_SetType_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [in] */ NodeContainerType type); void __RPC_STUB ISdpNodeContainer_SetType_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_Walk_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [in] */ ISdpWalk __RPC_FAR *pWalk); void __RPC_STUB ISdpNodeContainer_Walk_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_SetNode_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [in] */ ULONG nodeIndex, /* [in] */ NodeData __RPC_FAR *pData); void __RPC_STUB ISdpNodeContainer_SetNode_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_GetNode_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [in] */ ULONG nodeIndex, /* [out] */ NodeData __RPC_FAR *pData); void __RPC_STUB ISdpNodeContainer_GetNode_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_LockContainer_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [in] */ UCHAR lock); void __RPC_STUB ISdpNodeContainer_LockContainer_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_GetNodeCount_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [out] */ ULONG __RPC_FAR *pNodeCount); void __RPC_STUB ISdpNodeContainer_GetNodeCount_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_CreateFromStream_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size); void __RPC_STUB ISdpNodeContainer_CreateFromStream_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_GetNodeStringData_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [in] */ ULONG nodeIndex, /* [out][in] */ NodeData __RPC_FAR *pData); void __RPC_STUB ISdpNodeContainer_GetNodeStringData_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpNodeContainer_GetStreamSize_Proxy( ISdpNodeContainer __RPC_FAR * This, /* [out] */ ULONG __RPC_FAR *pSize); void __RPC_STUB ISdpNodeContainer_GetStreamSize_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __ISdpNodeContainer_INTERFACE_DEFINED__ */ /* interface __MIDL_itf_bthapi_0146 */ /* [local] */ // // flags for fConnect in SdpSearch::Connect // #define SDP_SEARCH_LOCAL (0x00000001) #define SDP_SEARCH_CACHED (0x00000002) extern RPC_IF_HANDLE __MIDL_itf_bthapi_0146_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_bthapi_0146_v0_0_s_ifspec; #ifndef __ISdpSearch_INTERFACE_DEFINED__ #define __ISdpSearch_INTERFACE_DEFINED__ /* interface ISdpSearch */ /* [unique][helpstring][uuid][object] */ EXTERN_C const IID IID_ISdpSearch; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("D93B6B2A-5EEF-4E1E-BECF-F5A4340C65F5") ISdpSearch : public IUnknown { public: virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Begin( ULONGLONG __RPC_FAR *pAddrss, ULONG fConnect) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE End( void) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ServiceSearch( /* [size_is][in] */ SdpQueryUuid __RPC_FAR *pUuidList, /* [in] */ ULONG listSize, /* [out] */ ULONG __RPC_FAR *pHandles, /* [out][in] */ USHORT __RPC_FAR *pNumHandles) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AttributeSearch( /* [in] */ ULONG handle, /* [size_is][in] */ SdpAttributeRange __RPC_FAR *pRangeList, /* [in] */ ULONG numRanges, /* [out] */ ISdpRecord __RPC_FAR *__RPC_FAR *ppSdpRecord) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ServiceAndAttributeSearch( /* [size_is][in] */ SdpQueryUuid __RPC_FAR *pUuidList, /* [in] */ ULONG listSize, /* [size_is][in] */ SdpAttributeRange __RPC_FAR *pRangeList, /* [in] */ ULONG numRanges, /* [out] */ ISdpRecord __RPC_FAR *__RPC_FAR *__RPC_FAR *pppSdpRecord, /* [out] */ ULONG __RPC_FAR *pNumRecords) = 0; }; #else /* C style interface */ typedef struct ISdpSearchVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( ISdpSearch __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( ISdpSearch __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( ISdpSearch __RPC_FAR * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Begin )( ISdpSearch __RPC_FAR * This, ULONGLONG __RPC_FAR *pAddrss, ULONG fConnect); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *End )( ISdpSearch __RPC_FAR * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ServiceSearch )( ISdpSearch __RPC_FAR * This, /* [size_is][in] */ SdpQueryUuid __RPC_FAR *pUuidList, /* [in] */ ULONG listSize, /* [out] */ ULONG __RPC_FAR *pHandles, /* [out][in] */ USHORT __RPC_FAR *pNumHandles); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AttributeSearch )( ISdpSearch __RPC_FAR * This, /* [in] */ ULONG handle, /* [size_is][in] */ SdpAttributeRange __RPC_FAR *pRangeList, /* [in] */ ULONG numRanges, /* [out] */ ISdpRecord __RPC_FAR *__RPC_FAR *ppSdpRecord); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ServiceAndAttributeSearch )( ISdpSearch __RPC_FAR * This, /* [size_is][in] */ SdpQueryUuid __RPC_FAR *pUuidList, /* [in] */ ULONG listSize, /* [size_is][in] */ SdpAttributeRange __RPC_FAR *pRangeList, /* [in] */ ULONG numRanges, /* [out] */ ISdpRecord __RPC_FAR *__RPC_FAR *__RPC_FAR *pppSdpRecord, /* [out] */ ULONG __RPC_FAR *pNumRecords); END_INTERFACE } ISdpSearchVtbl; interface ISdpSearch { CONST_VTBL struct ISdpSearchVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define ISdpSearch_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define ISdpSearch_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define ISdpSearch_Release(This) \ (This)->lpVtbl -> Release(This) #define ISdpSearch_Begin(This,pAddrss,fConnect) \ (This)->lpVtbl -> Begin(This,pAddrss,fConnect) #define ISdpSearch_End(This) \ (This)->lpVtbl -> End(This) #define ISdpSearch_ServiceSearch(This,pUuidList,listSize,pHandles,pNumHandles) \ (This)->lpVtbl -> ServiceSearch(This,pUuidList,listSize,pHandles,pNumHandles) #define ISdpSearch_AttributeSearch(This,handle,pRangeList,numRanges,ppSdpRecord) \ (This)->lpVtbl -> AttributeSearch(This,handle,pRangeList,numRanges,ppSdpRecord) #define ISdpSearch_ServiceAndAttributeSearch(This,pUuidList,listSize,pRangeList,numRanges,pppSdpRecord,pNumRecords) \ (This)->lpVtbl -> ServiceAndAttributeSearch(This,pUuidList,listSize,pRangeList,numRanges,pppSdpRecord,pNumRecords) #endif /* COBJMACROS */ #endif /* C style interface */ /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpSearch_Begin_Proxy( ISdpSearch __RPC_FAR * This, ULONGLONG __RPC_FAR *pAddrss, ULONG fConnect); void __RPC_STUB ISdpSearch_Begin_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpSearch_End_Proxy( ISdpSearch __RPC_FAR * This); void __RPC_STUB ISdpSearch_End_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpSearch_ServiceSearch_Proxy( ISdpSearch __RPC_FAR * This, /* [size_is][in] */ SdpQueryUuid __RPC_FAR *pUuidList, /* [in] */ ULONG listSize, /* [out] */ ULONG __RPC_FAR *pHandles, /* [out][in] */ USHORT __RPC_FAR *pNumHandles); void __RPC_STUB ISdpSearch_ServiceSearch_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpSearch_AttributeSearch_Proxy( ISdpSearch __RPC_FAR * This, /* [in] */ ULONG handle, /* [size_is][in] */ SdpAttributeRange __RPC_FAR *pRangeList, /* [in] */ ULONG numRanges, /* [out] */ ISdpRecord __RPC_FAR *__RPC_FAR *ppSdpRecord); void __RPC_STUB ISdpSearch_AttributeSearch_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpSearch_ServiceAndAttributeSearch_Proxy( ISdpSearch __RPC_FAR * This, /* [size_is][in] */ SdpQueryUuid __RPC_FAR *pUuidList, /* [in] */ ULONG listSize, /* [size_is][in] */ SdpAttributeRange __RPC_FAR *pRangeList, /* [in] */ ULONG numRanges, /* [out] */ ISdpRecord __RPC_FAR *__RPC_FAR *__RPC_FAR *pppSdpRecord, /* [out] */ ULONG __RPC_FAR *pNumRecords); void __RPC_STUB ISdpSearch_ServiceAndAttributeSearch_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __ISdpSearch_INTERFACE_DEFINED__ */ #ifndef __ISdpStream_INTERFACE_DEFINED__ #define __ISdpStream_INTERFACE_DEFINED__ /* interface ISdpStream */ /* [unique][helpstring][uuid][object] */ EXTERN_C const IID IID_ISdpStream; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("A6ECD9FB-0C7A-41A3-9FF0-0B617E989357") ISdpStream : public IUnknown { public: virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Validate( /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [out] */ ULONG __RPC_FAR *pErrorByte) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Walk( /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [in] */ ISdpWalk __RPC_FAR *pWalk) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveRecords( /* [in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [out][in] */ ISdpRecord __RPC_FAR *__RPC_FAR *ppSdpRecords, /* [out][in] */ ULONG __RPC_FAR *pNumRecords) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveUuid128( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ GUID __RPC_FAR *pUuid128) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveUint16( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ USHORT __RPC_FAR *pUint16) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveUint32( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONG __RPC_FAR *pUint32) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveUint64( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONGLONG __RPC_FAR *pUint64) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveUint128( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ PSDP_ULARGE_INTEGER_16 pUint128) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveInt16( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ SHORT __RPC_FAR *pInt16) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveInt32( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ LONG __RPC_FAR *pInt32) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveInt64( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ LONGLONG __RPC_FAR *pInt64) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveInt128( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ PSDP_LARGE_INTEGER_16 pInt128) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapUuid128( /* [in] */ GUID __RPC_FAR *pInUuid128, /* [out] */ GUID __RPC_FAR *pOutUuid128) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapUint128( /* [in] */ PSDP_ULARGE_INTEGER_16 pInUint128, /* [out] */ PSDP_ULARGE_INTEGER_16 pOutUint128) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapUint64( /* [in] */ ULONGLONG inUint64, /* [out] */ ULONGLONG __RPC_FAR *pOutUint64) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapUint32( /* [in] */ ULONG uint32, /* [out] */ ULONG __RPC_FAR *pUint32) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapUint16( /* [in] */ USHORT uint16, /* [out] */ USHORT __RPC_FAR *pUint16) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapInt128( /* [in] */ PSDP_LARGE_INTEGER_16 pInInt128, /* [out] */ PSDP_LARGE_INTEGER_16 pOutInt128) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapInt64( /* [in] */ LONGLONG inInt64, /* [out] */ LONGLONG __RPC_FAR *pOutInt64) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapInt32( /* [in] */ LONG int32, /* [out] */ LONG __RPC_FAR *pInt32) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ByteSwapInt16( /* [in] */ SHORT int16, /* [out] */ SHORT __RPC_FAR *pInt16) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE NormalizeUuid( /* [in] */ NodeData __RPC_FAR *pDataUuid, /* [out] */ GUID __RPC_FAR *pNormalizeUuid) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RetrieveElementInfo( /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ SDP_TYPE __RPC_FAR *pElementType, /* [out] */ SDP_SPECIFICTYPE __RPC_FAR *pElementSpecificType, /* [out] */ ULONG __RPC_FAR *pElementSize, /* [out] */ ULONG __RPC_FAR *pStorageSize, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppData) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE VerifySequenceOf( /* [in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [in] */ SDP_TYPE ofType, /* [in] */ UCHAR __RPC_FAR *pSpecificSizes, /* [out] */ ULONG __RPC_FAR *pNumFound) = 0; }; #else /* C style interface */ typedef struct ISdpStreamVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( ISdpStream __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( ISdpStream __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( ISdpStream __RPC_FAR * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Validate )( ISdpStream __RPC_FAR * This, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [out] */ ULONG __RPC_FAR *pErrorByte); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Walk )( ISdpStream __RPC_FAR * This, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [in] */ ISdpWalk __RPC_FAR *pWalk); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveRecords )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [out][in] */ ISdpRecord __RPC_FAR *__RPC_FAR *ppSdpRecords, /* [out][in] */ ULONG __RPC_FAR *pNumRecords); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveUuid128 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ GUID __RPC_FAR *pUuid128); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveUint16 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ USHORT __RPC_FAR *pUint16); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveUint32 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONG __RPC_FAR *pUint32); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveUint64 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONGLONG __RPC_FAR *pUint64); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveUint128 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ PSDP_ULARGE_INTEGER_16 pUint128); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveInt16 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ SHORT __RPC_FAR *pInt16); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveInt32 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ LONG __RPC_FAR *pInt32); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveInt64 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ LONGLONG __RPC_FAR *pInt64); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveInt128 )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ PSDP_LARGE_INTEGER_16 pInt128); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapUuid128 )( ISdpStream __RPC_FAR * This, /* [in] */ GUID __RPC_FAR *pInUuid128, /* [out] */ GUID __RPC_FAR *pOutUuid128); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapUint128 )( ISdpStream __RPC_FAR * This, /* [in] */ PSDP_ULARGE_INTEGER_16 pInUint128, /* [out] */ PSDP_ULARGE_INTEGER_16 pOutUint128); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapUint64 )( ISdpStream __RPC_FAR * This, /* [in] */ ULONGLONG inUint64, /* [out] */ ULONGLONG __RPC_FAR *pOutUint64); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapUint32 )( ISdpStream __RPC_FAR * This, /* [in] */ ULONG uint32, /* [out] */ ULONG __RPC_FAR *pUint32); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapUint16 )( ISdpStream __RPC_FAR * This, /* [in] */ USHORT uint16, /* [out] */ USHORT __RPC_FAR *pUint16); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapInt128 )( ISdpStream __RPC_FAR * This, /* [in] */ PSDP_LARGE_INTEGER_16 pInInt128, /* [out] */ PSDP_LARGE_INTEGER_16 pOutInt128); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapInt64 )( ISdpStream __RPC_FAR * This, /* [in] */ LONGLONG inInt64, /* [out] */ LONGLONG __RPC_FAR *pOutInt64); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapInt32 )( ISdpStream __RPC_FAR * This, /* [in] */ LONG int32, /* [out] */ LONG __RPC_FAR *pInt32); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ByteSwapInt16 )( ISdpStream __RPC_FAR * This, /* [in] */ SHORT int16, /* [out] */ SHORT __RPC_FAR *pInt16); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NormalizeUuid )( ISdpStream __RPC_FAR * This, /* [in] */ NodeData __RPC_FAR *pDataUuid, /* [out] */ GUID __RPC_FAR *pNormalizeUuid); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RetrieveElementInfo )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ SDP_TYPE __RPC_FAR *pElementType, /* [out] */ SDP_SPECIFICTYPE __RPC_FAR *pElementSpecificType, /* [out] */ ULONG __RPC_FAR *pElementSize, /* [out] */ ULONG __RPC_FAR *pStorageSize, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppData); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VerifySequenceOf )( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [in] */ SDP_TYPE ofType, /* [in] */ UCHAR __RPC_FAR *pSpecificSizes, /* [out] */ ULONG __RPC_FAR *pNumFound); END_INTERFACE } ISdpStreamVtbl; interface ISdpStream { CONST_VTBL struct ISdpStreamVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define ISdpStream_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define ISdpStream_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define ISdpStream_Release(This) \ (This)->lpVtbl -> Release(This) #define ISdpStream_Validate(This,pStream,size,pErrorByte) \ (This)->lpVtbl -> Validate(This,pStream,size,pErrorByte) #define ISdpStream_Walk(This,pStream,size,pWalk) \ (This)->lpVtbl -> Walk(This,pStream,size,pWalk) #define ISdpStream_RetrieveRecords(This,pStream,size,ppSdpRecords,pNumRecords) \ (This)->lpVtbl -> RetrieveRecords(This,pStream,size,ppSdpRecords,pNumRecords) #define ISdpStream_RetrieveUuid128(This,pStream,pUuid128) \ (This)->lpVtbl -> RetrieveUuid128(This,pStream,pUuid128) #define ISdpStream_RetrieveUint16(This,pStream,pUint16) \ (This)->lpVtbl -> RetrieveUint16(This,pStream,pUint16) #define ISdpStream_RetrieveUint32(This,pStream,pUint32) \ (This)->lpVtbl -> RetrieveUint32(This,pStream,pUint32) #define ISdpStream_RetrieveUint64(This,pStream,pUint64) \ (This)->lpVtbl -> RetrieveUint64(This,pStream,pUint64) #define ISdpStream_RetrieveUint128(This,pStream,pUint128) \ (This)->lpVtbl -> RetrieveUint128(This,pStream,pUint128) #define ISdpStream_RetrieveInt16(This,pStream,pInt16) \ (This)->lpVtbl -> RetrieveInt16(This,pStream,pInt16) #define ISdpStream_RetrieveInt32(This,pStream,pInt32) \ (This)->lpVtbl -> RetrieveInt32(This,pStream,pInt32) #define ISdpStream_RetrieveInt64(This,pStream,pInt64) \ (This)->lpVtbl -> RetrieveInt64(This,pStream,pInt64) #define ISdpStream_RetrieveInt128(This,pStream,pInt128) \ (This)->lpVtbl -> RetrieveInt128(This,pStream,pInt128) #define ISdpStream_ByteSwapUuid128(This,pInUuid128,pOutUuid128) \ (This)->lpVtbl -> ByteSwapUuid128(This,pInUuid128,pOutUuid128) #define ISdpStream_ByteSwapUint128(This,pInUint128,pOutUint128) \ (This)->lpVtbl -> ByteSwapUint128(This,pInUint128,pOutUint128) #define ISdpStream_ByteSwapUint64(This,inUint64,pOutUint64) \ (This)->lpVtbl -> ByteSwapUint64(This,inUint64,pOutUint64) #define ISdpStream_ByteSwapUint32(This,uint32,pUint32) \ (This)->lpVtbl -> ByteSwapUint32(This,uint32,pUint32) #define ISdpStream_ByteSwapUint16(This,uint16,pUint16) \ (This)->lpVtbl -> ByteSwapUint16(This,uint16,pUint16) #define ISdpStream_ByteSwapInt128(This,pInInt128,pOutInt128) \ (This)->lpVtbl -> ByteSwapInt128(This,pInInt128,pOutInt128) #define ISdpStream_ByteSwapInt64(This,inInt64,pOutInt64) \ (This)->lpVtbl -> ByteSwapInt64(This,inInt64,pOutInt64) #define ISdpStream_ByteSwapInt32(This,int32,pInt32) \ (This)->lpVtbl -> ByteSwapInt32(This,int32,pInt32) #define ISdpStream_ByteSwapInt16(This,int16,pInt16) \ (This)->lpVtbl -> ByteSwapInt16(This,int16,pInt16) #define ISdpStream_NormalizeUuid(This,pDataUuid,pNormalizeUuid) \ (This)->lpVtbl -> NormalizeUuid(This,pDataUuid,pNormalizeUuid) #define ISdpStream_RetrieveElementInfo(This,pStream,pElementType,pElementSpecificType,pElementSize,pStorageSize,ppData) \ (This)->lpVtbl -> RetrieveElementInfo(This,pStream,pElementType,pElementSpecificType,pElementSize,pStorageSize,ppData) #define ISdpStream_VerifySequenceOf(This,pStream,size,ofType,pSpecificSizes,pNumFound) \ (This)->lpVtbl -> VerifySequenceOf(This,pStream,size,ofType,pSpecificSizes,pNumFound) #endif /* COBJMACROS */ #endif /* C style interface */ /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_Validate_Proxy( ISdpStream __RPC_FAR * This, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [out] */ ULONG __RPC_FAR *pErrorByte); void __RPC_STUB ISdpStream_Validate_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_Walk_Proxy( ISdpStream __RPC_FAR * This, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [in] */ ISdpWalk __RPC_FAR *pWalk); void __RPC_STUB ISdpStream_Walk_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveRecords_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [out][in] */ ISdpRecord __RPC_FAR *__RPC_FAR *ppSdpRecords, /* [out][in] */ ULONG __RPC_FAR *pNumRecords); void __RPC_STUB ISdpStream_RetrieveRecords_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveUuid128_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ GUID __RPC_FAR *pUuid128); void __RPC_STUB ISdpStream_RetrieveUuid128_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveUint16_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ USHORT __RPC_FAR *pUint16); void __RPC_STUB ISdpStream_RetrieveUint16_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveUint32_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONG __RPC_FAR *pUint32); void __RPC_STUB ISdpStream_RetrieveUint32_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveUint64_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ ULONGLONG __RPC_FAR *pUint64); void __RPC_STUB ISdpStream_RetrieveUint64_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveUint128_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ PSDP_ULARGE_INTEGER_16 pUint128); void __RPC_STUB ISdpStream_RetrieveUint128_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveInt16_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ SHORT __RPC_FAR *pInt16); void __RPC_STUB ISdpStream_RetrieveInt16_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveInt32_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ LONG __RPC_FAR *pInt32); void __RPC_STUB ISdpStream_RetrieveInt32_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveInt64_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ LONGLONG __RPC_FAR *pInt64); void __RPC_STUB ISdpStream_RetrieveInt64_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveInt128_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ PSDP_LARGE_INTEGER_16 pInt128); void __RPC_STUB ISdpStream_RetrieveInt128_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapUuid128_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ GUID __RPC_FAR *pInUuid128, /* [out] */ GUID __RPC_FAR *pOutUuid128); void __RPC_STUB ISdpStream_ByteSwapUuid128_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapUint128_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ PSDP_ULARGE_INTEGER_16 pInUint128, /* [out] */ PSDP_ULARGE_INTEGER_16 pOutUint128); void __RPC_STUB ISdpStream_ByteSwapUint128_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapUint64_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ ULONGLONG inUint64, /* [out] */ ULONGLONG __RPC_FAR *pOutUint64); void __RPC_STUB ISdpStream_ByteSwapUint64_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapUint32_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ ULONG uint32, /* [out] */ ULONG __RPC_FAR *pUint32); void __RPC_STUB ISdpStream_ByteSwapUint32_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapUint16_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ USHORT uint16, /* [out] */ USHORT __RPC_FAR *pUint16); void __RPC_STUB ISdpStream_ByteSwapUint16_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapInt128_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ PSDP_LARGE_INTEGER_16 pInInt128, /* [out] */ PSDP_LARGE_INTEGER_16 pOutInt128); void __RPC_STUB ISdpStream_ByteSwapInt128_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapInt64_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ LONGLONG inInt64, /* [out] */ LONGLONG __RPC_FAR *pOutInt64); void __RPC_STUB ISdpStream_ByteSwapInt64_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapInt32_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ LONG int32, /* [out] */ LONG __RPC_FAR *pInt32); void __RPC_STUB ISdpStream_ByteSwapInt32_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_ByteSwapInt16_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ SHORT int16, /* [out] */ SHORT __RPC_FAR *pInt16); void __RPC_STUB ISdpStream_ByteSwapInt16_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_NormalizeUuid_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ NodeData __RPC_FAR *pDataUuid, /* [out] */ GUID __RPC_FAR *pNormalizeUuid); void __RPC_STUB ISdpStream_NormalizeUuid_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_RetrieveElementInfo_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [out] */ SDP_TYPE __RPC_FAR *pElementType, /* [out] */ SDP_SPECIFICTYPE __RPC_FAR *pElementSpecificType, /* [out] */ ULONG __RPC_FAR *pElementSize, /* [out] */ ULONG __RPC_FAR *pStorageSize, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppData); void __RPC_STUB ISdpStream_RetrieveElementInfo_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpStream_VerifySequenceOf_Proxy( ISdpStream __RPC_FAR * This, /* [in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size, /* [in] */ SDP_TYPE ofType, /* [in] */ UCHAR __RPC_FAR *pSpecificSizes, /* [out] */ ULONG __RPC_FAR *pNumFound); void __RPC_STUB ISdpStream_VerifySequenceOf_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __ISdpStream_INTERFACE_DEFINED__ */ #ifndef __ISdpRecord_INTERFACE_DEFINED__ #define __ISdpRecord_INTERFACE_DEFINED__ /* interface ISdpRecord */ /* [unique][helpstring][uuid][object] */ EXTERN_C const IID IID_ISdpRecord; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("10276714-1456-46D7-B526-8B1E83D5116E") ISdpRecord : public IUnknown { public: virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateFromStream( /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE WriteToStream( /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pStreamSize, ULONG preSize, ULONG postSize) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetAttribute( /* [in] */ USHORT attribute, /* [in] */ NodeData __RPC_FAR *pNode) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetAttributeFromStream( /* [in] */ USHORT attribute, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAttribute( /* [in] */ USHORT attribute, /* [out][in] */ NodeData __RPC_FAR *pNode) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAttributeAsStream( /* [in] */ USHORT attribute, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pSize) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Walk( /* [in] */ ISdpWalk __RPC_FAR *pWalk) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAttributeList( /* [out] */ USHORT __RPC_FAR *__RPC_FAR *ppList, /* [out] */ ULONG __RPC_FAR *pListSize) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetString( USHORT offset, USHORT __RPC_FAR *pLangId, WCHAR __RPC_FAR *__RPC_FAR *ppString) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIcon( int cxRes, int cyRes, HICON __RPC_FAR *phIcon) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetServiceClass( /* [out] */ LPGUID pServiceClass) = 0; }; #else /* C style interface */ typedef struct ISdpRecordVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( ISdpRecord __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( ISdpRecord __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( ISdpRecord __RPC_FAR * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateFromStream )( ISdpRecord __RPC_FAR * This, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteToStream )( ISdpRecord __RPC_FAR * This, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pStreamSize, ULONG preSize, ULONG postSize); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAttribute )( ISdpRecord __RPC_FAR * This, /* [in] */ USHORT attribute, /* [in] */ NodeData __RPC_FAR *pNode); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAttributeFromStream )( ISdpRecord __RPC_FAR * This, /* [in] */ USHORT attribute, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAttribute )( ISdpRecord __RPC_FAR * This, /* [in] */ USHORT attribute, /* [out][in] */ NodeData __RPC_FAR *pNode); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAttributeAsStream )( ISdpRecord __RPC_FAR * This, /* [in] */ USHORT attribute, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pSize); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Walk )( ISdpRecord __RPC_FAR * This, /* [in] */ ISdpWalk __RPC_FAR *pWalk); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAttributeList )( ISdpRecord __RPC_FAR * This, /* [out] */ USHORT __RPC_FAR *__RPC_FAR *ppList, /* [out] */ ULONG __RPC_FAR *pListSize); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetString )( ISdpRecord __RPC_FAR * This, USHORT offset, USHORT __RPC_FAR *pLangId, WCHAR __RPC_FAR *__RPC_FAR *ppString); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIcon )( ISdpRecord __RPC_FAR * This, int cxRes, int cyRes, HICON __RPC_FAR *phIcon); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetServiceClass )( ISdpRecord __RPC_FAR * This, /* [out] */ LPGUID pServiceClass); END_INTERFACE } ISdpRecordVtbl; interface ISdpRecord { CONST_VTBL struct ISdpRecordVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define ISdpRecord_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define ISdpRecord_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define ISdpRecord_Release(This) \ (This)->lpVtbl -> Release(This) #define ISdpRecord_CreateFromStream(This,pStream,size) \ (This)->lpVtbl -> CreateFromStream(This,pStream,size) #define ISdpRecord_WriteToStream(This,ppStream,pStreamSize,preSize,postSize) \ (This)->lpVtbl -> WriteToStream(This,ppStream,pStreamSize,preSize,postSize) #define ISdpRecord_SetAttribute(This,attribute,pNode) \ (This)->lpVtbl -> SetAttribute(This,attribute,pNode) #define ISdpRecord_SetAttributeFromStream(This,attribute,pStream,size) \ (This)->lpVtbl -> SetAttributeFromStream(This,attribute,pStream,size) #define ISdpRecord_GetAttribute(This,attribute,pNode) \ (This)->lpVtbl -> GetAttribute(This,attribute,pNode) #define ISdpRecord_GetAttributeAsStream(This,attribute,ppStream,pSize) \ (This)->lpVtbl -> GetAttributeAsStream(This,attribute,ppStream,pSize) #define ISdpRecord_Walk(This,pWalk) \ (This)->lpVtbl -> Walk(This,pWalk) #define ISdpRecord_GetAttributeList(This,ppList,pListSize) \ (This)->lpVtbl -> GetAttributeList(This,ppList,pListSize) #define ISdpRecord_GetString(This,offset,pLangId,ppString) \ (This)->lpVtbl -> GetString(This,offset,pLangId,ppString) #define ISdpRecord_GetIcon(This,cxRes,cyRes,phIcon) \ (This)->lpVtbl -> GetIcon(This,cxRes,cyRes,phIcon) #define ISdpRecord_GetServiceClass(This,pServiceClass) \ (This)->lpVtbl -> GetServiceClass(This,pServiceClass) #endif /* COBJMACROS */ #endif /* C style interface */ /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_CreateFromStream_Proxy( ISdpRecord __RPC_FAR * This, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size); void __RPC_STUB ISdpRecord_CreateFromStream_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_WriteToStream_Proxy( ISdpRecord __RPC_FAR * This, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pStreamSize, ULONG preSize, ULONG postSize); void __RPC_STUB ISdpRecord_WriteToStream_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_SetAttribute_Proxy( ISdpRecord __RPC_FAR * This, /* [in] */ USHORT attribute, /* [in] */ NodeData __RPC_FAR *pNode); void __RPC_STUB ISdpRecord_SetAttribute_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_SetAttributeFromStream_Proxy( ISdpRecord __RPC_FAR * This, /* [in] */ USHORT attribute, /* [size_is][in] */ UCHAR __RPC_FAR *pStream, /* [in] */ ULONG size); void __RPC_STUB ISdpRecord_SetAttributeFromStream_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_GetAttribute_Proxy( ISdpRecord __RPC_FAR * This, /* [in] */ USHORT attribute, /* [out][in] */ NodeData __RPC_FAR *pNode); void __RPC_STUB ISdpRecord_GetAttribute_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_GetAttributeAsStream_Proxy( ISdpRecord __RPC_FAR * This, /* [in] */ USHORT attribute, /* [out] */ UCHAR __RPC_FAR *__RPC_FAR *ppStream, /* [out] */ ULONG __RPC_FAR *pSize); void __RPC_STUB ISdpRecord_GetAttributeAsStream_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_Walk_Proxy( ISdpRecord __RPC_FAR * This, /* [in] */ ISdpWalk __RPC_FAR *pWalk); void __RPC_STUB ISdpRecord_Walk_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_GetAttributeList_Proxy( ISdpRecord __RPC_FAR * This, /* [out] */ USHORT __RPC_FAR *__RPC_FAR *ppList, /* [out] */ ULONG __RPC_FAR *pListSize); void __RPC_STUB ISdpRecord_GetAttributeList_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_GetString_Proxy( ISdpRecord __RPC_FAR * This, USHORT offset, USHORT __RPC_FAR *pLangId, WCHAR __RPC_FAR *__RPC_FAR *ppString); void __RPC_STUB ISdpRecord_GetString_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_GetIcon_Proxy( ISdpRecord __RPC_FAR * This, int cxRes, int cyRes, HICON __RPC_FAR *phIcon); void __RPC_STUB ISdpRecord_GetIcon_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISdpRecord_GetServiceClass_Proxy( ISdpRecord __RPC_FAR * This, /* [out] */ LPGUID pServiceClass); void __RPC_STUB ISdpRecord_GetServiceClass_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __ISdpRecord_INTERFACE_DEFINED__ */ #ifndef __IBluetoothDevice_INTERFACE_DEFINED__ #define __IBluetoothDevice_INTERFACE_DEFINED__ /* interface IBluetoothDevice */ /* [unique][helpstring][uuid][object] */ EXTERN_C const IID IID_IBluetoothDevice; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("5BD0418B-D705-4766-B215-183E4EADE341") IBluetoothDevice : public IUnknown { public: virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize( const BthDeviceInfo __RPC_FAR *pInfo) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetInfo( BthDeviceInfo __RPC_FAR *pInfo) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetString( enum BthDeviceStringType type, WCHAR __RPC_FAR *__RPC_FAR *ppString) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetString( enum BthDeviceStringType type, WCHAR __RPC_FAR *ppString) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIcon( int cxRes, int cyRes, HICON __RPC_FAR *phIcon) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetApprovedServices( GUID __RPC_FAR *pServices, ULONG __RPC_FAR *pServiceCount) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPassKey( HWND hwndParent, UCHAR __RPC_FAR *pPassKey, UCHAR __RPC_FAR *pPassKeyLength) = 0; }; #else /* C style interface */ typedef struct IBluetoothDeviceVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( IBluetoothDevice __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( IBluetoothDevice __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( IBluetoothDevice __RPC_FAR * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Initialize )( IBluetoothDevice __RPC_FAR * This, const BthDeviceInfo __RPC_FAR *pInfo); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetInfo )( IBluetoothDevice __RPC_FAR * This, BthDeviceInfo __RPC_FAR *pInfo); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetString )( IBluetoothDevice __RPC_FAR * This, enum BthDeviceStringType type, WCHAR __RPC_FAR *__RPC_FAR *ppString); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetString )( IBluetoothDevice __RPC_FAR * This, enum BthDeviceStringType type, WCHAR __RPC_FAR *ppString); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIcon )( IBluetoothDevice __RPC_FAR * This, int cxRes, int cyRes, HICON __RPC_FAR *phIcon); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetApprovedServices )( IBluetoothDevice __RPC_FAR * This, GUID __RPC_FAR *pServices, ULONG __RPC_FAR *pServiceCount); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPassKey )( IBluetoothDevice __RPC_FAR * This, HWND hwndParent, UCHAR __RPC_FAR *pPassKey, UCHAR __RPC_FAR *pPassKeyLength); END_INTERFACE } IBluetoothDeviceVtbl; interface IBluetoothDevice { CONST_VTBL struct IBluetoothDeviceVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define IBluetoothDevice_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define IBluetoothDevice_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define IBluetoothDevice_Release(This) \ (This)->lpVtbl -> Release(This) #define IBluetoothDevice_Initialize(This,pInfo) \ (This)->lpVtbl -> Initialize(This,pInfo) #define IBluetoothDevice_GetInfo(This,pInfo) \ (This)->lpVtbl -> GetInfo(This,pInfo) #define IBluetoothDevice_GetString(This,type,ppString) \ (This)->lpVtbl -> GetString(This,type,ppString) #define IBluetoothDevice_SetString(This,type,ppString) \ (This)->lpVtbl -> SetString(This,type,ppString) #define IBluetoothDevice_GetIcon(This,cxRes,cyRes,phIcon) \ (This)->lpVtbl -> GetIcon(This,cxRes,cyRes,phIcon) #define IBluetoothDevice_GetApprovedServices(This,pServices,pServiceCount) \ (This)->lpVtbl -> GetApprovedServices(This,pServices,pServiceCount) #define IBluetoothDevice_GetPassKey(This,hwndParent,pPassKey,pPassKeyLength) \ (This)->lpVtbl -> GetPassKey(This,hwndParent,pPassKey,pPassKeyLength) #endif /* COBJMACROS */ #endif /* C style interface */ /* [helpstring] */ HRESULT STDMETHODCALLTYPE IBluetoothDevice_Initialize_Proxy( IBluetoothDevice __RPC_FAR * This, const BthDeviceInfo __RPC_FAR *pInfo); void __RPC_STUB IBluetoothDevice_Initialize_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE IBluetoothDevice_GetInfo_Proxy( IBluetoothDevice __RPC_FAR * This, BthDeviceInfo __RPC_FAR *pInfo); void __RPC_STUB IBluetoothDevice_GetInfo_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE IBluetoothDevice_GetString_Proxy( IBluetoothDevice __RPC_FAR * This, enum BthDeviceStringType type, WCHAR __RPC_FAR *__RPC_FAR *ppString); void __RPC_STUB IBluetoothDevice_GetString_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE IBluetoothDevice_SetString_Proxy( IBluetoothDevice __RPC_FAR * This, enum BthDeviceStringType type, WCHAR __RPC_FAR *ppString); void __RPC_STUB IBluetoothDevice_SetString_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE IBluetoothDevice_GetIcon_Proxy( IBluetoothDevice __RPC_FAR * This, int cxRes, int cyRes, HICON __RPC_FAR *phIcon); void __RPC_STUB IBluetoothDevice_GetIcon_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE IBluetoothDevice_GetApprovedServices_Proxy( IBluetoothDevice __RPC_FAR * This, GUID __RPC_FAR *pServices, ULONG __RPC_FAR *pServiceCount); void __RPC_STUB IBluetoothDevice_GetApprovedServices_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE IBluetoothDevice_GetPassKey_Proxy( IBluetoothDevice __RPC_FAR * This, HWND hwndParent, UCHAR __RPC_FAR *pPassKey, UCHAR __RPC_FAR *pPassKeyLength); void __RPC_STUB IBluetoothDevice_GetPassKey_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __IBluetoothDevice_INTERFACE_DEFINED__ */ #ifndef __IBluetoothAuthenticate_INTERFACE_DEFINED__ #define __IBluetoothAuthenticate_INTERFACE_DEFINED__ /* interface IBluetoothAuthenticate */ /* [unique][helpstring][uuid][object] */ EXTERN_C const IID IID_IBluetoothAuthenticate; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("5F0FBA2B-8300-429D-99AD-96A2835D4901") IBluetoothAuthenticate : public IUnknown { public: }; #else /* C style interface */ typedef struct IBluetoothAuthenticateVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( IBluetoothAuthenticate __RPC_FAR * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject); ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( IBluetoothAuthenticate __RPC_FAR * This); ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( IBluetoothAuthenticate __RPC_FAR * This); END_INTERFACE } IBluetoothAuthenticateVtbl; interface IBluetoothAuthenticate { CONST_VTBL struct IBluetoothAuthenticateVtbl __RPC_FAR *lpVtbl; }; #ifdef COBJMACROS #define IBluetoothAuthenticate_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define IBluetoothAuthenticate_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define IBluetoothAuthenticate_Release(This) \ (This)->lpVtbl -> Release(This) #endif /* COBJMACROS */ #endif /* C style interface */ #endif /* __IBluetoothAuthenticate_INTERFACE_DEFINED__ */ #ifndef __BTHAPILib_LIBRARY_DEFINED__ #define __BTHAPILib_LIBRARY_DEFINED__ /* library BTHAPILib */ /* [helpstring][version][uuid] */ EXTERN_C const IID LIBID_BTHAPILib; EXTERN_C const CLSID CLSID_SdpNodeContainer; #ifdef __cplusplus class DECLSPEC_UUID("D5CA76C5-0DEE-4453-96A1-E603C2401766") SdpNodeContainer; #endif EXTERN_C const CLSID CLSID_SdpSearch; #ifdef __cplusplus class DECLSPEC_UUID("3B898402-857E-4e41-9145-BC35431B7B4D") SdpSearch; #endif EXTERN_C const CLSID CLSID_SdpWalk; #ifdef __cplusplus class DECLSPEC_UUID("ED384010-59AE-44c7-8FCA-F3DF22CDCD28") SdpWalk; #endif EXTERN_C const CLSID CLSID_SdpStream; #ifdef __cplusplus class DECLSPEC_UUID("249797FA-19DB-4dda-94D4-E0BCD30EA65E") SdpStream; #endif EXTERN_C const CLSID CLSID_SdpRecord; #ifdef __cplusplus class DECLSPEC_UUID("ACD02BA7-9667-4085-A100-CC6ACA9621D6") SdpRecord; #endif #endif /* __BTHAPILib_LIBRARY_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ unsigned long __RPC_USER HICON_UserSize( unsigned long __RPC_FAR *, unsigned long , HICON __RPC_FAR * ); unsigned char __RPC_FAR * __RPC_USER HICON_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HICON __RPC_FAR * ); unsigned char __RPC_FAR * __RPC_USER HICON_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HICON __RPC_FAR * ); void __RPC_USER HICON_UserFree( unsigned long __RPC_FAR *, HICON __RPC_FAR * ); unsigned long __RPC_USER HWND_UserSize( unsigned long __RPC_FAR *, unsigned long , HWND __RPC_FAR * ); unsigned char __RPC_FAR * __RPC_USER HWND_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * ); unsigned char __RPC_FAR * __RPC_USER HWND_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * ); void __RPC_USER HWND_UserFree( unsigned long __RPC_FAR *, HWND __RPC_FAR * ); /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif