Determines if a given CLSID represents an OLE 1 object. This is one of several OLE compatibility functions. You can use these functions to determine if an object class is from OLE 1 and to convert objects between OLE 1 and OLE 2 storage formats.

BOOL CoIsOle1Class(

REFCLSID rclsid,
//CLSID to check



Indicates the reference to the CLSID to check.

Return Values


Indicates that the CLSID refers to an OLE 1 object.


Indicates that the CLSID does not refer to an OLE 1 object.


The CoIsOle1Class function is useful for preventing linking to embedded OLE 1 objects within a container. Once a container has determined that copied data represents an embedded object, CoIsOle1Class can be called to determine whether the embedded object is an OLE 1 object. If CoIsOle1Class returns S_TRUE, the container does not offer Link Source.

See Also

OleConvertIStorageToOLESTREAM, OleConvertIStorageToOLESTREAMEx, OleConvertOLESTREAMToIStorage, OleConvertOLESTREAMToIStorageEx

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database