INtime SDK Help
INtime Help


This handler passes parameters from SetRtServiceAttributes. Implementation is optional, but if it is not implemented the kernel returns a status of E_NOT_CONFIGURED if SetRtServiceAttributes is called. If implementation is not required, the pSetAttributes field of the SERVICEDESC structure should be set to NULL.

The SERVICEATTRIBUTES structure is used to pass service-specific parameters and is implementer-defined after the first two fields. Note that values of the wOpCode field in the range 0x8000 to 0xFFFF are handled by the kernel and are never passed to the service.

The implementer must set the return exception code through pExcep before returning. The value returned is passed back to the caller.

void SetAttributes(
    LPSERVICEDESC pService, 
    LPWORD pExcep

Return Values

Return status code in pExcep.

See Also

RT Service handlers, SetRtServiceAttributes, SERVICEDESC, SERVICEATTRIBUTES