Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8831087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:14:04+00:00 2026-06-14T08:14:04+00:00

In Linux we can read/write from an associated driver file object and those function

  • 0

In Linux we can read/write from an associated driver file object and those function calls would be carried by the driver read/write functions. Is it the same in Windows?

Do we associate a file to the driver and access the driver functions by reading/writing to this file?

(I’ve been programming drivers under Linux and now am trying to understand “the Windows way” to do it.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:14:05+00:00Added an answer on June 14, 2026 at 8:14 am

    Device drivers on Windows do not work in the same way that drivers do on Linux. For a quick introduction to the overall structure of Windows drivers you can check MSDN. There are several classes of drivers but they are not tied to the VFS as in Linux, instead they are represented as nodes in a tree of devices

    From MSDN the purpose of the DriverEntry procedure is this:

    The DriverObject parameter supplies the DriverEntry routine with a pointer to the driver’s driver
    object, which is allocated by the I/O manager. The DriverEntry routine must fill in the driver
    object with entry points for the driver’s standard routines.

    This means that the I/O manager will call the procedure and you fill out the structure with pointers to the procedures that your driver implememnts. You can create individual device objects with IoCreateDevice and store them in your DRIVER_OBJECT structure.

    To create a block device style device I believe you want to create a FILE_DEVICE_DISK type device.

    There is a series of driver creation tutorials by Microsoft, the second one might be a good place to start.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a standard Linux command i can use to read a file chunk
Can sendfile() linux syscall be used to send part of file from one mmaped
I would like to write something to a file (a result obtained from GNUPG)
Several articles show how to read data from a linux /proc/xxx file, such as:
How can I read from standard input and write to standard output. System.Diagnostics.Process.StandardInput's MSDN
I am using the cstdio (stdio.h) to read and write data from binary files.
I have set of data point (x_i,y_i) from a text file. How can I
I am trying to organize nob-blocking read-write functionality with serial port in Linux. Here
I need raw read data from and write data into drive..not via existed filesystem
I am trying to understand the Linux driver source code associated with Wi-Fi cards

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.