Retrieves the path of the root setting that can be overridden to
install out-of-box device drivers in the specified configuration
pass.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim configurationPass As ConfigurationPass
Dim returnValue As String
returnValue = DriverPath.GetSettingPath(configurationPass)
|
Syntax
Visual Basic |
Public Shared Function GetSettingPath( _
ByVal configurationPass As ConfigurationPass _
) As String
|
J# |
public static System.String GetSettingPath(
ConfigurationPass configurationPass
);
|
JScript |
public static function GetSettingPath(
configurationPass : ConfigurationPass
) : String;
|
Parameters
- configurationPass
-
Configuration pass in which the settings will be applied.
Return Value
DriverPath
encapsulates most of the detail settings that must be overridden to
install out-of-box device drivers. However, there may be situations
in which applications may want to access detail setting
information, such as retrieving definitions (metadata) of those
settings. Applications can call this method to obtain the path of
the root setting and then work with
AnswerFileSettingOverride and
SettingDefinition objects. It is possible to use the returned
setting path and instances of
AnswerFileSettingOverride
representing each setting override beneath directly to override
settings required for out-of-box device driver installation. Doing
this requires detailed knowledge of the components and settings. It
is recommended that you use the interfaces in this class as much as
possible.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server
2003, Windows Vista, and Windows 2000
Target Platforms
See Also