Partager via


ISdpNodeContainer::LockContainer

This method locks or unlocks the container.

HRESULT LockContainer(
  UCHAR lock
)

Parameters

  • lock
    [in] Value that is set to TRUE to lock the container, or FALSE to unlock it.

Return Values

None.

Remarks

The behavior of this method is recursive; the container and the pointers in the container are locked or unlocked by the call. Each call to lock a container must be matched by a call to unlock the container. If a container is locked, calls to the ISdpNodeContainer::SetNode and ISdpNodeContainer::AppendNode methods will fail.

Requirements

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

See Also

ISdpNodeContainer::AppendNode | ISdpNodeContainer::SetNode | ISdpNodeContainer

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.