Share via


IBDA_ConditionalAccess::get_SmartCardStatus Method

This topic applies to Windows Vista.
The get_SmartCardStatus method retrieves the status of the smart card.

Syntax

HRESULT get_SmartCardStatus(
  [out]  SmartCardStatusType *pCardStatus,
  [out]  SmartCardAssociationType *pCardAssociation,
  [out]  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 Value

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 Declared in Bdaiface.h.

See Also

IBDA_ConditionalAccess Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008