ITMediaControl::get_MediaState method (tapi3if.h)

The get_MediaState method gets the current state of media on the file terminal.

Syntax

HRESULT get_MediaState(
  [out] TERMINAL_MEDIA_STATE *pTerminalMediaState
);

Parameters

[out] pTerminalMediaState

Pointer to the TERMINAL_MEDIA_STATE descriptor of the current state of the file terminal.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITMediaControl

TERMINAL_MEDIA_STATE