Sample Code

Windows Driver Samples/ Hyper-V Extensible Switch extension filter driver/ C++/ samples/ forward/ MSForwardExtPolicyStatus.mof/

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
//
// Copyright (c) Microsoft Corporation. All Rights Reserved.
//
// Custom property status for MSForwardExt
// MAC Address Allow Policy Status
//
#pragma namespace("\\\\.\\root\\virtualization\\v2")
 
[ Dynamic,
 UUID("A3E2AFF5-E6FA-4E52-AB74-13250BF7E8CF"),
 ExtensionId("37d9eae6-5bae-48c5-bff1-63a7cdd7e4f4"),
 Provider("VmmsWmiInstanceAndMethodProvider"),
 Applicability("2"),
 Locale(0x409),
 InterfaceVersion("1"),
 InterfaceRevision("0"),
DisplayName("MSForwardExt MAC Address Policy Status") : Amended,
Description("The current array of PortIds with policy set to allow sends") : Amended]
class MSForwardExt_MacAddressRuleStatus : Msvm_EthernetSwitchData {
    
    //
    // Array of PortId's currently allowing sends.
    //
    [ Read,
      WmiDataId(1),
      InterfaceVersion(1),
      InterfaceRevision(0),
      Description (
         "Currently Allowed Port Ids") : Amended]
    uint32 AllowedPortIds[] = {};
};    

Our Services

  • What our customers say about us?

© 2011-2025 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS