ITypeChangeEvents::AfterTypeChange method (oaidl.h)

Raised after a type has been changed.

Syntax

HRESULT AfterTypeChange(
  [in] CHANGEKIND changeKind,
  [in] ITypeInfo  *pTInfoAfter,
  [in] LPOLESTR   pStrName
);

Parameters

[in] changeKind

The type of change.

CHANGEKIND_ADDMEMBER

CHANGEKIND_DELETEMEMBER

CHANGEKIND_SETNAMES

CHANGEKIND_SETDOCUMENTATION

CHANGEKIND_GENERAL

CHANGEKIND_INVALIDATE

CHANGEKIND_CHANGEFAILED

[in] pTInfoAfter

An object that implements the ITypeInfo, ITypeInfo2, ICreateTypeInfo, or ICreateTypeInfo2 interface and that contains the type information before the change was made. The client subscribes to this object to receive notifications about any changes.

[in] pStrName

The name of the change. This value may be null.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One or more of the arguments is not valid.
E_OUTOFMEMORY
Insufficient memory to complete the operation.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ITypeChangeEvents