ReactOS 0.4.16-dev-963-g182f353
drivemap.cpp
Go to the documentation of this file.
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}
#define __cdecl
Definition: accygwin.h:79
unsigned long __cdecl _getdrives()
Definition: drivemap.cpp:28
DWORD WINAPI GetLogicalDrives(void)
Definition: disk.c:110