Compartilhar via


CAutoLock::CAutoLock (Compact 2013)

3/26/2014

Takes a pointer to a critical section object and locks it.

Syntax

CAutoLock(
  CCritSec* plock
);

Parameters

  • plock
    Pointer to a critical section object.

Return Value

None.

Remarks

The critical section is unlocked when the CAutoLock object is destroyed.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CAutoLock Class