Microsoft DirectX 8.1 (C++)

ICAPolicy::get_OkToRemoveDenial

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

The get_OkToRemoveDenial method determines whether the specified denial can be removed.

Syntax

HRESULT get_OkToRemoveDenial(
  ICADenial*  pDenial,
  BOOL*  pfOk
);

Parameters

  pDenial

Pointer to the ICADenial interface of the denial.

  pfOk

[out]  Pointer to a variable that receives a Boolean value. If the value is TRUE, the denial 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 a denial, the ICADenials::Remove method calls this method on the owning policy. If the method returns FALSE in the pfOk parameter, the denial is not removed.

See Also