CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 1999
    Location
    Germany
    Posts
    16

    How to get the volume bitmap using Windows NT 4.0

    Hi!

    I'm looking for a function or a method to get the volume bitmap, which works under Windows NT 4.0.

    I used the function DeviceIoControl(...) by using the file system control code FSCTL_GET_VOLUME_BITMAP. But this works only with Windows 2000.

    Thanks a lot

    Bernhard


  2. #2
    Join Date
    May 2000
    Location
    Toronto, ON, Canada
    Posts
    3,573

    Re: How to get the volume bitmap using Windows NT 4.0

    Hi,

    What MSDN are u using? I use October 2000 and at Requirements sais:
    " Windows NT/2000: Requires Windows NT 3.1 or later.
    Windows 95/98: Requires Windows 95 or later.
    Header: Declared in Winbase.h; include Windows.h.
    Library: Use Kernel32.lib."

    HTH

    Regards,
    Emi.
    Regards,

    Emanuel Vaduva

  3. #3
    Join Date
    May 1999
    Location
    Germany
    Posts
    16

    Re: How to get the volume bitmap using Windows NT 4.0

    Hi Emi!

    I use MSDN October 2000 too, but the only information I found, was that FSCTL_GET_VOLUME_BITMAP requires Windows 2000. If you open Winioctl.h, most FSCTL_... are only used, if _WIN32_WINNT >= 0x0400 or _WIN32_WINNT >= 0x0500 is defined.
    I tested FSCTL_GET_VOLUME_BITMAP under NT 4.0. I defined _WIN32_WINNT 0x0400 by myself, but GetLastError() sais that it is an incorrect function.

    Don't you have a solution for my problem???

    Best regards

    Bernhard


  4. #4
    Join Date
    May 2000
    Location
    Toronto, ON, Canada
    Posts
    3,573

    Re: How to get the volume bitmap using Windows NT 4.0

    Hi,

    Sorry, u are right. I don't have, for the moment, a solution. I'll look and if I found something I'll let u know.

    Regards,
    Emi.
    Regards,

    Emanuel Vaduva

  5. #5
    Join Date
    May 2009
    Posts
    1

    Re: How to get the volume bitmap using Windows NT 4.0

    Can u find out any useful working sample code for the FSCTL_GET_VOLUME_BITMAP with DeviceIoControl api....?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured