windows-nt/Source/XPSP1/NT/public/internal/net/inc/hnetbcon.h

626 lines
19 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#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 6.00.0347 */
/* Compiler settings for hnetbcon.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
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 <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __hnetbcon_h__
#define __hnetbcon_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IInternetConnectionDevice_FWD_DEFINED__
#define __IInternetConnectionDevice_FWD_DEFINED__
typedef interface IInternetConnectionDevice IInternetConnectionDevice;
#endif /* __IInternetConnectionDevice_FWD_DEFINED__ */
#ifndef __IInternetConnectionDeviceSharedConnection_FWD_DEFINED__
#define __IInternetConnectionDeviceSharedConnection_FWD_DEFINED__
typedef interface IInternetConnectionDeviceSharedConnection IInternetConnectionDeviceSharedConnection;
#endif /* __IInternetConnectionDeviceSharedConnection_FWD_DEFINED__ */
#ifndef __IInternetConnectionDeviceClient_FWD_DEFINED__
#define __IInternetConnectionDeviceClient_FWD_DEFINED__
typedef interface IInternetConnectionDeviceClient IInternetConnectionDeviceClient;
#endif /* __IInternetConnectionDeviceClient_FWD_DEFINED__ */
/* header files for imported files */
#include "unknwn.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_hnetbcon_0000 */
/* [local] */
//+--------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
EXTERN_C const CLSID CLSID_InternetConnectionBeaconService;
extern RPC_IF_HANDLE __MIDL_itf_hnetbcon_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_hnetbcon_0000_v0_0_s_ifspec;
#ifndef __IInternetConnectionDevice_INTERFACE_DEFINED__
#define __IInternetConnectionDevice_INTERFACE_DEFINED__
/* interface IInternetConnectionDevice */
/* [unique][helpstring][uuid][object] */
typedef /* [v1_enum] */
enum tagICS_OS_VER
{ WINDOWS_OS = 1,
WINME_OS = 2,
WINNT_OS = 3,
OTHER_OS = 4,
UNK_OS = 5
} ICS_OS_VER;
EXTERN_C const IID IID_IInternetConnectionDevice;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("04df6137-5610-11d4-9ec8-00b0d022dd1f")
IInternetConnectionDevice : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE IsICSDeviceAvailable(
/* [in] */ BOOL fBlock) = 0;
virtual HRESULT STDMETHODCALLTYPE GetICSDeviceNameInfo(
/* [string][out] */ LPOLESTR *ppszMachineName,
/* [string][out] */ LPOLESTR *ppszDomainName,
/* [string][out] */ LPOLESTR *ppszSharedAdapterName,
/* [in] */ BOOL fBlock) = 0;
virtual HRESULT STDMETHODCALLTYPE GetICSDeviceSystemTime(
/* [out] */ FILETIME *pTime,
/* [in] */ BOOL fBlock) = 0;
virtual HRESULT STDMETHODCALLTYPE GetICSDeviceOSVersion(
/* [out] */ ICS_OS_VER *pOSVersion,
/* [out] */ DWORD *pdwOSMajorVersion,
/* [out] */ DWORD *pdwOSMinorVersion,
/* [out] */ DWORD *pdwOSBuildNumber,
/* [string][out] */ LPOLESTR *ppszOSName,
/* [string][out] */ LPOLESTR *ppszPlatformName,
/* [in] */ BOOL fBlock) = 0;
};
#else /* C style interface */
typedef struct IInternetConnectionDeviceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IInternetConnectionDevice * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IInternetConnectionDevice * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IInternetConnectionDevice * This);
HRESULT ( STDMETHODCALLTYPE *IsICSDeviceAvailable )(
IInternetConnectionDevice * This,
/* [in] */ BOOL fBlock);
HRESULT ( STDMETHODCALLTYPE *GetICSDeviceNameInfo )(
IInternetConnectionDevice * This,
/* [string][out] */ LPOLESTR *ppszMachineName,
/* [string][out] */ LPOLESTR *ppszDomainName,
/* [string][out] */ LPOLESTR *ppszSharedAdapterName,
/* [in] */ BOOL fBlock);
HRESULT ( STDMETHODCALLTYPE *GetICSDeviceSystemTime )(
IInternetConnectionDevice * This,
/* [out] */ FILETIME *pTime,
/* [in] */ BOOL fBlock);
HRESULT ( STDMETHODCALLTYPE *GetICSDeviceOSVersion )(
IInternetConnectionDevice * This,
/* [out] */ ICS_OS_VER *pOSVersion,
/* [out] */ DWORD *pdwOSMajorVersion,
/* [out] */ DWORD *pdwOSMinorVersion,
/* [out] */ DWORD *pdwOSBuildNumber,
/* [string][out] */ LPOLESTR *ppszOSName,
/* [string][out] */ LPOLESTR *ppszPlatformName,
/* [in] */ BOOL fBlock);
END_INTERFACE
} IInternetConnectionDeviceVtbl;
interface IInternetConnectionDevice
{
CONST_VTBL struct IInternetConnectionDeviceVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IInternetConnectionDevice_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IInternetConnectionDevice_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IInternetConnectionDevice_Release(This) \
(This)->lpVtbl -> Release(This)
#define IInternetConnectionDevice_IsICSDeviceAvailable(This,fBlock) \
(This)->lpVtbl -> IsICSDeviceAvailable(This,fBlock)
#define IInternetConnectionDevice_GetICSDeviceNameInfo(This,ppszMachineName,ppszDomainName,ppszSharedAdapterName,fBlock) \
(This)->lpVtbl -> GetICSDeviceNameInfo(This,ppszMachineName,ppszDomainName,ppszSharedAdapterName,fBlock)
#define IInternetConnectionDevice_GetICSDeviceSystemTime(This,pTime,fBlock) \
(This)->lpVtbl -> GetICSDeviceSystemTime(This,pTime,fBlock)
#define IInternetConnectionDevice_GetICSDeviceOSVersion(This,pOSVersion,pdwOSMajorVersion,pdwOSMinorVersion,pdwOSBuildNumber,ppszOSName,ppszPlatformName,fBlock) \
(This)->lpVtbl -> GetICSDeviceOSVersion(This,pOSVersion,pdwOSMajorVersion,pdwOSMinorVersion,pdwOSBuildNumber,ppszOSName,ppszPlatformName,fBlock)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IInternetConnectionDevice_IsICSDeviceAvailable_Proxy(
IInternetConnectionDevice * This,
/* [in] */ BOOL fBlock);
void __RPC_STUB IInternetConnectionDevice_IsICSDeviceAvailable_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IInternetConnectionDevice_GetICSDeviceNameInfo_Proxy(
IInternetConnectionDevice * This,
/* [string][out] */ LPOLESTR *ppszMachineName,
/* [string][out] */ LPOLESTR *ppszDomainName,
/* [string][out] */ LPOLESTR *ppszSharedAdapterName,
/* [in] */ BOOL fBlock);
void __RPC_STUB IInternetConnectionDevice_GetICSDeviceNameInfo_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IInternetConnectionDevice_GetICSDeviceSystemTime_Proxy(
IInternetConnectionDevice * This,
/* [out] */ FILETIME *pTime,
/* [in] */ BOOL fBlock);
void __RPC_STUB IInternetConnectionDevice_GetICSDeviceSystemTime_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IInternetConnectionDevice_GetICSDeviceOSVersion_Proxy(
IInternetConnectionDevice * This,
/* [out] */ ICS_OS_VER *pOSVersion,
/* [out] */ DWORD *pdwOSMajorVersion,
/* [out] */ DWORD *pdwOSMinorVersion,
/* [out] */ DWORD *pdwOSBuildNumber,
/* [string][out] */ LPOLESTR *ppszOSName,
/* [string][out] */ LPOLESTR *ppszPlatformName,
/* [in] */ BOOL fBlock);
void __RPC_STUB IInternetConnectionDevice_GetICSDeviceOSVersion_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IInternetConnectionDevice_INTERFACE_DEFINED__ */
#ifndef __IInternetConnectionDeviceSharedConnection_INTERFACE_DEFINED__
#define __IInternetConnectionDeviceSharedConnection_INTERFACE_DEFINED__
/* interface IInternetConnectionDeviceSharedConnection */
/* [unique][helpstring][uuid][object] */
typedef /* [v1_enum] */
enum tagICS_CONN_DIAL_STATE
{ STARTING = 1,
CONNECTING = 2,
CONNECTED = 3,
DISCONNECTING = 4,
DISCONNECTED = 5,
STOPPED = 6,
PERMANENT = 7,
UNK_DIAL_STATE = 8,
CALLWAITING = 9
} ICS_CONN_DIAL_STATE;
typedef /* [v1_enum] */
enum tagICS_CONN_TYPE
{ LAN = 1,
RAS = 2,
UNK_CONN_TYPE = 3
} ICS_CONN_TYPE;
EXTERN_C const IID IID_IInternetConnectionDeviceSharedConnection;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("04df6138-5610-11d4-9ec8-00b0d022dd1f")
IInternetConnectionDeviceSharedConnection : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Connect( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDialState(
/* [out] */ ICS_CONN_DIAL_STATE *pDialState,
/* [in] */ BOOL fBlock) = 0;
virtual HRESULT STDMETHODCALLTYPE GetConnectionInfo(
/* [out] */ ULONGLONG *pBytesSent,
/* [out] */ ULONGLONG *pBytesRecv,
/* [out] */ ULONGLONG *pPktsSent,
/* [out] */ ULONGLONG *pPktsRecv,
/* [out] */ ULONGLONG *pUptime,
/* [in] */ BOOL fBlock) = 0;
virtual HRESULT STDMETHODCALLTYPE GetConnectionSpeed(
/* [out] */ DWORD *pdwBps,
/* [in] */ BOOL fBlock) = 0;
virtual HRESULT STDMETHODCALLTYPE GetConnectionType(
/* [out] */ ICS_CONN_TYPE *pConnectionType,
/* [in] */ BOOL fBlock) = 0;
};
#else /* C style interface */
typedef struct IInternetConnectionDeviceSharedConnectionVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IInternetConnectionDeviceSharedConnection * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IInternetConnectionDeviceSharedConnection * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IInternetConnectionDeviceSharedConnection * This);
HRESULT ( STDMETHODCALLTYPE *Connect )(
IInternetConnectionDeviceSharedConnection * This);
HRESULT ( STDMETHODCALLTYPE *Disconnect )(
IInternetConnectionDeviceSharedConnection * This);
HRESULT ( STDMETHODCALLTYPE *GetDialState )(
IInternetConnectionDeviceSharedConnection * This,
/* [out] */ ICS_CONN_DIAL_STATE *pDialState,
/* [in] */ BOOL fBlock);
HRESULT ( STDMETHODCALLTYPE *GetConnectionInfo )(
IInternetConnectionDeviceSharedConnection * This,
/* [out] */ ULONGLONG *pBytesSent,
/* [out] */ ULONGLONG *pBytesRecv,
/* [out] */ ULONGLONG *pPktsSent,
/* [out] */ ULONGLONG *pPktsRecv,
/* [out] */ ULONGLONG *pUptime,
/* [in] */ BOOL fBlock);
HRESULT ( STDMETHODCALLTYPE *GetConnectionSpeed )(
IInternetConnectionDeviceSharedConnection * This,
/* [out] */ DWORD *pdwBps,
/* [in] */ BOOL fBlock);
HRESULT ( STDMETHODCALLTYPE *GetConnectionType )(
IInternetConnectionDeviceSharedConnection * This,
/* [out] */ ICS_CONN_TYPE *pConnectionType,
/* [in] */ BOOL fBlock);
END_INTERFACE
} IInternetConnectionDeviceSharedConnectionVtbl;
interface IInternetConnectionDeviceSharedConnection
{
CONST_VTBL struct IInternetConnectionDeviceSharedConnectionVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IInternetConnectionDeviceSharedConnection_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IInternetConnectionDeviceSharedConnection_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IInternetConnectionDeviceSharedConnection_Release(This) \
(This)->lpVtbl -> Release(This)
#define IInternetConnectionDeviceSharedConnection_Connect(This) \
(This)->lpVtbl -> Connect(This)
#define IInternetConnectionDeviceSharedConnection_Disconnect(This) \
(This)->lpVtbl -> Disconnect(This)
#define IInternetConnectionDeviceSharedConnection_GetDialState(This,pDialState,fBlock) \
(This)->lpVtbl -> GetDialState(This,pDialState,fBlock)
#define IInternetConnectionDeviceSharedConnection_GetConnectionInfo(This,pBytesSent,pBytesRecv,pPktsSent,pPktsRecv,pUptime,fBlock) \
(This)->lpVtbl -> GetConnectionInfo(This,pBytesSent,pBytesRecv,pPktsSent,pPktsRecv,pUptime,fBlock)
#define IInternetConnectionDeviceSharedConnection_GetConnectionSpeed(This,pdwBps,fBlock) \
(This)->lpVtbl -> GetConnectionSpeed(This,pdwBps,fBlock)
#define IInternetConnectionDeviceSharedConnection_GetConnectionType(This,pConnectionType,fBlock) \
(This)->lpVtbl -> GetConnectionType(This,pConnectionType,fBlock)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IInternetConnectionDeviceSharedConnection_Connect_Proxy(
IInternetConnectionDeviceSharedConnection * This);
void __RPC_STUB IInternetConnectionDeviceSharedConnection_Connect_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IInternetConnectionDeviceSharedConnection_Disconnect_Proxy(
IInternetConnectionDeviceSharedConnection * This);
void __RPC_STUB IInternetConnectionDeviceSharedConnection_Disconnect_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IInternetConnectionDeviceSharedConnection_GetDialState_Proxy(
IInternetConnectionDeviceSharedConnection * This,
/* [out] */ ICS_CONN_DIAL_STATE *pDialState,
/* [in] */ BOOL fBlock);
void __RPC_STUB IInternetConnectionDeviceSharedConnection_GetDialState_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IInternetConnectionDeviceSharedConnection_GetConnectionInfo_Proxy(
IInternetConnectionDeviceSharedConnection * This,
/* [out] */ ULONGLONG *pBytesSent,
/* [out] */ ULONGLONG *pBytesRecv,
/* [out] */ ULONGLONG *pPktsSent,
/* [out] */ ULONGLONG *pPktsRecv,
/* [out] */ ULONGLONG *pUptime,
/* [in] */ BOOL fBlock);
void __RPC_STUB IInternetConnectionDeviceSharedConnection_GetConnectionInfo_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IInternetConnectionDeviceSharedConnection_GetConnectionSpeed_Proxy(
IInternetConnectionDeviceSharedConnection * This,
/* [out] */ DWORD *pdwBps,
/* [in] */ BOOL fBlock);
void __RPC_STUB IInternetConnectionDeviceSharedConnection_GetConnectionSpeed_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IInternetConnectionDeviceSharedConnection_GetConnectionType_Proxy(
IInternetConnectionDeviceSharedConnection * This,
/* [out] */ ICS_CONN_TYPE *pConnectionType,
/* [in] */ BOOL fBlock);
void __RPC_STUB IInternetConnectionDeviceSharedConnection_GetConnectionType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IInternetConnectionDeviceSharedConnection_INTERFACE_DEFINED__ */
#ifndef __IInternetConnectionDeviceClient_INTERFACE_DEFINED__
#define __IInternetConnectionDeviceClient_INTERFACE_DEFINED__
/* interface IInternetConnectionDeviceClient */
/* [unique][helpstring][uuid][object] */
EXTERN_C const IID IID_IInternetConnectionDeviceClient;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("04df6139-5610-11d4-9ec8-00b0d022dd1f")
IInternetConnectionDeviceClient : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE GetAdapterGuid(
/* [out] */ GUID **ppGuid) = 0;
};
#else /* C style interface */
typedef struct IInternetConnectionDeviceClientVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IInternetConnectionDeviceClient * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IInternetConnectionDeviceClient * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IInternetConnectionDeviceClient * This);
HRESULT ( STDMETHODCALLTYPE *GetAdapterGuid )(
IInternetConnectionDeviceClient * This,
/* [out] */ GUID **ppGuid);
END_INTERFACE
} IInternetConnectionDeviceClientVtbl;
interface IInternetConnectionDeviceClient
{
CONST_VTBL struct IInternetConnectionDeviceClientVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IInternetConnectionDeviceClient_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IInternetConnectionDeviceClient_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IInternetConnectionDeviceClient_Release(This) \
(This)->lpVtbl -> Release(This)
#define IInternetConnectionDeviceClient_GetAdapterGuid(This,ppGuid) \
(This)->lpVtbl -> GetAdapterGuid(This,ppGuid)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IInternetConnectionDeviceClient_GetAdapterGuid_Proxy(
IInternetConnectionDeviceClient * This,
/* [out] */ GUID **ppGuid);
void __RPC_STUB IInternetConnectionDeviceClient_GetAdapterGuid_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IInternetConnectionDeviceClient_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif