Looks up a CLSID from a ProgID in the registry.
| LPCOLESTR lpszProgID,
||//Points to the ProgID whose CLSID is requested
| LPCLSID pclsid
||//Receives a pointer to the created CLSID
Points to the ProgID whose CLSID is requested.
Receives a pointer to the location of the created CLSID on return.
Indicates the CLSID was created successfully.
Indicates the registered CLSID for the ProgID is invalid.
Indicates an error occurred writing to the registry.
Out of memory.
Indicates one or more arguments are invalid.
Indicates an unexpected error occurred.
Given a ProgID, CLSIDFromProgID
looks up its associated CLSID from a ProgID in the registry. If the ProgID
cannot be found in the registry, CLSIDFromProgID
creates an OLE 1 CLSID for it. Because of the restrictions placed on OLE 1
CLSID values, CLSIDFromProgID
are the only
two functions that can be used to generate a CLSID for an OLE 1 object.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages