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

  • Home
  • SEARCH
  • 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 9074517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:39:12+00:00 2026-06-16T18:39:12+00:00

The MSDN page on FILE_OBJECT says: Note The type of object (for example, a

  • 0

The MSDN page on FILE_OBJECT says:

“Note The type of object (for example, a file, directory, or volume)
that a given file object represents cannot be determined by only
examining the contents of the file object structure. For information
about how to determine the type of object that a file object
represents, see ZwQueryInformationFile.”

I have two questions:

1, How to determine the object type through ZwQueryInformationFile?

2, Is DEVICE_TYPE, such as FILE_DEVICE_CD_ROM_FILE_SYSTEM, FILE_DEVICE_DISK_FILE_SYSTEM, FILE_DEVICE_FILE_SYSTEM, reliable to determine?

Thanks.

  • 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-16T18:39:13+00:00Added an answer on June 16, 2026 at 6:39 pm

    If you are implementing minifilter, may be you can use FltQueryInformationFile with FILE_INFORMATION_BASIC to get file attributes. Then check for FILE_ATTRIBUTE_DEVICE attribute.

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

Sidebar

Related Questions

In the comments of this page: http://msdn.microsoft.com/en-us/library/12s31dhy%28v=VS.90%29.aspx ..it says that TransmitFile() cannot be used
The MSDN page on CreateFile says: The string \\.\C:\ can be used to open
So I navigated to the following MSDN Resource Page that addresses how to use
As per the MSDN , the following characters cannot be part of the file
On this MSDN page it is stated that nested installations (also called concurrent installations)
At MSDN page for Stopwatch class I discovered link to interesting article which makes
The T-SQL MSDN page states The timestamp syntax is deprecated. This feature will be
I've taken code from the MSDN page on Matrix Filters and modified it slightly.
There's this ... MSDN page, IQueryable(Of T) Interface . Can you do a better
The internet resources seem few and far between and the best MSDN page (as

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.