On Friday, December 13, 2002, at 05:36 PM, Amanda Walker wrote: On 12/13/02 3:35 PM, Michael George <george@auroravideosys.com> wrote: too large (somewhere between 1Kb (which succeeded) and 512Kb (which failed)) I get 0xfffffecd as the result. It doesn't matter what size I really pass when I make the IOConnectMethod*() call. Needless to say, 0xffffffff is much bigger than .5Mb... It also seems that if the size for a structure I send in the IOConnectMethod*() calls isn't the same as the size declared in getTargetAndMethodForIndex(), then I get 0xe00002c2 (bad argument) back. Well, I have a kext, all of whose user client methods have 0xffffffff as the length for structure arguments, and all of whose methods work fine with variably-sized buffers under both 10.1.x and 10.2.x. Now, in my case the buffers are small (in the realm of "no more than a few K at a time", so there may well be static limits that I am not running into. The io_struct_inband_t MIG type is declared to be "up to 4K" in the device (IOKit) MIG interface definitions. --Jim _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.