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 "include/objbase.h". gitlab.winehq.org/wine/wine/blob/master/include/objbase.h

Implemented in "dlls/ole32/compobj.c". gitlab.winehq.org/wine/wine/blob/master/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 Nov 2024.