Reactos
at master 31 lines 607 B view raw
1/*** 2*drivemap.c - _getdrives 3* 4* Copyright (c) Microsoft Corporation. All rights reserved. 5* 6*Purpose: 7* defines _getdrives() 8* 9*******************************************************************************/ 10 11#include <corecrt_internal.h> 12#include <direct.h> 13 14/*** 15*void _getdrivemap(void) - Get bit map of all available drives 16* 17*Purpose: 18* 19*Entry: 20* 21*Exit: 22* drive map with drive A in bit 0, B in 1, etc. 23* 24*Exceptions: 25* 26*******************************************************************************/ 27 28extern "C" unsigned long __cdecl _getdrives() 29{ 30 return GetLogicalDrives(); 31}