Will work fine under 98/ME.
For NT, you need the desktop update.
R=E9jean Caron - xxxxx@motus.com
Motus Technologies inc.
=
=20
xxxxx@vogon.de =
=20
Envoy=E9 par : Pour : “File System=
s Developers” =
=20
xxxxx@lis cc : =
=
=20
ts.osr.com Objet : [ntfsd] R=
e: IRP_MJ_DIRECTORY_CONTROL =
=20
=
=
=20
=
=
=20
2002-02-04 08:29 =
=
=20
Veuillez r=E9pondre =E0 =
=
=20
“File Systems =
=
=20
Developers” =
=
=20
=
=
=20
=
=
=20
Depending on what Windows version your drive icons shall appear, there =
may
be a simple solution:
sprintf( buf,
“Applications\explorer.exe\Drives\%c\DefaultIcon”, drives[n] );
val=3DRegCreateKeyEx( HKEY_CLASSES_ROOT, buf,
0, NULL, REG_OPTION_VOLATILE, KEY_READ|KEY_WRITE, NULL,
&result, NULL );
sprintf( buf, “%s,%d”, _pgmptr, Value );
val=3DRegSetValueEx( result, NULL, 0, REG_SZ, (const unsigned=
char
)buf, strlen(buf) );
RegCloseKey( result );
drives[n] is a drive letter, _pgmptr is the full pathname to my control=
application, Value is the number of a resource inside my app (Resource
“Icon”, with two different sizes, 16x16 and 32x32).
Works with Windows 2000; does NOT work under Windows NT. Win9: don’t
know.
Cheers,
Michael B.
“Chtchetkine, Vladimir” @lists.osr.c=
om
on 25/01/2002 22:32:32
Please respond to “File Systems Developers”
Sent by: xxxxx@lists.osr.com
To: “File Systems Developers”
cc:
Subject: [ntfsd] Re: IRP_MJ_DIRECTORY_CONTROL
Max:
I don’t know how ShellEx can change a disk icon. If you can point me on=
some info I would highly appreciate this!
Regards,
Vladimir
-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Friday, January 25, 2002 1:00 PM
To: File Systems Developers
Subject: [ntfsd] Re: IRP_MJ_DIRECTORY_CONTROL
>Basically, what we have to do is to change the icon of our virtual
volumes,
Write a COM shell extension.
=A0=A0=A0 Max
—
You are currently subscribed to ntfsd as: xxxxx@Starbase=
.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@vogon.de
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@motus.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
=
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com