LDicomAssociate::Reset

#include "ltdic.h"

L_VOID LDicomAssociate::Reset(bRequest)

L_BOOL bRequest;

/* flag that indicates the type */

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

Parameter

Description

bRequest

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

 

Value

Meaning

 

TRUE

Reset the DICOM Associate to type Associate Request.

 

FALSE

Reset the 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:

LDicomAssociate::LDicomAssociate

Topics:

Working with DICOM Associate Connections

Example

This example deletes all information in the Associate class.

L_INT LDicomAssociate_ResetExample(LDicomAssociate *pAssociate)
{
   pAssociate->Reset(FALSE);
   return DICOM_SUCCESS;
}