L_DicomSetFlags

Syntax

#include "ltdic.h"

L_LTDIC_API L_VOID L_DicomSetFlags(hNet, uDicomNetFlags)

Parameters

HDICOMNET hNet

A DICOM Network handle. This is the handle created by calling L_DicomCreateNet.

L_UINT32 uDicomNetFlags

Flags to set on the hNet. Possible values are:

Value Meaning
DICOMNET_FLAGS_NONE [0x0] No flags.
DICOMNET_FLAGS_SENDDATA_WITH_GROUP_LENGTH_STANDARD_DATA_ELEMENTS [0x1] If set, group length elements will be sent for standard data elements.

Returns

None.

Comments

Group Length (gggg,0000) Standard Data Elements have been retired.

The default behavior is to not include Group Length Standard Data Elements in DICOM communication.

Setting the DICOMNET_FLAGS_SENDDATA_WITH_GROUP_LENGTH_STANDARD_DATA_ELEMENTS flag will include Group Length Standard Data Elements in DICOM communication.

Note that Elements in groups 0, 2, 4 and 6 are not Standard Data Element, so for these groups, this does not apply.

For example, the CommandGroupLength element (0000,0000) is still required for these DIMSE commands:

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomGetFlags.

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 API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.