18.12.2012 Views

Configuration - Merge Healthcare

Configuration - Merge Healthcare

Configuration - Merge Healthcare

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Note also that MC_Set_Negotiation_Info may be used to set extended<br />

negotiation for all associations accepted with MC_Accept_Association. Any<br />

service with extended negotiation information in the association request will have<br />

the extended negotiation information registered in MC_Set_Negotiation_Info<br />

returned by MC_Accept_Association. Use of MC_Set_Negotiation_Info is<br />

deprecated.<br />

Use MC_Clear_Negotiation_Info to remove extended information registered<br />

using the MC_Set_Negotiation_Info function call.<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_INVALID_ASSOC_ID AssociationID is not a valid association<br />

identifier.<br />

MC_NULL_POINTER_PARM Either ServiceName or ExtInfoBuffer or<br />

ExtInfoLength was NULL.<br />

MC_UNKNOWN_SERVICE ServiceName was not registered in the<br />

<strong>Merge</strong> DICOM Toolkit configuration files.<br />

MC_EXT_INFO_UNAVAILABLE No extended negotiation information<br />

was received for ServiceName.<br />

See Also<br />

MC_Set_Negotiation_Info MC_Clear_Negotiation_Info<br />

MC_Set_Negotiation_Info_For_Association<br />

MC_Get_Next_Acceptable_Service<br />

Retrieves additional services that have been accepted over an association, after<br />

MC_Get_First_Acceptable_Service has been called to retrieve the first.<br />

Synopsis<br />

#include “mergecom.h”<br />

MC_STATUS MC_Get_Next_Acceptable_Service (<br />

int AssocID,<br />

ServiceInfo* AserviceInfo<br />

)<br />

AssocID The identifier assigned to this object by the<br />

MC_Open_Association, MC_Open_Secure_Association,<br />

MC_Process_Association_Request,<br />

MC_Process_Secure_Association_Request,<br />

MC_Wait_For_Association or<br />

MC_Wait_For_Secure_Association function.<br />

AserviceInfo A structure of type ServiceInfo you have declared that is filled<br />

with information about the accepted service. ServiceInfo is<br />

defined in mergecom.h as:<br />

101

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

Saved successfully!

Ooh no, something went wrong!