Microsoft DirectX 8.1 (C++)

ICAPolicy.OkToRemoveOffer

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

The OkToRemoveOffer property determines whether the specified offer can be removed.

Syntax

objCAPolicy.OkToRemoveOffer(
    pOffer As CAOffer) As Long

Parameters

  pOffer

Specifies the CAOffer object to test.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns a Boolean value. If the value is TRUE, the offer can be removed; otherwise, it cannot be removed.

Remarks

Before removing an offer, the ICAOffers.Remove method retrieves this property on the owning policy. If the value is FALSE, the offer is not removed.

This property is read-only.

See Also