Re: Writing to disk using filter scheme driver
Re: Writing to disk using filter scheme driver
- Subject: Re: Writing to disk using filter scheme driver
- From: Parav Pandit <email@hidden>
- Date: Wed, 30 Mar 2005 18:23:16 +0100 (BST)
Hi Yogesh,
> retWrite = mem->prepare();
> if(kIOReturnSuccess == retWrite){
> retWrite = fProvider->myDoWrite(mem,Size); //when i
> call this driver function it gives me the error as IOService::fProvider
> has no function myDoWrite.
> }
Looking at your code, looks to me that you have taken SimpleUserClient sample code.
and you must be gettting compile/link time error - has no function myDoWrite.
is that correct?
Reason I saw is: fProvider type should be define as your driver type and not of the type IOService.
or if it is of type IOService, type cast the fPrvodier pointer at the time of calling myDoWrite.
Yahoo! India Matrimony: Find your life partner
online.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden