UtilWin32WindowsGuidToManagedGuid Method
Translates a GUID that is defined in a Windows C++ header file using the DEFINE_GUID macro,
to a managed Guid.
Namespace: DevCase.Win32Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Guid WindowsGuidToManagedGuid(
string clikeGuid
)
Public Shared Function WindowsGuidToManagedGuid (
clikeGuid As String
) As Guid
Dim clikeGuid As String
Dim returnValue As Guid
returnValue = UtilWin32.WindowsGuidToManagedGuid(clikeGuid)
public:
static Guid WindowsGuidToManagedGuid(
String^ clikeGuid
)
static member WindowsGuidToManagedGuid :
clikeGuid : string -> Guid
No code example is currently available or this language may not be supported.
- clikeGuid String
-
A string containing the values of the GUID array format, like for example:
"0x450D8FBA,0xAD25,0x11D0,0x98,0xA8,0x08,0x00,0x36,0x1B,0x11,0x03"
Guid
The resulting
Guid.
This is a code example.
No code example is currently available or this language may not be supported.
Dim IID_IShellFolder As String = "0x000214E6L,0,0,0xC0,0,0,0,0,0,0,0x46" ' 000214E6-0000-0000-C000-000000000046
Dim guid As Guid = WindowsGuidToManagedGuid(IID_IShellFolder)
Console.WriteLine(guid.ToString())
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
ArgumentException
|
clikeGuid;Wrong GUID format supplied.
|