Sample Code
Windows Driver Samples/ Hyper-V Extensible Switch extension filter driver/ C++/ samples/ forward/ MSForwardExtPolicy.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 32 | // // Copyright (c) Microsoft Corporation. All Rights Reserved. // // Custom property for MsForwardExt // MAC Address Allow Policy // #pragma namespace("\\\\.\\root\\virtualization\\v2") [ Dynamic, UUID( "EB29F0F2-F5DC-45C6-81BB-3CD9F219BBBB" ), ExtensionId( "37d9eae6-5bae-48c5-bff1-63a7cdd7e4f4" ), Provider( "VmmsWmiInstanceAndMethodProvider" ), Locale(0x409), InterfaceVersion( "1" ), InterfaceRevision( "0" ), DisplayName( "MSForwardExt MAC Address Policy" ) : Amended, Description( "Source MAC Addresses to allow sends on MSForwardExt." ) : Amended] class MSForwardExt_MacAddressRule : Msvm_EthernetSwitchFeatureSettingData { // // MAC Address set on switch to allow sends from. // [ Read, Write, WmiDataId(1), Max(6), InterfaceVersion(1), InterfaceRevision(0), Description ( "Mac Address" ) : Amended] uint8 MacAddress[] = {}; }; |
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