共用方式為


IVMRSurfaceAllocatorNotify::RestoreDDrawSurfaces

 
Microsoft DirectShow 9.0

IVMRSurfaceAllocatorNotify::RestoreDDrawSurfaces

The RestoreDDrawSurfaces method notifies the VMR that a DirectDraw surface "loss" has been detected.

Syntax

  HRESULT RestoreDDrawSurfaces();

Parameters

This method takes no parameters.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also