# COMCLSIDFromProgID (W*S)

COM Subroutine: Passes a programmatic identifier and returns the corresponding class identifier.

## Module

USE IFCOM

USE IFWINTY

CALL COMCLSIDFromProgID (prog_id,clsid,status)

prog_id | The programmatic identifier of type CHARACTER*(*).
clsid | The class identifier corresponding to the programmatic identifier. Must be of type GUID, which is defined in the IFWINTY module.
status | The status of the operation. It can be any status returned by CLSIDFromProgID. Must be of type INTEGER(4).

Parent topic: Automation Server (AUTO) and Component Object Model (COM) Library Routines