Microsoft DirectX 8.1 (C++)

ICAToll::put_CAManager

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

The put_CAManager method sets a pointer to the Conditional Access (CA) Manager.

Syntax

HRESULT put_CAManager(
  ICAManager*  pManager
);

Parameters

  pManager

[in]  Pointer to the CA Manager’s ICAManager interface, or NULL.

Return Values

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

Remarks

When a policy creates a toll, it calls this method. The ICAManagerInternal::Load method also calls this method. Before the CA Manager is unloaded, this method is called with a NULL pointer.

If the toll stores the pointer, it should add a reference count to the interface. Release the stored pointer when the method is called with a NULL parameter.

This method should fail if pManager is non-NULL and the toll already has an ICAManager pointer.

See Also