L_TwainUnlockContainer

Summary

Unlocks the container present in the TW_CAPABILITY structure.

Syntax

#include "lttwn.h"

L_LTTWN_API L_INT L_TwainUnlockContainer (pCapability)

Parameters

TW_CAPABILITY * pCapability

Pointer to a TW_CAPABILITY structure that contains the information to set.

Returns

Value Meaning
SUCCESS The function was successful.
! = SUCCESS An error occurred. Refer to Return Codes.

Comments

This function is used to unlock the container present in the TW_CAPABILITY structure.

To access the container so that it may be modified, call L_TwainLockContainer. This function provides the user with a pointer to the container. At this point the container may be changed. When the user has finished changing the container the user must call L_TwainUnlockContainer to unlock the container. Note that this can also be accomplished using the C API GlobalLock and GlobalUnlock functions.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_TwainLockContainer.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS TWAIN C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.