Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C DLL Help

L_DicomSetAsyncOperations

Show in webframe

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSetAsyncOperations(hPDU, bEnabled, nInvoked, nPerformed)

HDICOMPDU hPDU;

/* a DICOM Associate handle */

L_BOOL bEnabled;

/* flag that indicates whether to enable Asynchronous Operations */

L_UINT16 nInvoked;

/* number of operations to invoke */

L_UINT16 nPerformed;

/* number of operations performed */

Enables or disables Asynchronous Operation support. It also sets the number of operations that can be invoked if enabled.

Parameter

Description

hPDU

A DICOM Associate handle.

bEnabled

Flag that indicates whether to enable or disable Asynchronous Operations. Possible values are:

 

Value

Meaning

 

TRUE

Enable Asynchronous Operations.

 

FALSE

Disable Asynchronous Operations.

nInvoked

The number of operations (messages) that can be sent without a response.

nPerformed

The number of Asynchronous Operations performed.

Returns

DICOM_SUCCESS

The function was successful.

>0

An error occurred. Refer to Return Codes.

Comments

If a DICOM Associate connection does not support Asynchronous Operations, then an Application Entity must wait for the response from one message before sending another. If Asynchronous Operations are supported, multiple messages may be sent without waiting for a response. The number of messages that may be sent is set using L_DicomSetAsyncOperations.

To determine the number of Asynchronous Operations that may be invoked without a response, call L_DicomGetInvokedOperations. To determine the number of operations that have been completed, call L_DicomGetPerformedOperations.

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, Linux.

See Also

Functions:

L_DicomIsAsyncOperations, L_DicomGetPerformedOperations, L_DicomGetInvokedOperations

Topics:

Working with DICOM Associate Connections

Example

For an example, refer to L_DicomIsAsyncOperations.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.