Ole32ProgIDFromCLSID Method

Retrieves the ProgID for a given CLSID.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Ole32.dll", CharSet = CharSet.Unicode, ExactSpelling = true)]
public static HResult ProgIDFromCLSID(
	in Guid refClsid,
	ref string refProgId
)

Parameters

refClsid  Guid
The CLSID for which the ProgID is to be requested.
refProgId  String
The address of a pointer variable that receives the ProgID string.

The string that represents clsid includes enclosing braces.

Return Value

HResult
Returns S_OK on success, or other HResult if an error occurs.

Remarks

See Also