Kernel32's GetDateFormatEx and related constant definitions are missing.
Original Reporter info from Mantis: 440bx @440bx
-
Reporter name:
Original Reporter info from Mantis: 440bx @440bx
- Reporter name:
Description:
The missing constants and definition are: (tested in both 32 and 64bit)
const
LOCALE_NAME_USER_DEFAULT : pwidechar = nil;
LOCALE_NAME_INVARIANT : pwidechar = '';
LOCALE_NAME_SYSTEM_DEFAULT : pwidechar = '!x-sys-default-locale';
{ NOTE: there is no ANSI version of this function, only unicode/wide }
function GetDateFormatEx(LocaleName : pwidechar;
Flags : DWORD;
Date : PSYSTEMTIME;
Format : pwidechar;
DateBuffer : pwidechar;
BufferLen : longint;
Calendar : pwidechar
)
: BOOL; stdcall; external kernel32;
Steps to reproduce:
attempt to compile a program that calls the function.
Mantis conversion info:
- Mantis ID: 35118
- OS: Windows
- OS Build: Vista and up
- Platform: Windows
- Version: 3.0.4