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

Defined in "objbase.h".

Implemented in "dlls/ole32/compobj.c". source.winehq.org/source/dlls/ole32/compobj.c

Debug channel "ole".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.