troubleshooting Question

How to identify user selected is a drive or folder or a short cut

Avatar of HPFE455
HPFE455Flag for United States of America asked on
C++Windows OS
8 Comments1 Solution399 ViewsLast Modified:
I have a requirement, if the user selected (using mouse or keybroard or right mouse clicking) is a drive or short cut etc.

If the user selected is "C:\" or "D:\" etc (just a drive),  the application need to behave in a different way. Similar way for short cut also..

Is there any windows API which identify the user selected  type. ( similar to GetDriveType)
Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros