From 3cd76b91b5790a1aae1a40d90a6b952334aee56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Fri, 6 Oct 2017 01:07:54 +0200 Subject: [PATCH] [INCLUDE]: ntddrdsk.h: Fix "__cplusplus" and the ramdisk GUID definitions. --- sdk/include/reactos/drivers/ntddrdsk.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sdk/include/reactos/drivers/ntddrdsk.h b/sdk/include/reactos/drivers/ntddrdsk.h index 8ae3731d31f..c0623db73e2 100644 --- a/sdk/include/reactos/drivers/ntddrdsk.h +++ b/sdk/include/reactos/drivers/ntddrdsk.h @@ -12,19 +12,21 @@ #pragma once #endif -#ifdef __cplusplus1 +#ifdef __cplusplus extern "C" { #endif // -// This guid identifies a RAM disk volume +// This guid identifies a RAM disk volume (RamdiskBootDiskGuid) +// {D9B257FC-684E-4DCB-AB79-03CFA2F6B750} // -DEFINE_GUID(RAMDISK_BOOTDISK_GUID, 0xd9b257fc, 0x684e, 0x4dcb, 0x79, 0xab, 0xf6, 0xa2, 0xcf, 0x03, 0x50, 0xb7); +DEFINE_GUID(RAMDISK_BOOTDISK_GUID, 0xD9B257FC, 0x684E, 0x4DCB, 0xAB, 0x79, 0x03, 0xCF, 0xA2, 0xF6, 0xB7, 0x50); // // This guid identifies a RAM disk bus +// {9D6D66A6-0B0C-4563-9077-A0E9A7955AE4} // -DEFINE_GUID(GUID_BUS_TYPE_RAMDISK, 0x9d6d66a6, 0x0b0c, 0x4563, 0x90, 0x77, 0xa0, 0xe9, 0xa7, 0x95, 0x5a, 0xe4); +DEFINE_GUID(GUID_BUS_TYPE_RAMDISK, 0x9D6D66A6, 0x0B0C, 0x4563, 0x90, 0x77, 0xA0, 0xE9, 0xA7, 0x95, 0x5A, 0xE4); // // Device Name - this string is the name of the device. It is the name