mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
CORE-20577 Test some `OS_*` values that should return FALSE, and other values that actually return TRUE, contrary to what the official documentation[^1] claims. [^1]: https://learn.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-isos
63 lines
2.6 KiB
C
63 lines
2.6 KiB
C
#define STANDALONE
|
|
#include <apitest.h>
|
|
|
|
extern void func_AssocQueryKey(void);
|
|
extern void func_AssocQueryString(void);
|
|
extern void func_CharUpperNoDBCS(void);
|
|
extern void func_IShellFolderHelpers(void);
|
|
extern void func_IsOS(void);
|
|
extern void func_IsQSForward(void);
|
|
extern void func_IStreamPidl(void);
|
|
extern void func_MapWin32ErrorToSTG(void);
|
|
extern void func_NextPath(void);
|
|
extern void func_PathFileExistsDefExtAndAttributesW(void);
|
|
extern void func_PathFindOnPath(void);
|
|
extern void func_PathIsUNC(void);
|
|
extern void func_PathIsUNCServer(void);
|
|
extern void func_PathIsUNCServerShare(void);
|
|
extern void func_PathUnExpandEnvStrings(void);
|
|
extern void func_PathUnExpandEnvStringsForUser(void);
|
|
extern void func_QuerySourceCreateFromKey(void);
|
|
extern void func_SHAreIconsEqual(void);
|
|
extern void func_SHGetFileDescription(void);
|
|
extern void func_SHGetRestriction(void);
|
|
extern void func_SHInvokeCommandsOnContextMenu(void);
|
|
extern void func_SHLoadIndirectString(void);
|
|
extern void func_SHLoadRegUIString(void);
|
|
extern void func_SHPropertyBag(void);
|
|
extern void func_StrDup(void);
|
|
extern void func_StrFormatByteSizeW(void);
|
|
extern void func_StrToInt(void);
|
|
|
|
const struct test winetest_testlist[] =
|
|
{
|
|
{ "AssocQueryKey", func_AssocQueryKey },
|
|
{ "AssocQueryString", func_AssocQueryString },
|
|
{ "CharUpperNoDBCS", func_CharUpperNoDBCS },
|
|
{ "IShellFolderHelpers", func_IShellFolderHelpers },
|
|
{ "IsOS", func_IsOS },
|
|
{ "IsQSForward", func_IsQSForward },
|
|
{ "IStreamPidl", func_IStreamPidl },
|
|
{ "MapWin32ErrorToSTG", func_MapWin32ErrorToSTG },
|
|
{ "NextPath", func_NextPath },
|
|
{ "PathFileExistsDefExtAndAttributesW", func_PathFileExistsDefExtAndAttributesW },
|
|
{ "PathFindOnPath", func_PathFindOnPath },
|
|
{ "PathIsUNC", func_PathIsUNC },
|
|
{ "PathIsUNCServer", func_PathIsUNCServer },
|
|
{ "PathIsUNCServerShare", func_PathIsUNCServerShare },
|
|
{ "PathUnExpandEnvStrings", func_PathUnExpandEnvStrings },
|
|
{ "PathUnExpandEnvStringsForUser", func_PathUnExpandEnvStringsForUser },
|
|
{ "QuerySourceCreateFromKey", func_QuerySourceCreateFromKey },
|
|
{ "SHAreIconsEqual", func_SHAreIconsEqual },
|
|
{ "SHGetFileDescription", func_SHGetFileDescription },
|
|
{ "SHGetRestriction", func_SHGetRestriction },
|
|
{ "SHInvokeCommandsOnContextMenu", func_SHInvokeCommandsOnContextMenu },
|
|
{ "SHLoadIndirectString", func_SHLoadIndirectString },
|
|
{ "SHLoadRegUIString", func_SHLoadRegUIString },
|
|
{ "SHPropertyBag", func_SHPropertyBag },
|
|
{ "StrDup", func_StrDup },
|
|
{ "StrFormatByteSizeW", func_StrFormatByteSizeW },
|
|
{ "StrToInt", func_StrToInt },
|
|
{ 0, 0 }
|
|
};
|