ReactOS 0.4.16-dev-1007-g2e85425
|
#include <stdio.h>
#include <windows.h>
#include "wine/test.h"
#include "ole2.h"
#include "objidl.h"
#include "initguid.h"
Go to the source code of this file.
Classes | |
struct | TestLockBytes |
struct | access_res |
struct | lock_test |
Macros | |
#define | COBJMACROS |
#define | NONAMELESSUNION |
#define | NONAMELESSSTRUCT |
#define | ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error 0x%08x\n", hr) |
#define | test_file_access(file, ares) _test_file_access(file, ares, __LINE__) |
Typedefs | |
typedef struct TestLockBytes | TestLockBytes |
Variables | |
static CHAR | filenameA [MAX_PATH] |
static WCHAR | filename [MAX_PATH] |
static const char | file1_nameA [] = {'c','o','p','y','t','e','s','t','A',0} |
static const WCHAR | file1_name [] = {'c','o','p','y','t','e','s','t','A',0} |
static const char | file2_nameA [] = {'c','o','p','y','t','e','s','t','B',0} |
static const WCHAR | file2_name [] = {'c','o','p','y','t','e','s','t','B',0} |
static const WCHAR | stgA_name [] = {'S','t','o','r','a','g','e','A',0} |
static const WCHAR | stgB_name [] = {'S','t','o','r','a','g','e','B',0} |
static const WCHAR | strmA_name [] = {'S','t','r','e','a','m','A',0} |
static const WCHAR | strmB_name [] = {'S','t','r','e','a','m','B',0} |
static const WCHAR | strmC_name [] = {'S','t','r','e','a','m','C',0} |
static const ILockBytesVtbl | TestLockBytes_Vtbl |
static const struct access_res | create [16] |
static const struct access_res | create_commit [16] |
static const struct access_res | create_close [16] |
static const DWORD | access_modes [4] |
static const DWORD | share_modes [4] |
static const int | priority_locked_bytes [] = { 0x158, 0x181, 0x193, -1 } |
static const int | rwex_locked_bytes [] = { 0x193, 0x1a7, 0x1bb, 0x1cf, -1 } |
static const int | rw_locked_bytes [] = { 0x193, 0x1a7, -1 } |
static const int | nosn_locked_bytes [] = { 0x16c, 0x193, 0x1a7, 0x1cf, -1 } |
static const int | rwdw_locked_bytes [] = { 0x193, 0x1a7, 0x1cf, -1 } |
static const int | wodw_locked_bytes [] = { 0x1a7, 0x1cf, -1 } |
static const int | tr_locked_bytes [] = { 0x193, -1 } |
static const int | no_locked_bytes [] = { -1 } |
static const int | roex_locked_bytes [] = { 0x193, 0x1bb, 0x1cf, -1 } |
static const int | rwex_fail_ranges [] = { 0x193,0x1e3, -1 } |
static const int | rw_fail_ranges [] = { 0x1bb,0x1e3, -1 } |
static const int | rwdw_fail_ranges [] = { 0x1a7,0x1e3, -1 } |
static const int | dw_fail_ranges [] = { 0x1a7,0x1cf, -1 } |
static const int | tr_fail_ranges [] = { 0x1bb,0x1cf, -1 } |
static const int | pr_fail_ranges [] = { 0x180,0x181, 0x1bb,0x1cf, -1 } |
static const int | roex_fail_ranges [] = { 0x0,-1 } |
static const struct lock_test | lock_tests [] |
#define COBJMACROS |
Definition at line 23 of file storage32.c.
#define NONAMELESSSTRUCT |
Definition at line 28 of file storage32.c.
#define NONAMELESSUNION |
Definition at line 27 of file storage32.c.
Definition at line 40 of file storage32.c.
#define test_file_access | ( | file, | |
ares | |||
) | _test_file_access(file, ares, __LINE__) |
Definition at line 2122 of file storage32.c.
typedef struct TestLockBytes TestLockBytes |
Definition at line 2087 of file storage32.c.
Definition at line 3422 of file storage32.c.
Referenced by check_access(), and check_sharing().
|
static |
Definition at line 3465 of file storage32.c.
Referenced by test_locking().
|
static |
Definition at line 3435 of file storage32.c.
Referenced by test_locking().
Definition at line 2552 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
|
static |
Definition at line 240 of file storage32.c.
Referenced by test_custom_lockbytes().
DEFINE_GUID | ( | test_stg_cls | , |
0x88888888 | , | ||
0x0425 | , | ||
0x0000 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | , | ||
0 | |||
) |
|
static |
Definition at line 251 of file storage32.c.
Referenced by test_custom_lockbytes().
|
inlinestatic |
Definition at line 75 of file storage32.c.
Referenced by TestLockBytes_AddRef(), TestLockBytes_LockRegion(), TestLockBytes_QueryInterface(), TestLockBytes_ReadAt(), TestLockBytes_Release(), TestLockBytes_SetSize(), TestLockBytes_Stat(), TestLockBytes_UnlockRegion(), and TestLockBytes_WriteAt().
START_TEST | ( | storage32 | ) |
Definition at line 3926 of file storage32.c.
Definition at line 56 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_snbexclusions(), test_fmtusertypestg(), and test_toplevel_stat().
Definition at line 2124 of file storage32.c.
Referenced by START_TEST().
Definition at line 3293 of file storage32.c.
Referenced by START_TEST().
Definition at line 2611 of file storage32.c.
Referenced by START_TEST().
Definition at line 2798 of file storage32.c.
Referenced by START_TEST().
Definition at line 2877 of file storage32.c.
Referenced by START_TEST().
Definition at line 3143 of file storage32.c.
Referenced by START_TEST().
Definition at line 3195 of file storage32.c.
Referenced by START_TEST().
Definition at line 2715 of file storage32.c.
Referenced by START_TEST().
Definition at line 297 of file storage32.c.
Referenced by START_TEST().
Definition at line 3878 of file storage32.c.
Referenced by START_TEST().
Definition at line 3322 of file storage32.c.
Referenced by START_TEST().
Definition at line 2431 of file storage32.c.
Referenced by START_TEST().
Definition at line 3247 of file storage32.c.
Referenced by START_TEST().
Definition at line 259 of file storage32.c.
Referenced by START_TEST().
Definition at line 3490 of file storage32.c.
Referenced by START_TEST().
Definition at line 1847 of file storage32.c.
Referenced by START_TEST().
Definition at line 741 of file storage32.c.
Referenced by START_TEST().
Definition at line 3765 of file storage32.c.
Referenced by START_TEST().
Definition at line 1784 of file storage32.c.
Referenced by START_TEST().
Definition at line 1968 of file storage32.c.
Referenced by START_TEST().
Definition at line 2239 of file storage32.c.
Referenced by START_TEST().
Definition at line 2504 of file storage32.c.
Referenced by START_TEST().
Definition at line 2950 of file storage32.c.
Referenced by START_TEST().
Definition at line 1632 of file storage32.c.
Referenced by START_TEST().
Definition at line 2315 of file storage32.c.
Referenced by START_TEST().
Definition at line 451 of file storage32.c.
Referenced by START_TEST().
Definition at line 1019 of file storage32.c.
Referenced by START_TEST().
Definition at line 504 of file storage32.c.
Referenced by START_TEST().
Definition at line 911 of file storage32.c.
Referenced by START_TEST().
Definition at line 1229 of file storage32.c.
Referenced by START_TEST().
Definition at line 3096 of file storage32.c.
Referenced by START_TEST().
Definition at line 1540 of file storage32.c.
Referenced by START_TEST().
Definition at line 3020 of file storage32.c.
Referenced by START_TEST().
Definition at line 1406 of file storage32.c.
Referenced by START_TEST().
Definition at line 3646 of file storage32.c.
Referenced by START_TEST().
Definition at line 1179 of file storage32.c.
Referenced by START_TEST().
|
static |
Definition at line 97 of file storage32.c.
|
static |
Definition at line 160 of file storage32.c.
|
static |
Definition at line 188 of file storage32.c.
|
static |
Definition at line 80 of file storage32.c.
|
static |
Definition at line 111 of file storage32.c.
|
static |
Definition at line 104 of file storage32.c.
|
static |
Definition at line 165 of file storage32.c.
|
static |
Definition at line 203 of file storage32.c.
|
static |
Definition at line 196 of file storage32.c.
|
static |
Definition at line 135 of file storage32.c.
Definition at line 2073 of file storage32.c.
Referenced by _test_file_access(), and test_file_sharing().
|
static |
Definition at line 2013 of file storage32.c.
|
static |
Definition at line 2053 of file storage32.c.
Referenced by test_access().
|
static |
Definition at line 3399 of file storage32.c.
Definition at line 46 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 45 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 48 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 47 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 43 of file storage32.c.
Definition at line 42 of file storage32.c.
Referenced by _CorExeMain(), CLRRuntimeHost_ExecuteInDefaultAppDomain(), create_monodata(), get_file_nameW(), ITERATE_BindImage(), ReallyFixupVTable(), sendmail_extended_mapi(), START_TEST(), test_copyto_locking(), test_copyto_recursive(), test_create_storage_modes(), test_nonroot_transacted(), test_open_storage(), test_overwrite(), test_parent_free(), test_references(), test_register_typelib(), test_rename(), test_revert(), test_SavingImages(), test_SetDocString(), test_SetFuncAndParamNames(), test_SetTypeDescAlias(), test_SetVarHelpContext(), test_simple(), test_stgcreatestorageex(), test_storage_refcount(), test_storage_stream(), test_storage_suminfo(), test_streamenum(), test_stub(), test_substorage_enum(), test_substorage_share(), test_toplevel_stat(), test_transact(), test_transacted_shared(), test_TypeInfo(), and test_writeclassstg().
Definition at line 3404 of file storage32.c.
Referenced by test_locking().
Definition at line 3393 of file storage32.c.
Definition at line 3389 of file storage32.c.
Definition at line 3401 of file storage32.c.
Definition at line 3386 of file storage32.c.
Definition at line 3402 of file storage32.c.
Definition at line 3394 of file storage32.c.
Definition at line 3397 of file storage32.c.
Definition at line 3388 of file storage32.c.
Definition at line 3398 of file storage32.c.
Definition at line 3390 of file storage32.c.
Definition at line 3396 of file storage32.c.
Definition at line 3387 of file storage32.c.
Definition at line 2080 of file storage32.c.
Referenced by _test_file_access().
Definition at line 49 of file storage32.c.
Referenced by create_test_file(), test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 50 of file storage32.c.
Referenced by create_test_file(), test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 51 of file storage32.c.
Referenced by create_test_file(), test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 52 of file storage32.c.
Referenced by create_test_file(), test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 53 of file storage32.c.
Referenced by create_test_file(), test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
|
static |
Definition at line 227 of file storage32.c.
Referenced by CreateTestLockBytes(), and DeleteTestLockBytes().
Definition at line 3400 of file storage32.c.
Definition at line 3392 of file storage32.c.
Definition at line 3391 of file storage32.c.