SetStreamIsActive
Sets a Boolean value that indicates whether the stream is active and doing I/O.
Declaration
kern_return_t SetStreamIsActive(bool in_is_active);Parameters
- in_is_active:
trueif the stream is enabled and performing I/O; otherwise,false.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.
Discussion
If successful, changing the stream’s activity state sends a notification to the host to update the object state.
This method synchronizes by using the work queue created by the object.