--- q_a/samples/drives/drives.c 2018/08/09 18:29:19 1.1.1.1 +++ q_a/samples/drives/drives.c 2018/08/09 18:29:54 1.1.1.2 @@ -1,3 +1,14 @@ + +/******************************************************************************\ +* This is a part of the Microsoft Source Code Samples. +* Copyright (C) 1993 Microsoft Corporation. +* All rights reserved. +* This source code is only intended as a supplement to +* Microsoft Development Tools and/or WinHelp documentation. +* See these sources for detailed information regarding the +* Microsoft samples programs. +\******************************************************************************/ + /**************************************************************************** * * PROGRAM: DRIVES.C @@ -96,9 +107,10 @@ VOID GVI(LPTSTR lpszDriveName,LPTSTR lps { BOOL bRC; + lstrcpy( lpszSystemName, "Unknown Media Type" ); bRC=GetVolumeInformation(lpszDriveName, NULL, - NULL, + 0, NULL, NULL, NULL,