Share via


IBDA_ConditionalAccessEx::CloseMmiDialog 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.]

Notifies the Conditional Access Service (CAS) that the media sink device (MSD) has closed a user interface (MMI) dialog.

Syntax

HRESULT CloseMmiDialog(
  [in]  ULONG                                ulDialogRequest,
  [in]  BSTR                                 bstrLanguage,
  [in]  ULONG                                ulDialogNumber,
  [in]  BDA_CONDITIONALACCESS_MMICLOSEREASON ReasonCode,
  [out] ULONG                                *pulSessionResult
);

Parameters

[in] ulDialogRequest

A logical link with the user interface (MMI) dialog that was triggered by the action.

[in] bstrLanguage

The language for any dialogs resulting from this action. This string contains an ISO 639-2 language code with a dash followed by an ISO 3166 country/region code.

[in] ulDialogNumber

The dialog number of the dialog that was closed.

[in] ReasonCode

The reason for closing the dialog, specified as a member of the BDA_CONDITIONALACCESS_MMICLOSEREASON enumeration.

[out] pulSessionResult

Receives the result code for the MMI session. For more information, see Protected Broadcast Driver Architecture, Part 1: Core Services - CAS, section 2.6.6.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server Windows Server�2008�R2 [desktop apps only]
Target Platform Windows
Header bdaiface.h

See also

IBDA_ConditionalAccessEx