Allows the caller to specify parameters of the service. The parameters are service-specific, and multiple parameter sets may be supported, switched by the wOpCode field of the SERVICEATTRIBUTES structure.
NTXSTATUS ntxSetRtServiceAttributes(
    RTHANDLE hPort, 
    LPSERVICEATTRIBUTES lpAttributes
);
hPort 
lpAttributes 
E_OK 
E_OK 0x0000 
E_EXIST 0x0006 
E_NOT_CONFIGURED 0x0008 
E_PARAM 0x8004 
wOpCode field in the SERVICEATTRIBUTES structure contains an invalid value.E_TYPE 0x8002 
E_NUC_BAD_BUF 0x80e2 
E_LOCATION 
E_NTX_INTERNAL_ERROR 
Note: Other status values may be generated by the service-specific SetAttributes handler.
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/nt/include/ntx.h | ntx.h | ntx.lib | 
| INtime 4.01 (for 64-bit Windows) | intime/nt/include/ntx.h | ntx.h | ntx64.lib | 
Port system calls, SERVICEATTRIBUTES, SetAttributes, GetAttributes