Compartir a través de


IInputPersonalizationDataSink::SetDataSite method

Sets the IInputPersonalizationDataSite which allows the component to register for notifications.

Syntax

HRESULT SetDataSite(
  [in]  IInputPersonalizationDataSite *pDataSite,
  [out] DWORD                         *pgrfNotifyFlags
);

Parameters

  • pDataSite [in]
    The IInputPersonalizationDataSite to use for notifications.

  • pgrfNotifyFlags [out]
    A pointer to a DWORD that will contain the notification flags returns from SetDataSite.

Return value

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

See also

IInputPersonalizationDataSink