共用方式為


IVMRSurface::IsSurfaceLocked

 
Microsoft DirectShow 9.0

IVMRSurface::IsSurfaceLocked

The IsSurfaceLocked method indicates whether the DirectDraw surface attached to this media sample is locked.

Syntax

  HRESULT IsSurfaceLocked();

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