Share via


IDVDDataSearchInfo::GetUnitStepAddress (Windows Embedded CE 6.0)

1/6/2010

This method reads the video object unit search information (VOBU_SRI) and returns the start address of a video object unit (VOBU) that is a specified distance forward or behind in the presentation.

Syntax

HRESULT GetUnitStepAddress(
  UINT8 dir,
  INT16 stepIndex,
  UINT32* pAddress
);

Parameters

  • dir
    [in] Specified direction to search for the video object unit start address.

    Value Direction

    0

    Forward

    1

    Backward

  • stepIndex
    [in] Specified distance in the direction dir to step to a VOBU.

    Value Step distance

    0

    The next VOBU when dir is 0.

    The previous VOBU when dir is 1.

    1 - 15

    stepIndex/2 seconds away in the direction of dir.

    16

    10 seconds away in the direction of dir.

    17

    30 seconds away in the direction of dir.

    18

    60 seconds away in the direction of dir.

    19

    120 seconds away in the direction of dir.

    20

    The next VOBU with a video stream when dir is 0.

    The previous VOBU with a video stream when dir is 1.

  • pAddress
    [out] Start address of a VOBU.

Return Value

If the function succeeds, the return value is S_OK.

Requirements

Header dvdata.h, dvdata.idl
Library Ddvdids.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDVDDataSearchInfo