Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

CLSIDFromProgID (ole32)
 
.
Summary
Summary

C# Signature:

[DllImport("ole32.dll", CharSet=CharSet.Unicode, ExactSpelling=true, PreserveSig=false)]
static extern Guid CLSIDFromProgIDEx(string lpszProgID);

VB.Net Signature:

<DllImport("ole32.dll", CharSet:=CharSet.Unicode, ExactSpelling:=True, PreserveSig:=False)> _
  Friend Shared Function CLSIDFromProgIDEx(ByVal lpszProgID As String) As Guid
  End Function

User-Defined Types:

None.

[DllImport("ole32.dll")]
static extern int CLSIDFromProgID([MarshalAs(UnmanagedType.LPWStr)] string
   lpszProgID, out Guid pclsid);

Notes:

None.

VB Signature:

Public Declare Unicode Function CLSIDFromProgID Lib "ole32.dll" (<MarshalAs(UnmanagedType.LPWStr)> ByVal progId As String, <Out()> ByRef clsid As Guid) As CLSIDFromProgIDResult

Tips & Tricks:

Please add some!

User-Defined Types:

None.

Sample Code:

Please add some!

Notes:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Tips & Tricks:

Please add some!

Documentation

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
Documentation
News News

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions