IltmmDVDControl::put_CurrentAngle

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDControl__put_CurrentAngle(pDVD, pAngle)

C++ Syntax

HRESULT put_CurrentAngle(pAngle)

 

IltmmDVDControl *pDVD;

/* pointer to an interface */

long pAngle;

/* angle */

Sets the number of the currently selected angle. This function is used only when the DVD Navigator is in an angle block.

Parameter

Description

pDVD

Pointer to an IltmmDVDControl interface.

pAngle

Value of the angle, within the angle block, to set as the current angle. Possible values range from 1 to 9.

Returns

S_OK

The function ran successfully.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

Call IltmmDVDControl::get_CurrentAngle to retrieve the number of the currently selected angle.

To retrieve the number of angles available in the current angle block, call IltmmDVDControl::get_AnglesAvailable.

For more detailed information, refer to the Microsoft documentation for IDvdControl2::SelectAngle.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Elements:

IltmmDVDControl interface, IltmmDVDControl::get_CurrentAngle, IltmmDVDControl::get_AnglesAvailable

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmDVDControl::GetButtonAtPosition Example for C.

For a C++ example, refer to IltmmDVDControl::GetButtonAtPosition Example for C++.