Click here to Skip to main content
15,906,567 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: usb communication Pin
Cedric Moonen13-May-08 23:52
Cedric Moonen13-May-08 23:52 
AnswerRe: usb communication Pin
fat_boy15-May-08 0:11
fat_boy15-May-08 0:11 
QuestionHow Can configure my simulated device as EpSon Stylus CX7300 Pin
XuanThinh TRAN12-May-08 21:50
XuanThinh TRAN12-May-08 21:50 
QuestionDevice Driver API's In Application code Pin
ForNow11-May-08 14:24
ForNow11-May-08 14:24 
AnswerRe: Device Driver API's In Application code Pin
Randor 11-May-08 16:13
professional Randor 11-May-08 16:13 
GeneralRe: Device Driver API's In Application code Pin
ForNow11-May-08 16:23
ForNow11-May-08 16:23 
GeneralRe: Device Driver API's In Application code Pin
ForNow11-May-08 16:53
ForNow11-May-08 16:53 
AnswerRe: Device Driver API's In Application code Pin
fat_boy12-May-08 0:32
fat_boy12-May-08 0:32 
Correct. You cant use it in user mode code.


Some kernel funcitons do map to user mode (CreateFile() maps to ZwCreateFile() for example) but, you still canot call them directly.

Same for Kernel mode, you cant call the Win32 API.

The ONLY way to cross the line from Kernel to User modes (the IO manager) is via CreateFile(), ReadFile() WriteFile() and DeviceIOControl().

Memory too is seperate. Kernel mode is the top 2 gig on a 32 bit processor, user mode is the bottom 2 gig.

You can under certain circumstances acess user mode memory from kernel mode (in IOP handler routines since the process is mapped in at that point) and there are tricks for sharing events (quite usefull).

Bu, to aid clarity, think of user and kernel modes as totally seperate.

Morality is indistinguishable from social proscription

GeneralRe: Device Driver API's In Application code Pin
ForNow12-May-08 2:54
ForNow12-May-08 2:54 
GeneralRe: Device Driver API's In Application code Pin
JudyL_MD12-May-08 3:00
JudyL_MD12-May-08 3:00 
GeneralRe: Device Driver API's In Application code Pin
ForNow12-May-08 6:07
ForNow12-May-08 6:07 
GeneralRe: Device Driver API's In Application code Pin
JudyL_MD12-May-08 6:58
JudyL_MD12-May-08 6:58 
GeneralRe: Device Driver API's In Application code Pin
ForNow12-May-08 12:55
ForNow12-May-08 12:55 
QuestionCurrent Stack Frame durning an APC type Call ??? Pin
ForNow7-May-08 22:33
ForNow7-May-08 22:33 
Question0xC0000005: Access Violation Pin
Bernaad7-May-08 20:31
Bernaad7-May-08 20:31 
AnswerRe: 0xC0000005: Access Violation Pin
Bernaad8-May-08 1:27
Bernaad8-May-08 1:27 
QuestionWriting a Kernel Driver Just for the Intelligence Pin
Baltoro4-May-08 12:21
Baltoro4-May-08 12:21 
AnswerRe: Writing a Kernel Driver Just for the Intelligence Pin
Randor 4-May-08 16:30
professional Randor 4-May-08 16:30 
GeneralRe: Writing a Kernel Driver Just for the Intelligence Pin
Baltoro5-May-08 5:50
Baltoro5-May-08 5:50 
AnswerRe: Writing a Kernel Driver Just for the Intelligence Pin
fat_boy6-May-08 6:41
fat_boy6-May-08 6:41 
GeneralRe: Writing a Kernel Driver Just for the Intelligence Pin
Baltoro8-May-08 6:32
Baltoro8-May-08 6:32 
QuestionDirect disk printer drivers Pin
Richard Blythe3-May-08 4:25
Richard Blythe3-May-08 4:25 
QuestionCan Windows XP 32bit access >2TB network share? Pin
daniilzol30-Apr-08 10:49
daniilzol30-Apr-08 10:49 
AnswerRe: Can Windows XP 32bit access >2TB network share? Pin
Mike Dimmick1-May-08 4:46
Mike Dimmick1-May-08 4:46 
GeneralRe: Can Windows XP 32bit access >2TB network share? Pin
daniilzol2-May-08 3:03
daniilzol2-May-08 3:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.