ReactOS 0.4.16-dev-197-g92996da
|
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "shlguid.h"
#include "shlobj.h"
#include "shlwapi.h"
#include "knownfolders.h"
#include "shellapi.h"
#include "wine/test.h"
#include "initguid.h"
Go to the source code of this file.
Classes | |
struct | shellExpectedValues |
struct | knownFolderDef |
Macros | |
#define | COBJMACROS |
#define | OLD_CSIDL_MYDOCUMENTS 0x000c |
#define | PT_CPL 0x01 /* no path */ |
#define | PT_GUID 0x1f /* no path */ |
#define | PT_DRIVE 0x23 /* has path */ |
#define | PT_DRIVE2 0x25 /* has path */ |
#define | PT_SHELLEXT 0x2e /* no path */ |
#define | PT_FOLDER 0x31 /* has path */ |
#define | PT_FOLDERW 0x35 /* has path */ |
#define | PT_WORKGRP 0x41 /* no path */ |
#define | PT_YAGUID 0x70 /* no path */ |
#define | PT_IESPECIAL2 0xb1 /* has path */ |
#define | DECLARE_TYPE(x, y) { x, ARRAY_SIZE(y), y } |
#define | GET_PROC(func) |
#define | CSIDL_PROFILES 0x003e |
#define | CSIDL_TO_STR(x) case x: return#x; |
#define | NO_CSIDL 0x10000 |
#define | WINE_ATTRIBUTES_OPTIONAL 0x20000 |
#define | KNOWN_FOLDER(id, csidl, name, category, parent1, parent2, relative_path, parsing_name, attributes, definitionFlags) { &id, # id, csidl, # csidl, name, category, {&parent1, &parent2}, relative_path, parsing_name, attributes, definitionFlags, __LINE__ } |
Variables | |
static GUID | CLSID_CommonDocuments = { 0x0000000c, 0x0000, 0x0000, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x74, 0x1a } } |
static | int |
static | HANDLE |
static | DWORD |
static | LPSTR |
static LPITEMIDLIST *static | BOOL |
static | UINT |
static PWSTR *static | PWSTR |
static | LPWSTR |
static | PCWSTR |
static PIDLIST_ABSOLUTE *static DLLVERSIONINFO | shellVersion = { 0 } |
static LPMALLOC | pMalloc |
static const BYTE | guidType [] = { PT_GUID } |
static const BYTE | controlPanelType [] = { PT_SHELLEXT, PT_GUID, PT_CPL } |
static const BYTE | folderType [] = { PT_FOLDER, PT_FOLDERW } |
static const BYTE | favoritesType [] = { PT_FOLDER, PT_FOLDERW, 0, PT_IESPECIAL2 } |
static const BYTE | folderOrSpecialType [] = { PT_FOLDER, PT_IESPECIAL2 } |
static const BYTE | personalType [] |
static const BYTE | printersType [] = { PT_YAGUID, PT_SHELLEXT, 0x71 } |
static const BYTE | ieSpecialType [] = { PT_IESPECIAL2 } |
static const BYTE | shellExtType [] = { PT_SHELLEXT } |
static const BYTE | workgroupType [] = { PT_WORKGRP } |
static const struct shellExpectedValues | requiredShellValues [] |
static const struct shellExpectedValues | optionalShellValues [] |
static const GUID | _FOLDERID_CryptoKeys = {0xB88F4DAA, 0xE7BD, 0x49A9, {0xB7, 0x4D, 0x02, 0x88, 0x5A, 0x5D, 0xC7, 0x65} } |
static const GUID | _FOLDERID_DpapiKeys = {0x10C07CD0, 0xEF91, 0x4567, {0xB8, 0x50, 0x44, 0x8B, 0x77, 0xCB, 0x37, 0xF9} } |
static const GUID | _FOLDERID_SystemCertificates = {0x54EED2E0, 0xE7CA, 0x4FDB, {0x91, 0x48, 0x0F, 0x42, 0x47, 0x29, 0x1C, 0xFA} } |
static const GUID | _FOLDERID_CredentialManager = {0x915221FB, 0x9EFE, 0x4BDA, {0x8F, 0xD7, 0xF7, 0x8D, 0xCA, 0x77, 0x4F, 0x87} } |
static const struct knownFolderDef | known_folders [] |
BOOL | known_folder_found [ARRAY_SIZE(known_folders)] |
static int | myARGC |
static char ** | myARGV |
static char | base [MAX_PATH] |
static char | selfname [MAX_PATH] |
#define COBJMACROS |
Definition at line 24 of file shellpath.c.
#define CSIDL_PROFILES 0x003e |
Definition at line 231 of file shellpath.c.
Definition at line 117 of file shellpath.c.
#define KNOWN_FOLDER | ( | id, | |
csidl, | |||
name, | |||
category, | |||
parent1, | |||
parent2, | |||
relative_path, | |||
parsing_name, | |||
attributes, | |||
definitionFlags | |||
) | { &id, # id, csidl, # csidl, name, category, {&parent1, &parent2}, relative_path, parsing_name, attributes, definitionFlags, __LINE__ } |
Definition at line 310 of file shellpath.c.
#define NO_CSIDL 0x10000 |
Definition at line 308 of file shellpath.c.
#define OLD_CSIDL_MYDOCUMENTS 0x000c |
Definition at line 42 of file shellpath.c.
Definition at line 48 of file shellpath.c.
Definition at line 54 of file shellpath.c.
Definition at line 57 of file shellpath.c.
Definition at line 63 of file shellpath.c.
Definition at line 66 of file shellpath.c.
Definition at line 51 of file shellpath.c.
Definition at line 76 of file shellpath.c.
Definition at line 60 of file shellpath.c.
Definition at line 69 of file shellpath.c.
Definition at line 72 of file shellpath.c.
#define WINE_ATTRIBUTES_OPTIONAL 0x20000 |
Definition at line 309 of file shellpath.c.
|
static |
|
static |
Definition at line 1967 of file shellpath.c.
Referenced by test_knownFolders().
DEFINE_GUID | ( | _CLSID_Documents | , |
0xA8CDFF1C | , | ||
0x4878 | , | ||
0x43be | , | ||
0xB5 | , | ||
0xFD | , | ||
0xF8 | , | ||
0x09 | , | ||
0x1C | , | ||
0x1C | , | ||
0x60 | , | ||
0xD0 | |||
) |
DEFINE_GUID | ( | CLSID_NetworkExplorerFolder | , |
0xF02C1A0D | , | ||
0xBE21 | , | ||
0x4350 | , | ||
0x88 | , | ||
0xB0 | , | ||
0x73 | , | ||
0x67 | , | ||
0xFC | , | ||
0x96 | , | ||
0xEF | , | ||
0x3C | |||
) |
DEFINE_GUID | ( | GUID_NULL | , |
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | |||
) |
Definition at line 1693 of file shellpath.c.
Referenced by START_TEST().
Definition at line 235 of file shellpath.c.
Referenced by matchGUID(), test_ShellValues(), test_SHGetFolderPath(), test_SHGetSpecialFolderPath(), testSHGetFolderLocation(), and testSHGetSpecialFolderLocation().
Definition at line 1685 of file shellpath.c.
Referenced by START_TEST().
|
static |
Definition at line 1937 of file shellpath.c.
Referenced by check_known_folder().
Definition at line 186 of file shellpath.c.
Referenced by START_TEST().
|
static |
Definition at line 1529 of file shellpath.c.
Referenced by test_GUIDs().
Definition at line 1507 of file shellpath.c.
Referenced by test_EnvVars().
Definition at line 1606 of file shellpath.c.
Referenced by myPathRemoveBackslashA().
Definition at line 1613 of file shellpath.c.
Referenced by testSystemDir(), and testWinDir().
START_TEST | ( | shellpath | ) |
Definition at line 2845 of file shellpath.c.
Definition at line 2560 of file shellpath.c.
Referenced by START_TEST().
Definition at line 1593 of file shellpath.c.
Referenced by START_TEST().
Definition at line 1578 of file shellpath.c.
Referenced by START_TEST().
Definition at line 2072 of file shellpath.c.
Referenced by START_TEST().
Definition at line 1773 of file shellpath.c.
Referenced by START_TEST().
Definition at line 1313 of file shellpath.c.
Referenced by START_TEST().
Definition at line 2710 of file shellpath.c.
Referenced by START_TEST().
Definition at line 1563 of file shellpath.c.
Referenced by START_TEST().
|
static |
Definition at line 1458 of file shellpath.c.
Referenced by test_PidlTypes().
Definition at line 1431 of file shellpath.c.
Referenced by test_PidlTypes(), and test_ShellValues().
Definition at line 1842 of file shellpath.c.
Referenced by START_TEST().
Definition at line 2789 of file shellpath.c.
Referenced by START_TEST().
Definition at line 1443 of file shellpath.c.
Referenced by test_PidlTypes(), and test_ShellValues().
Definition at line 1376 of file shellpath.c.
Referenced by test_ShellValues().
Definition at line 1404 of file shellpath.c.
Referenced by test_ShellValues().
Definition at line 1651 of file shellpath.c.
Referenced by START_TEST().
Definition at line 1630 of file shellpath.c.
Referenced by START_TEST().
|
static |
Definition at line 317 of file shellpath.c.
|
static |
Definition at line 314 of file shellpath.c.
|
static |
Definition at line 315 of file shellpath.c.
|
static |
Definition at line 316 of file shellpath.c.
Definition at line 1682 of file shellpath.c.
LPITEMIDLIST *static BOOL |
Definition at line 91 of file shellpath.c.
|
static |
Definition at line 79 of file shellpath.c.
Referenced by test_GUIDs().
|
static |
Definition at line 106 of file shellpath.c.
Definition at line 88 of file shellpath.c.
|
static |
Definition at line 108 of file shellpath.c.
|
static |
Definition at line 109 of file shellpath.c.
|
static |
Definition at line 107 of file shellpath.c.
Definition at line 105 of file shellpath.c.
Definition at line 88 of file shellpath.c.
|
static |
Definition at line 114 of file shellpath.c.
int |
Definition at line 88 of file shellpath.c.
BOOL known_folder_found[ARRAY_SIZE(known_folders)] |
Definition at line 1311 of file shellpath.c.
Referenced by check_known_folder(), and test_knownFolders().
|
static |
Definition at line 343 of file shellpath.c.
Referenced by check_known_folder(), test_knownFolders(), and test_SHGetFolderPathEx().
LPITEMIDLIST *static LPSTR |
Definition at line 88 of file shellpath.c.
Definition at line 99 of file shellpath.c.
|
static |
Definition at line 1680 of file shellpath.c.
Referenced by init(), and START_TEST().
|
static |
Definition at line 1681 of file shellpath.c.
Referenced by init(), and START_TEST().
|
static |
Definition at line 142 of file shellpath.c.
Referenced by test_PidlTypes().
Definition at line 100 of file shellpath.c.
Definition at line 110 of file shellpath.c.
|
static |
Definition at line 104 of file shellpath.c.
Referenced by doChild(), loadShell32(), matchGUID(), test_parameters(), testSHGetFolderLocation(), and testSHGetSpecialFolderLocation().
|
static |
Definition at line 113 of file shellpath.c.
Definition at line 98 of file shellpath.c.
|
static |
Definition at line 1683 of file shellpath.c.
Referenced by init(), and test_NonExistentPath().
|
static |
Definition at line 115 of file shellpath.c.
|
static |
Definition at line 103 of file shellpath.c.
Referenced by loadShell32(), and test_NonExistentPath().
Definition at line 96 of file shellpath.c.
|
static |
Definition at line 116 of file shellpath.c.