mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
MAX_PATH is neither defined by ntddk.h nor by crt headers, use _MAX_PATH instead
svn path=/trunk/; revision=38031
This commit is contained in:
parent
3858e67cb6
commit
076f1a2735
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ NTSTATUS ExtractFont(UINT32 CodePage, PUCHAR FontBitField)
|
|||
CFFILE CabFile;
|
||||
ULONG CabFileOffset = 0;
|
||||
LARGE_INTEGER ByteOffset;
|
||||
WCHAR SourceBuffer[MAX_PATH] = {L'\0'};
|
||||
WCHAR SourceBuffer[_MAX_PATH] = {L'\0'};
|
||||
|
||||
if(KeGetCurrentIrql() != PASSIVE_LEVEL)
|
||||
return STATUS_INVALID_DEVICE_STATE;
|
||||
|
@ -90,7 +90,7 @@ NTSTATUS ExtractFont(UINT32 CodePage, PUCHAR FontBitField)
|
|||
return(Status);
|
||||
|
||||
SourceName.Length = 0;
|
||||
SourceName.MaximumLength = MAX_PATH * sizeof(WCHAR);
|
||||
SourceName.MaximumLength = _MAX_PATH * sizeof(WCHAR);
|
||||
SourceName.Buffer = SourceBuffer;
|
||||
|
||||
Status = ZwQuerySymbolicLinkObject(Handle,
|
||||
|
|
Loading…
Reference in a new issue