18.12.2012 Views

Configuration - Merge Healthcare

Configuration - Merge Healthcare

Configuration - Merge Healthcare

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Merge</strong> DICOM Toolkit Reference Manual<br />

16<br />

Remarks<br />

MC_Abort_Association abruptly terminates the DICOM association. In effect,<br />

this function is used to tell the remote system that the association is no longer<br />

valid.<br />

It is the responsibility of the requester of an association (client) to close a DICOM<br />

association. If a service provider (server) cannot proceed with the association it<br />

should use MC_Abort_Association to terminate the association. The service<br />

user (client) uses MC_Close_Association for normal association completion, or<br />

MC_Abort_Association if an error situation occurs.<br />

Return Value<br />

One of the enumerated MC_STATUS codes defined in “mcstatus.h”:<br />

Value Meaning<br />

MC_NORMAL_COMPLETION The function completed normally.<br />

MC_NULL_POINTER_PARM The AssociationID parameter was<br />

NULL.<br />

MC_INVALID_ASSOC_ID *AssociationID is not a valid association<br />

object ID.<br />

MC_LIBRARY_NOT_INITIALIZED The library has not been properly<br />

initialized.<br />

See Also<br />

MC_Close_Association<br />

MC_Open_Association<br />

MC_Open_Secure_Association<br />

MC_Wait_For_Association<br />

MC_Wait_For_Secure_Association<br />

MC_Accept_Association<br />

MC_Accept_Association_With_Identity<br />

Accept a remote application’s request for a DICOM association.<br />

Synopsis<br />

#include “mergecom.h”<br />

MC_STATUS MC_Accept_Association (<br />

int AssociationID<br />

)<br />

MC_STATUS MC_Accept_Association_With_Identity (<br />

int AssociationID,<br />

void* ServerResponse,<br />

unsigned short ServerResponseLength<br />

)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!