[PARTINFO][ARP]

Arch, manual define of UNICODE/_UNICODE is a call for trouble.

svn path=/trunk/; revision=69813
This commit is contained in:
Sylvain Petreolle
2015-11-04 21:19:45 +00:00
parent a25be55cc2
commit 7650763c97
3 changed files with 2 additions and 6 deletions
@@ -1,5 +1,5 @@
add_executable(arp arp.c arp.rc)
set_module_type(arp win32cui)
set_module_type(arp win32cui ANSI)
add_importlibs(arp iphlpapi ws2_32 shlwapi msvcrt kernel32)
add_cd_file(TARGET arp DESTINATION reactos/system32 FOR all)
@@ -39,9 +39,6 @@
#include <winsock2.h>
#include <iphlpapi.h>
#define UNICODE
#define _UNICODE
/*
* Globals
*/
@@ -10,7 +10,6 @@
//#define DUMP_DATA
#define DUMP_SIZE_INFO
#define UNICODE
#ifdef DUMP_DATA
void HexDump(char *buffer, ULONG size)
@@ -116,7 +115,7 @@ int main (int argc, char *argv[])
sprintf(DriveName, "\\\\.\\PHYSICALDRIVE%lu", ulDrive);
/* Open drive */
hDisk = CreateFile(DriveName,
hDisk = CreateFileA(DriveName,
GENERIC_READ,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,