LDicomNet::EnableOptimizedMemorySend

Summary

Enables or disables optimized memory sending.

Syntax

#include "ltdic.h"

L_VOID LDicomNet::EnableOptimizedMemorySend(bEnable)

Parameters

L_BOOL bEnable

Flag that enables or disables optimized memory sending. Possible values are:

Value Meaning
L_TRUE Enables optimized memory sending.
L_FALSE Disables optimized memory sending.

Returns

Value Meaning
0 SUCCESS
<> 0 An error occurred. Refer to Return Codes.

Comments

When sending a huge file to a server, the toolkit might allocate big memory buffers, call this function to optimize the memory usage to minimum possible. However, security mode should be set to DICOM_SECURE_NONE for this option to work.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::SendCStoreRequest.

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

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.