IOpenControlPanelGetPath Method

Gets the path of a specified Control Panel item.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult GetPath(
	string name,
	StringBuilder path,
	int bufferSize
)

Parameters

name  String
A pointer to the item's canonical name or its GUID.

This value can be .

path  StringBuilder
When this method returns, contains the path of the specified Control Panel item as a Unicode string.
bufferSize  Int32
The size of the buffer pointed to by path parameter.

Return Value

HResult
If this method succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

See Also