How to compare IOMedia->getName() return string with user input string in start () routine of driver
How to compare IOMedia->getName() return string with user input string in start () routine of driver
- Subject: How to compare IOMedia->getName() return string with user input string in start () routine of driver
- From: "Yogesh Pahilwan" <email@hidden>
- Date: Fri, 16 Feb 2007 11:08:57 +0530
Hi Folks,
I am working on the IOKit driver.
When I load my driver it will successfully expose new IOMedia object.
Now I want to compare this media object Name with the user specified name in
the start () routine of my driver.
For Ex:
If my IOMedia object returns me say "MyDriver" string after calling getName
() routine.
And if User specifies the same string "MyDriver", then how should I compare
these string in start () routine of my driver.
I am writing some specific logic which only gets executed if this
comparision is made successful.
Please give me some pointers, to solve this issue.
Thanks & Regards,
Yogesh Pahilwan
_______________________________________________
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