IDBAsynchNotify::OnLowResource

Called when low resources are detected by the provider.

Syntax

HRESULT OnLowResource(
   DB_DWRESERVE dwReserved);

Parameters

  • dwReserved
    [in] Reserved for future use; providers should set this to zero.

Return Code

  • S_OK
    The method succeeded.

  • E_FAIL
    A consumer-specific error occurred.

  • E_NOTIMPL
    The consumer is not interested in receiving this notification. The provider can optimize by making no further calls to this method for this listener. Notifications for other methods are unaffected.

Comments

The consumer should free any resource it no longer needs when receiving this notification.

See Also

Reference

IDBAsynchNotify::OnProgress

IDBAsynchNotify::OnStop