• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to compare IOMedia->getName() return string with user input string in start () routine of driver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to compare IOMedia->getName() return string with user input string in start () routine of driver
      • From: Michael Smith <email@hidden>
  • Prev by Date: Re: Darwin and Xen?
  • Next by Date: Re: Identifying local and network volumes
  • Previous by thread: Re: MT_HEADER mbufs and SO_NREAD interaction?
  • Next by thread: Re: How to compare IOMedia->getName() return string with user input string in start () routine of driver
  • Index(es):
    • Date
    • Thread