Partager via


IBDA_ConditionalAccess::get_SmartCardStatus

 
Microsoft DirectShow 9.0

IBDA_ConditionalAccess::get_SmartCardStatus

This topic applies to Windows Vista.

The get_SmartCardStatus method retrieves the status of the smart card.

Syntax

  HRESULT get_SmartCardStatus(
  SmartCardStatusType*  pCardStatus,
  SmartCardAssociationType*  pCardAssociation,
  BSTR*  pbstrCardError
);

Parameters

pCardStatus

[out]  Pointer to a variable of type SmartCardStatusType that receives the card status type.

pCardAssociation

[out]  Pointer to a variable of type SmartCardAssociationType that receives the card association type.

pbstrCardError

[out]  Pointer to a pointer variable that receives a pointer to a string containing the card error. When the string is no longer required, call the SysFreeString function to free it.

Return Values

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

Remarks

All three parameters must be non-NULL or the method fails and returns E_POINTER.

Requirements

Header: Include Bdaiface.h.

See Also