L_DicomSetRequest

#include "ltdic.h"

L_LTDIC_API L_VOID L_DicomSetRequest(hPDU, bRequest)

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

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

LEADTOOLS DICOM C API Help