Ole32CLSIDFromProgID Method

Looks up a CLSID in the registry, given a ProgID.

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")]
public static HResult CLSIDFromProgID(
	string progId,
	out Guid refClsid
)

Parameters

progId  String
The ProgID whose CLSID is requested.
refClsid  Guid
Receives the retrieved CLSID on return.

Return Value

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

Remarks

See Also