共用方式為


IInputPersonalizationDataSink::OnDataChange method

Inform component about a data change. The IInputPersonalizationWordSink will receive the tokens from the content provider.

Syntax

HRESULT OnDataChange(
  [in]  DWORD                             eChAdvise,
  [in]  IInputPersonalizationDataResource *pResource,
  [out] ppFilterSink                      **ppFilterSink
);

Parameters

  • eChAdvise [in]
    The component data notification advise status. One of the following values:

    Value Description
    0 Add
    1 Delete
    2 Modify
    3 Move/Rename

     

  • pResource [in]
    The IInputPersonalizationDataResource to send tokens from.

  • ppFilterSink [out]
    The IInputPersonalizationWordSink object to receive tokens from.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

See also

IInputPersonalizationDataSink