Freigeben über


IBDA_ConditionalAccess::get_SmartCardStatus method (bdaiface.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The get_SmartCardStatus method retrieves the status of the smart card.

Syntax

HRESULT get_SmartCardStatus(
  [out] SmartCardStatusType      *pCardStatus,
  [out] SmartCardAssociationType *pCardAssociation,
  [out] BSTR                     *pbstrCardError,
        VARIANT_BOOL             *pfOOBLocked
);

Parameters

[out] pCardStatus

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

[out] pCardAssociation

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

[out] pbstrCardError

Receives a string containing the card error. When the string is no longer required, call the SysFreeString function to free it.

pfOOBLocked

Receives a value indicating if the operation is blocked.

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

Requirement Value
Minimum supported client Windows�Vista [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header bdaiface.h

See also

IBDA_ConditionalAccess Interface