Skip to content

Commit 04509d2

Browse files
committed
Update ntbcd.h
1 parent 215b433 commit 04509d2

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

phnt/include/ntbcd.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
#ifndef _NTBCD_H
2222
#define _NTBCD_H
2323

24-
#ifdef __cplusplus
25-
extern "C" {
26-
#endif
27-
2824
#ifndef PHNT_INLINE_BCD_GUIDS
2925
// 5189B25C-5558-4BF2-BCA4-289B11BD29E2 // {badmemory}
3026
GUID DECLSPEC_SELECTANY GUID_BAD_MEMORY_GROUP = { 0x5189B25C, 0x5558, 0x4BF2, { 0xBC, 0xA4, 0x28, 0x9B, 0x11, 0xBD, 0x29, 0xE2 } };
@@ -126,7 +122,7 @@ NTSYSAPI
126122
NTSTATUS
127123
NTAPI
128124
BcdGetSystemStorePath(
129-
_Out_ PWSTR* BcdSystemStorePath
125+
_Out_ PWSTR* BcdSystemStorePath // RtlFreeHeap(RtlProcessHeap(), 0, BcdSystemStorePath);
130126
);
131127

132128
NTSYSAPI
@@ -2113,8 +2109,4 @@ typedef enum _BcdOSLoaderElementTypes
21132109
BcdOSLoaderString_HypervisorDebuggerNetHostIpv6 = MAKE_BCDE_DATA_TYPE(BCD_ELEMENT_DATATYPE_CLASS_APPLICATION, BCD_ELEMENT_DATATYPE_FORMAT_STRING, 353),
21142110
} BcdOSLoaderElementTypes;
21152111

2116-
#ifdef __cplusplus
2117-
}
2118-
#endif
2119-
21202112
#endif

0 commit comments

Comments
 (0)