BEFORESENDCOMMANDSET

Summary

Notifies a connection before the Command Set portion of a DIMSE L_DicomSendXXXResponse is transmitted.

Syntax

#include "ltdic.h"

L_VOID pEXT_CALLBACK YourFunction (hNet, hCS, pUserData)

Parameters

HDICOMNET hNet

A DICOM Network handle.

HDICOMDS hCS

An HDICOMDS containing the Command Set portion of a DIMSE L_DicomSendXXXResponse message.

L_VOID *pUserData

Void pointer to be used to access a variable or structure containing data that the callback requires. This gives a way to receive data indirectly from the function that fires this callback.

Keep in mind that this is a void pointer, which must be cast to the appropriate data type within the callback.

Returns

None.

Comments

A call to this function is generated in each of the following functions before the Command Set portion is sent:

This allows an SCP to add/remove DICOM elements to the Command Set cs prior to transmission.

This is useful for adding optional status elements for providing additional status information including:

To use this callback function, BEFORESENDCOMMANDSET must be set using L_DicomSetCallbackExt.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.