Partager via


IMediaObjectImpl::Lock

The Lock method locks the DMO, using a critical section. The derived class must declare and implement this method.

Syntax

void Lock(void);

Remarks

If you implement the derived class using the Active Template Library (ATL), you can use ATL's default implementation of this method.

Requirements

  Header: Dmoimpl.h
  Library: Dmoguids.lib, Msdmo.lib

See Also

© 2004 Microsoft Corporation. All rights reserved.