Microsoft DirectX 8.1 (C++)

ICAPolicy.OkToRemoveDenial

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

The OkToRemoveDenial property determines whether the specified denial can be removed.

Syntax

objCAPolicy.OkToRemoveDenial(
    pDenial As ICADenial) As Long

Parameters

  pDenial

Specifies the ICADenial 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 denial can be removed. Otherwise, it cannot be removed.

Remarks

Before removing a denial, the CADenials.Remove method retrieves this property on the owning policy. If the value is FALSE, the denial is not removed.

This property is read-only.

See Also