home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / win32 / 2033 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  721 b 

  1. Path: sparky!uunet!portal!nntp1.radiomail.net!cronos!Metaphor.COM!navare
  2. From: navare@Metaphor.COM (Prashant Navare)
  3. Newsgroups: comp.os.ms-windows.programmer.win32
  4. Subject: Device Handles
  5. Message-ID: <2636@cronos.metaphor.com>
  6. Date: 18 Nov 92 17:34:54 GMT
  7. Sender: news@cronos.metaphor.com
  8. Reply-To: navare@Metaphor.COM (Prashant Navare)
  9. Organization: m4
  10. Lines: 14
  11.  
  12. Hi
  13.  
  14. How does one get an handle to a device? Using OpenFile?
  15.  
  16. A device driver must create a device object (by calling IoCreateDevice) so that 
  17. it can accept DeviceIoControl calls. The name it specifies while creating the
  18. device object is UNICODE. OpenFile accepts only Win3.1 compatible names. Is that
  19. a problem?
  20.  
  21. Thanks for any replies.....
  22.  
  23.  
  24. --Prashant
  25.  
  26.