L_DicomSetRequest

Summary

Sets the type of DICOM Associate (Request or Accept).

Syntax

#include "ltdic.h"

L_LTDIC_API L_VOID L_DicomSetRequest(hPDU, bRequest)

Parameters

HDICOMPDU hPDU

A DICOM Associate handle.

L_BOOL bRequest

Flag that indicates the type of DICOM Associate to set. Possible values are:

Value Meaning
TRUE Sets the DICOM Associate to Associate Request.
FALSE Sets the DICOM Associate to Associate Accept.

Returns

None.

Comments

For more information about Associate Connections, refer to Creating a DICOM Associate Connection.

To determine what of Associate a specific DICOM Associate is, use L_DicomIsRequest.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

This example sets the type of an Associate class

L_INT DicomSetRequestExample(HDICOMPDU hPDU) 
{ 
   L_DicomSetRequest(hPDU, TRUE); 
   return DICOM_SUCCESS; 
} 

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.