device handle

  • Follow


this is for standard intel assembly language

can anyone tell me what interrupt/service call i can use to get the
device handle?

note:  this is the DEVICE HANDLE,  not a file handle .  (e.g., the
handle for the C: drive, not for any particular file)

tia

0
Reply spamtrap2 (1628) 5/1/2007 11:23:45 PM

milhous451  <spamtrap@crayne.org> wrote:
>
>this is for standard intel assembly language

No, it's not.  It's for an operating system, but you don't specify which
one.

>can anyone tell me what interrupt/service call i can use to get the
>device handle?
>
>note:  this is the DEVICE HANDLE,  not a file handle .  (e.g., the
>handle for the C: drive, not for any particular file)

What do you mean by "handle for the C: drive"?  What do you plan to do with
this handle?  And in which operating system?  The BIOS, which is what
interrupts call, doesn't have the concept of "device handles".
-- 
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

0
Reply Tim 5/2/2007 5:08:37 AM


On May 2, 1:23 am, milhous451  <spamt...@crayne.org> wrote:
> this is for standard intel assembly language
>
> can anyone tell me what interrupt/service call i can use to get the
> device handle?
>
> note:  this is the DEVICE HANDLE,  not a file handle .  (e.g., the
> handle for the C: drive, not for any particular file)
>
> tia

If you are using windows, try CreateFile API.

--------------------------------------------
Generic Window Handler - www.beotel.net/~gwh

0
Reply aleksa 5/3/2007 12:33:20 PM

2 Replies
402 Views

(page loaded in 0.038 seconds)

Similiar Articles:













7/23/2012 4:39:02 PM


Reply: