L_DicomResetAssociate

#include "ltdic.h"

L_LTDIC_API L_VOID L_DicomResetAssociate(hPDU, bRequest)

HDICOMPDU hPDU;

/* a DICOM Associate handle */

L_BOOL bRequest;

/* flag that indicates the type */

Removes all elements from the specified DICOM Associate and resets it to the specified type.

Parameter

Description

hPDU

A DICOM Associate handle.

bRequest

Flag that indicates the type of Associate to which the specified DICOM Associate should be reset. Possible values are:

 

Value

Meaning

 

TRUE

Reset the specified DICOM Associate to type Associate Request.

 

FALSE

Reset the specified DICOM Associate to type Associate Accept.

Returns

None.

Comments

For more information about the structure of a DICOM Associate, refer to LEADTOOLS DICOM Network Communication Support for Message Exchange.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

L_DicomCreateAssociate

Topics:

Working with DICOM Associate Connections

Example

For an example,refer to L_DicomCreateAssociate.