Microsoft DirectX 8.1 (C++)

ICAToll::get_Policy

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

The get_Policy method retrieves the policy that created this toll.

Syntax

HRESULT get_Policy(
  ICAPolicy**  ppPolicy
);

Parameters

  ppPolicy

[out]  Pointer to a variable that receives an ICAPolicy interface pointer.

Return Values

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

Remarks

If a toll is paid and then reloaded from persistent storage, this method can return NULL in the ppPolicy parameter.

The returned ICAPolicy interface has an outstanding reference count. The caller must release the interface.

See Also