You will get DLL and static LIB version.
If you use C/C++ you can use static library and/or
DLL version if you like.
DLL version can be used from any programmer tool including
C/C++, Delphi, VB, XBASE++, FOX...
Using this library is simple. There is
only ONE function.
Here is C declaration:
BOOL asHDid(int
nHd, int nSn, LPSTR cBuffer);
nHD is number in range
0 to 3 (0 is first master IDE drive)
nSn is number 1,2 or 3 (1 mean you
want model, 2 you want
serial number, 3 you want revision number)
cBuffer is pointer where to put information
you request. Size of this string buffer must be at least 41 bytes including
terminating zero.
IMPORTANT
We don't check buffer size.
Only IDE disks are supported.
In buffer you will get C string. If you get empty string that means we
don't find that drive in the system, you must check parameters.
If you use this library with VB
declare it by
Private Declare Function asHDid
Lib "ashdget" _
(ByVal n as Integer, ByVal s as Integer, ByVal b as Long)
b is pointer to array of bytes
If you use this library with XBASE++
DLLFUNCTION asHDid( n_hd, n_ser, @ buffer) USING
STDCALL FROM ASFAN.DLL
THAT IS ALL YOU NEED TO KNOW
This will work under new versions of Windows
like NT/2000/XP and you don't need to have administrative rights.
Library
is small and you can get DEMO version
to try, but you will get ONLY FIRST 5 CHARACTERS
for serial and revision number.
For model you will get FULL ID.
Test it, but if you want to
use it in your applications, you need to bye it.
download DEMO now to try
PRICE IS ONLY 15$
for static and DLL version.
We deliver both versions in one package.
Use what you want or can.

buy now
dll version
ashdget.h
ashdget.lib (2 Kb)
ashdget.dll (28 Kb)
static
LIB version for VC 6.0
ashdgets.h
ashdgets.lib (4 Kb)
If you need HDD data, you will get it.
100% safe and fast
|