CLSIDToProgID
f90VB Modules
f90VBDefs, f90VBAutomation
Summary
Returns the Programmatic Identifier (ProgID) corresponding to the passed Class Identifier (CLSID).
Syntax
| subroutine CLSIDToProgID | (CLSID, ProgID, iRet) |
| type(GUID),intent(in):: | CLSID |
| character(len=*),intent(out):: | ProgID |
| integer(HRESULT_KIND),intent(out),optional:: | iRet |
Arguments
CLSID [Input]
A Global Unique Identifier (GUID) structure with the Class ID of an object.
ProgID [Output]
The Programmatic Identifier (ProgID) corresponding to the passed Class ID, if one exists.
iRet [Output/Optional]
Upon return, iRet contains S_OK or a negative error code. See comments for more information.
Comments
Argument iRet
Indicates success or failure of the subroutine. If the subroutine is successful, S_OK is returned in argument iRet. If the subroutine fails, iRet contains E_UNEXPECTED or another negative value indicating the nature of the error.
Examples
See examples for GUIDToStr.
Related Topics
| For information about: | See: | |
| Obtaining a Class ID from a Programmatic ID | ProgIDToCLSID | |