Microsoft DirectX 8.1 (C++)

ICARequest::get_CountDeniedComponents

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

The get_CountDeniedComponents method retrieves the number of components in this request that have at least one non-transient denial.

Syntax

HRESULT get_CountDeniedComponents(
  long*  pcDeniedComponents
);

Parameters

  pcDeniedComponents

[out]  Pointer to a variable that receives the count.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The returned value is the number of components with any non-transient denials, not the total number of denials. If the value is greater than zero, then at least one component is denied. To determine which component, retrieve the components collection by calling the ICARequest::get_Components method. Then call the ICAComponent::get_Denials method on each component.

See Also