IDVDDataSearchInfo::GetUnitStepAddress

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.

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 through 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 Values

If the function succeeds, the return value is S_OK.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdata.idl.
Link Library: Ddvdids.lib.

See Also

IDVDDataSearchInfo

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.