Microsoft DirectX 8.1 (C++)

ICAPolicy::get_OkToRemoveOffer

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The get_OkToRemoveOffer method determines whether the specified offer can be removed.

Syntax

HRESULT get_OkToRemoveOffer(
  ICAOffer*  pOffer,
  BOOL*  pfOk
);

Parameters

  pOffer

Pointer to the ICAOffer interface of the offer.

  pfOk

[out]  Pointer to a variable that receives a Boolean value. If the value is TRUE, the offer can be removed; otherwise, it cannot be removed.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Before removing an offer, the ICAOffers::Remove method calls this method on the owning policy. If the method returns FALSE in the pfOk parameter, the offer is not removed.

See Also