LDicomAssociate::Reset

Summary

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

Syntax

#include "ltdic.h"

L_VOID LDicomAssociate::Reset(bRequest)

Parameters

L_BOOL 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

Platforms

Win32, x64

See Also

Functions

Topics

Example

This example deletes all information in the Associate class.

L_INT LDicomAssociate_ResetExample(LDicomAssociate *pAssociate) 
{ 
   pAssociate->Reset(FALSE); 
 
   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++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.