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?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials