blob: dd31ea74de30c319f270fa1fd95c36846510616d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992-2001.
//
// File: V I R T U A L . H
//
// Contents: Header file for virtual miniport class.
//
// Notes:
//
// Author: Alok Sinha
//
//----------------------------------------------------------------------------
#ifndef VIRTUAL_H_INCLUDED
#define VIRTUAL_H_INCLUDE
#include <windows.h>
#include <stdio.h>
#include "netcfgn.h"
#include "common.h"
//
// Class to represent a virtual miniport created by IM driver.
//
class CMuxVirtualMiniport
{
//
// Private member variables.
//
INetCfg *m_pnc;
GUID m_guidAdapter;
GUID m_guidMiniport;
//
// Public members.
//
public:
CMuxVirtualMiniport(INetCfg *m_pnc,
GUID *pguidMiniport,
GUID *guidAdapter);
virtual ~CMuxVirtualMiniport(VOID);
HRESULT LoadConfiguration(VOID);
VOID GetAdapterGUID (GUID *);
VOID GetMiniportGUID (GUID *);
HRESULT Install (VOID);
HRESULT DeInstall (VOID);
HRESULT ApplyRegistryChanges (ConfigAction eApplyAction);
HRESULT ApplyPnpChanges (INetCfgPnpReconfigCallback *pfCallback,
ConfigAction eApplyAction);
};
#endif // VIRTUAL_H_INCLUDED
|