LDicomAssociate::SetApplication
#include "ltdic.h"
L_INT LDicomAssociate::SetApplication(pszUID)
L_CHAR * pszUID; |
/* Application Context to set */ |
Sets the Application Context of the DICOM Associate.
Parameter |
Description |
pszUID |
Character string that contains the new Application Context to set. This parameter cannot exceed PDU_MAX_UID_SIZE + 1, including the null character at the end. |
Returns
0 |
SUCCESS |
>0 |
An error occurred. Refer to Return Codes. |
Comments
The default value for the Application Context is "1.2.840.10008.3.1.1.1" (UID_APPLICATION_CONTEXT_NAME).
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 |
See Also
Functions: |
|
Topics: |
Example
For an example, refer to LDicomAssociate::GetApplication.