0byt3m1n1
Path:
C:
/
Windows
/
System32
/
wbem
/
[
Home
]
File: StrgPrvdMgmt.mof
//---------------------------------------------------------------------------- // // Copyright 2010 Microsoft Corp. // // Module: // // StrgPrvdMgmt.mof // // Description: // // WMIv1 provider used to configure the Storage Providers // on the Initiator machine when configured with the iSCSI Target server // //---------------------------------------------------------------------------- // // Provider namespace. // #pragma namespace( "\\\\.\\ROOT\\wmi" ) #pragma autorecover // // Declare this as a Win32 Provider. // instance of __Win32Provider as $P { CLSID = "{C1C1168E-6AA0-420D-9BB2-289258F43583}"; HostingModel = "NetworkServiceHost"; ImpersonationLevel = 1; Name = "iSCSIStrgPrvdMgmt"; }; // // Register as a method provider. // instance of __MethodProviderRegistration { provider = $P; }; // // Register as a method provider. // instance of __InstanceProviderRegistration { provider = $P; SupportsEnumeration = TRUE; }; //---------------------------------------------------------------------------- // // Provider classes. // //---------------------------------------------------------------------------- [ Version("1.0"), dynamic: ToInstance, provider("iSCSIStrgPrvdMgmt"): ToInstance, Description("This class supports the iSCSIStorageProviderIdentity noun.") ] class WT_iSCSIStorageProviderIdentity { [ implemented, static, Description("This method extracts the Identity currently configured for " "the specified AppID.") ] uint32 GetProviderIdentity([in] string AppID, [out] string UserName); [ implemented, static, Description("This method sets the Identity under which the iSCSI Target " "storage providers will run as Out-Of-Proc components.") ] uint32 SetProviderIdentity([in] string AppID, [in] string UserName, [in] string Password); }; [ Version("1.0"), dynamic: ToInstance, provider("iSCSIStrgPrvdMgmt"): ToInstance, Description("This class supports the iSCSIStorageSubsystem noun.") ] class WT_iSCSIStorageSubsystem { // // instance property // [key] string iSCSITargetServer; [ implemented, static, Description("This method adds an iSCSI Target Server to the set of subsystems" "known to the VDS provider.") ] uint32 AddStorageSubsystem([in] string iSCSITargetServer); [ implemented, static, Description("This method removes an iSCSI Target Server to the set of subsystems" "known to the VDS provider.") ] uint32 RemoveStorageSubsystem([in] string iSCSITargetServer); };