News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

RealDriveType

Started by Grincheux, September 06, 2005, 05:23:39 AM

Previous topic - Next topic

Grincheux

Where can I find the "RealDriveType" function. In the SDK it is located in the shlobj.h file, but in masm this one does not exist ?
Kenavo

Grincheux
_____________________________________________________
http://www.phrio.biz

Tedd

GetDriveType (in kernel32.inc) will give you the same effect.
In fact, I'm sure RealDriveType will actually just call this function anyway.
No snowflake in an avalanche feels responsible.

Grincheux

Thanks, I go to see.

But what about "IsNetDrive" ?

Kenavo

Grincheux
_____________________________________________________
http://www.phrio.biz

Tedd

Check the list of return values for GetDriveType - for network drives it returns DRIVE_REMOTE :wink
No snowflake in an avalanche feels responsible.

Grincheux

You are true but it does not indicate if the drive is connected.
Kenavo

Grincheux
_____________________________________________________
http://www.phrio.biz

MichaelW

GetProcedureAddress fails for "RealDriveType" even for version 5.00.3900.7032 of shell32.dll

According to this the function was documented as part of the December 2002 settlement:

http://members.ozemail.com.au/~geoffch/samples/win32/shell/shell32/functions/

There seems to be some agreement that the ordinal number is 524.
eschew obfuscation

Tedd

You'll know if it's connected or not when your try to access it?
No snowflake in an avalanche feels responsible.

farrier

It is a GOOD day to code!
Some assembly required!
ASM me!
With every mistake, we must surely be learning. (George...Bush)