Provides a means for performing device-specific processing when the attchq kernel service is called.
|Passed to the creatd kernel service when the attach routine is defined.
|Specifies the path identifier for the queue being attached to.
Each device queue can have an attach routine. This routine is optional and must be specified when the creatd kernel service defines the device queue. The attchq service calls the attach routine each time a new path is created to the owning device queue. The processing performed by this routine is dependent on the server function.
The attach routine executes under the process under which the attchq kernel service is called. The kernel does not serialize the execution of this service with the execution of any other server routines.
The attach-device routine can be called from the process environment only.
|Indicates a successful completion.
|Indicates that resources such as pinned memory are unavailable.
|Indicates that the server already has the maximum number of users that it supports.
|Greater than or equal to RC_DEVICE
|Indicates device-specific errors.
The attach routine is part of the Device Queue Management kernel extension.