Re: Serial ID from Win32
- Posted by Ck Lester <cklester at YAHOO.COM> Dec 04, 2000
- 475 views
Brian, Yes, Volume Serial Number. Since I have no idea how to wrap a DLL function, I'll need an existing function from an existing library... If you can provide some code I can just plug into my app, please do! Thanks! ck P.S. I've got a VBA version if that would help. On Mon, 4 Dec 2000 14:54:43 -0500, Brian Broker <bkb at CNW.COM> wrote: >On Mon, 4 Dec 2000 13:46:26 -0500, Ck Lester wrote: > >>I can get a disk serial ID from DOS, but how would I do that using a Win32 >>function? (The DOS library uses allocate_low(), which isn't allowed in the >>Win32 environment!) >> >>Thanks! >><\< > > >Are you referring to a 'Volume Serial Number'? If so, then you'll want to >use 'GetVolumeInformation' in 'kernel32.dll'. I don't know if there is an >existing library that already has this function wrapped. Let me know if >you need any assistance in using it. > >-- Brian