Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_CountDenied method retrieves the number of denials that are now in force, disregarding transient denials.
Syntax
HRESULT get_CountDenied(
long* pCount
);
Parameters
pCount
[out] Pointer to a variable of type long that receives the number of denials whose state is Denied.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method returns the number of denials in the collection whose state equals Denied. The count does not include transient denials. Before a policy offers the user a chance to resolve the denialsfor example, by displaying a user interfaceit should call this method. If the count is zero and the collection is not empty, it means that all of the denials in the collection are transient.
See Also