다음을 통해 공유


IDVDROM::ReadVMGI (Windows CE 5.0)

Send Feedback

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.

HRESULT ReadVMGIUINT32* 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 Values

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

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

See Also

IDVDROM::ReleaseMem

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.