Oct 2, 2003 #1 labnotes Technical User Joined Sep 1, 2003 Messages 33 Location CA When I access a drive using C or C++ on a windows machine can I determine if it is a local or network drive? If so how. Thanks and have a great day
When I access a drive using C or C++ on a windows machine can I determine if it is a local or network drive? If so how. Thanks and have a great day
Oct 2, 2003 #2 Kalisto Programmer Joined Feb 18, 2003 Messages 997 Location GB Use UINT GetDriveType( LPCTSTR lpRootPathName ); Network Drive is a return value of "DRIVE_REMOTE". Other return values are listed, check in the online help for your specifics. hth, K Upvote 0 Downvote
Use UINT GetDriveType( LPCTSTR lpRootPathName ); Network Drive is a return value of "DRIVE_REMOTE". Other return values are listed, check in the online help for your specifics. hth, K