Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Behaviour of IOConnectMethodStructureIStructureO



I searched through the Darwin code, but couldn't find the answer to this
question. If you make an IOConnectMethodStructureIStructureO call from user
land, does the system not update the StructureO in user land if the call
returns with an error? I was trying to return some secondary status in the
StructureO structure if the called failed in the driver, but even though I
could update the field value in the StructureO structure at the kernel level
(and saw it change with an IOLog), if I returned from the kernel with
anything other than kIOReturnSuccess then the field that I updated would not
reflect the change that I made in the kernel back in user land. Is this by
design?

Thanks,
Rob
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.