Function Reference


Looks up a CLSID in the registry, given a ProgID

#include <WinAPICom.au3>
_WinAPI_CLSIDFromProgID ( $sProgID )


$sProgID The string containing the ProgID whose CLSID is requested.

Return Value

Success: The string representation of the CLSID.
Failure: Empty string and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

See Also

Search CLSIDFromProgID in MSDN Library.


#include <WinAPICom.au3>

ConsoleWrite(_WinAPI_CLSIDFromProgID('AutoItX3.Control.1') & @CRLF)