Share via


IDVDROM::ReadVMGI (Windows Embedded CE 6.0)

1/6/2010

This method returns the video manager information (VMGI). This method is used internally by the DVD-Video API and is not generally used by applications.

Syntax

HRESULT ReadVMGI
  UINT32* length,
  UINT8** bufptr, 
);

Parameters

  • length
    [out] Contains the length of the VMGI if the call succeeds.
  • bufptr
    [out] Contains the VMGI if the call succeeds.

Return Value

If the function succeeds, the return value is S_OK.

If the method fails, the return value may be one of the following error values.

Error value Description

E_FAIL

The method failed.

E_HANDLE

The method encountered an invalid handle.

E_UNEXPECTED

The method encountered an unexpected error.

E_OUTOFMEMORY

There was not enough memory available for the operation.

Remarks

A call to IDVDROM::ReleaseMem, passing bufptr, must be made to free the memory allocated by IDVDROM::ReadVMGI when the VGMI is no longer needed.

Requirements

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

See Also

Reference

IDVDROM
IDVDROM::ReleaseMem