Announcement

Collapse
No announcement yet.

Disk ID

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Richard Angell
    replied
    In Peter's program, the WINMAIN function will need to have an added BYVAL in tthe parameters here:
    FUNCTION WINMAIN ... BYVAL CmdLine AS ASCIIZ PTR, ...

    Then it should compile and run in the current compilers.

    Leave a comment:


  • Pierre Bellisle
    replied
    Hey Bob,

    This may help... Peter Lameijn - Disk info
    Last edited by Pierre Bellisle; 28 Oct 2007, 11:54 AM.

    Leave a comment:


  • Michael Mattias
    replied
    FWIW, searching win32API.INC will RARELY tell you how to get some piece of information.. it will tell you how to call the WinAPI function designed to do so - assuming you already know the name of that function.

    Searching Google(r) will generally be more productive than searching any of the Windows' header files.

    If you don't have a WinAPI reference, you can use the online version for free. You can start at http://msdn.microsoft.com/library/default.asp

    Leave a comment:


  • Michael Mattias
    replied
    Given what, wanting what?

    Given a not-fully-qualified file name, get the drive letter whereon it resides?

    Given a drive letter, get the [computername\\]volume name?

    Given a computer name, find all drive letters available?

    Leave a comment:


  • Robert LaBudde
    started a topic Disk ID

    Disk ID

    Is there standard syntax for recovering a drive ID from Windows?

    Searching Win32API.inc has been unproductive so far.

    Thanks.
Working...
X