NAME

CoTreatAsClass  (OLE32.@)

SYNOPSIS

 HRESULT CoTreatAsClass
 (
  REFCLSID clsidOld,
  REFCLSID clsidNew
 )

DESCRIPTION

Sets the TreatAs value of a class.

PARAMS

clsidOld [In] Class to set TreatAs value on.
clsidNew [In] The class the clsidOld should be treated as.

RETURNS

Success: S_OK.

Failure: HRESULT code.

SEE ALSO

CoGetTreatAsClass

IMPLEMENTATION

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 © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Feb 2021.