Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The State property sets or returns the state of the denial.
Syntax
objCADenial.State As CADenialState
Parameters
This property takes no parameters.
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 CADenialState constant. The following table shows possible values.
Constant | Value | Description |
Denied | 0 | The denial is currently in effect. |
Transient | 1 | The denial is transient, and not yet in effect. |
Remarks
If the state is denied, the denial is currently in effect, and blocks the associated object (such as a request).
If the state is transient, the owning policy needs some information that is not yet available. For example, parental ratings are delivered in-band, as part of the program, so they are not available when the user first submits the tune request. A parental policy would impose a transient denial; then, once the rating information was available, it either would change the state or remove the denial.
This property is read/write.
See Also