[KERNELBASE][KERNEL32] Import KernelBase from WINE-10.0 (#8049)

* [KERNELBASE] Import KernelBase from wine-10.0
* [KERNELBASE] Create some cmake files and add stuff into headers
This commit is contained in:
Justin Miller 2025-06-01 23:13:41 -07:00 committed by GitHub
parent 1286711ac4
commit 9fe829874b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 50869 additions and 2 deletions

View file

@ -843,6 +843,14 @@ BOOL WINAPI PathCanonicalizeA(_Out_writes_(MAX_PATH) LPSTR, _In_ LPCSTR);
BOOL WINAPI PathCanonicalizeW(_Out_writes_(MAX_PATH) LPWSTR, _In_ LPCWSTR);
#define PathCanonicalize WINELIB_NAME_AW(PathCanonicalize)
HRESULT WINAPI PathMatchSpecExA(LPCSTR,LPCSTR,DWORD);
HRESULT WINAPI PathMatchSpecExW(LPCWSTR,LPCWSTR,DWORD);
#define PathMatchSpecEx WINELIB_NAME_AW(PathMatchSpecEx)
HRESULT WINAPI PathMatchSpecExA(LPCSTR,LPCSTR,DWORD);
HRESULT WINAPI PathMatchSpecExW(LPCWSTR,LPCWSTR,DWORD);
#define PathMatchSpecEx WINELIB_NAME_AW(PathMatchSpecEx)
LPSTR
WINAPI
PathCombineA(
@ -1261,6 +1269,9 @@ typedef enum {
#define URL_FILE_USE_PATHURL 0x00010000
#define URL_ESCAPE_AS_UTF8 0x00040000
#define URL_UNESCAPE_AS_UTF8 URL_ESCAPE_AS_UTF8
#define URL_UNESCAPE_URI_COMPONENT URL_UNESCAPE_AS_UTF8
#define URL_ESCAPE_SEGMENT_ONLY 0x00002000
#define URL_ESCAPE_PERCENT 0x00001000

View file

@ -666,7 +666,7 @@ typedef struct _numberfmtW {
LPWSTR lpThousandSep;
UINT NegativeOrder;
} NUMBERFMTW,*LPNUMBERFMTW;
#if (WINVER >= 0x0600)
#if 1//(WINVER >= 0x0600)
typedef enum _NORM_FORM {
NormalizationOther = 0,
NormalizationC = 0x1,
@ -1042,7 +1042,7 @@ LANGID WINAPI GetUserDefaultUILanguage(void);
BOOL WINAPI IsValidLanguageGroup(_In_ LGRPID, _In_ DWORD);
#endif /* (WINVER >= 0x0500) */
#if (WINVER >= 0x0600)
#if 1//(WINVER >= 0x0600)
_Success_(return != FALSE)
BOOL
@ -1201,6 +1201,8 @@ LCMapStringEx(
LCID WINAPI LocaleNameToLCID(_In_ LPCWSTR, _In_ DWORD);
WINBASEAPI INT WINAPI CompareStringOrdinal(const WCHAR *,INT,const WCHAR *,INT,BOOL);
#endif /* (WINVER >= 0x0600) */
WINBASEAPI