# Function Reference

# _WinAPI_ProgIDFromCLSID

Retrieves the ProgID for a given CLSID

#include <WinAPICom.au3>
_WinAPI_ProgIDFromCLSID ( $sCLSID )

## Parameters

$sCLSID | The string that represents the CLSID for which ProgID is to be retrieved.

## Return Value

Success: | The string that contains a ProgID.
Failure: | Empty string and sets the @error flag to non-zero, @extended flag may contain the HRESULT error code.

## See Also

Search ProgIDFromCLSID in MSDN Library.

## Example

    #include <WinAPICom.au3>

    ConsoleWrite(_WinAPI_ProgIDFromCLSID('{1A671297-FA74-4422-80FA-6C5D8CE4DE04}') & @CRLF)