Click here to Skip to main content
15,915,324 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: Monitor screen become yellow Pin
Mekong River24-Dec-08 2:45
Mekong River24-Dec-08 2:45 
GeneralRe: Monitor screen become yellow Pin
Dave Kreskowiak24-Dec-08 17:53
mveDave Kreskowiak24-Dec-08 17:53 
AnswerRe: Monitor screen become yellow Pin
Fahad Sadah26-Dec-08 21:16
Fahad Sadah26-Dec-08 21:16 
AnswerRe: Monitor screen become yellow Pin
Michael Dunn2-Jan-09 14:20
sitebuilderMichael Dunn2-Jan-09 14:20 
AnswerRe: Monitor screen become yellow Pin
Bharat Jain5-Jan-09 21:32
Bharat Jain5-Jan-09 21:32 
QuestionSend Buffer from driver to Application Pin
dereck78_zg17-Dec-08 22:15
dereck78_zg17-Dec-08 22:15 
AnswerRe: Send Buffer from driver to Application Pin
fat_boy19-Dec-08 21:32
fat_boy19-Dec-08 21:32 
AnswerRe: Send Buffer from driver to Application Pin
Randor 20-Dec-08 11:01
professional Randor 20-Dec-08 11:01 
dereck78_zg wrote:
but it's possible to send something that driver reads without deviceiocontrol?


Yes, it is possible but why would you want to do that? You could probably use named memory objects for both the locks and the shared memory. It would work something like this.

1.) Usermode application uses CreateFileMapping[^]/OpenFileMapping [^]and creates/opens the named section and writes its data.


2.) Driver uses ZwOpenSection/ZwMapViewOfSection to open the named section. The driver would probe/lock the buffer and use MmGetSystemAddressForMdlSafe[^] to obtain the address and read the shared memory.


I left out the most difficult part locks/synchronization and signalization. This method has alot of problems at a raised IRQL, your better off using an IOCTL with METHOD_IN_DIRECT/METHOD_OUT_DIRECT.

Here are some guidelines to follow for ring3/ring0 interactions.

User-Mode Interactions: Guidelines for Kernel-Mode Drivers[^]

Best Wishes,
-David Delaune
AnswerRe: Send Buffer from driver to Application Pin
fat_boy21-Dec-08 21:15
fat_boy21-Dec-08 21:15 
QuestionEncryption and Decryption in Minifilter Driver Pin
noobDriverDev17-Dec-08 14:39
noobDriverDev17-Dec-08 14:39 
AnswerRe: Encryption and Decryption in Minifilter Driver Pin
Randor 19-Dec-08 8:18
professional Randor 19-Dec-08 8:18 
AnswerRe: Encryption and Decryption in Minifilter Driver Pin
Vinamrata21-Dec-08 23:12
Vinamrata21-Dec-08 23:12 
QuestionPrinter driver querry Pin
Deepu Antony17-Dec-08 2:42
Deepu Antony17-Dec-08 2:42 
QuestionUMDF USB driver: application stream into USB frames Pin
Dee Veloper15-Dec-08 22:13
Dee Veloper15-Dec-08 22:13 
AnswerRe: UMDF USB driver: application stream into USB frames Pin
fat_boy19-Dec-08 21:45
fat_boy19-Dec-08 21:45 
QuestionHardware requirement? Pin
dec8211-Dec-08 14:16
dec8211-Dec-08 14:16 
AnswerRe: Hardware requirement? Pin
Dave Kreskowiak11-Dec-08 15:51
mveDave Kreskowiak11-Dec-08 15:51 
GeneralRe: Hardware requirement? Pin
dec8211-Dec-08 18:21
dec8211-Dec-08 18:21 
GeneralRe: Hardware requirement? Pin
Dave Kreskowiak11-Dec-08 21:25
mveDave Kreskowiak11-Dec-08 21:25 
GeneralRe: Hardware requirement? Pin
sajjy22-Dec-08 8:55
sajjy22-Dec-08 8:55 
QuestionCommunication between Driver an aplplication Pin
dereck78_zg11-Dec-08 3:05
dereck78_zg11-Dec-08 3:05 
QuestionArtificially creating a plug and play instance of a printer Pin
ArjunMK10-Dec-08 8:39
ArjunMK10-Dec-08 8:39 
AnswerRe: Artificially creating a plug and play instance of a printer Pin
Dave Kreskowiak11-Dec-08 15:50
mveDave Kreskowiak11-Dec-08 15:50 
GeneralRe: Artificially creating a plug and play instance of a printer Pin
ArjunMK14-Dec-08 5:54
ArjunMK14-Dec-08 5:54 
GeneralRe: Artificially creating a plug and play instance of a printer Pin
ArjunMK23-Dec-08 8:41
ArjunMK23-Dec-08 8:41 

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.