Available in LEADTOOLS Medical Imaging toolkits. |
L_DicomSetImplementClass
#include "ltdic.h"
L_LTDIC_API L_INT L_DicomSetImplementClass(hPDU, bEnabled, pszUID)
HDICOMPDU hPDU; |
/* a DICOM Associate handle */ |
L_BOOL bEnabled; |
/* flag that indicates whether to enable setting the implementation class */ |
L_TCHAR * pszUID; |
/* new implementation class */ |
Enables or disables setting the Implementation Class. It also sets the Implementation Class if enabled.
Parameter |
Description |
|
hPDU |
A DICOM Associate handle. |
|
bEnabled |
Flag that indicates whether to enable or disable setting the Implementation Class. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Enable setting the Implementation Class. |
|
FALSE |
Disable setting the Implementation Class. |
pszUID |
Character string that contains the new name for the Implementation Class. 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
If setting the Implementation Class is enabled, you can get the name of the Implementation Class by calling L_DicomGetImplementClass.
To determine whether the Implementation Class can be set, call L_DicomIsImplementClass.
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 |
Win32, x64
See Also
Functions: |
|
Topics: |
Example
For an example, refer to L_DicomIsImplementClass.