CoTreatAsClass (OLE32.@)
HRESULT CoTreatAsClass ( REFCLSID clsidOld, REFCLSID clsidNew )
Sets the TreatAs value of a class.
clsidOld | [In] | Class to set TreatAs value on. |
clsidNew | [In] | The class the clsidOld should be treated as. |
Success: S_OK.
Failure: HRESULT code.
CoGetTreatAsClass
Declared in "objbase.h". https://source.winehq.org/source/include/objbase.h
Implemented in "dlls/ole32/compobj.c". https://source.winehq.org/source/dlls/ole32/compobj.c
Debug channel "ole".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.