|
ReactOS 0.4.16-dev-2354-g16de117
|
#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 | ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error %#08lx\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.
Definition at line 33 of file storage32.c.
| #define test_file_access | ( | file, | |
| ares | |||
| ) | _test_file_access(file, ares, __LINE__) |
Definition at line 2103 of file storage32.c.
| typedef struct TestLockBytes TestLockBytes |
Definition at line 2068 of file storage32.c.
Definition at line 3402 of file storage32.c.
Referenced by check_access(), and check_sharing().
|
static |
Definition at line 3431 of file storage32.c.
Referenced by test_locking().
|
static |
Definition at line 3415 of file storage32.c.
Referenced by test_locking().
Definition at line 2533 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
|
static |
Definition at line 233 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 247 of file storage32.c.
Referenced by test_custom_lockbytes().
|
inlinestatic |
Definition at line 68 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 3875 of file storage32.c.
Definition at line 49 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_snbexclusions(), test_fmtusertypestg(), and test_toplevel_stat().
Definition at line 2105 of file storage32.c.
Referenced by START_TEST().
Definition at line 3274 of file storage32.c.
Referenced by START_TEST().
Definition at line 2592 of file storage32.c.
Referenced by START_TEST().
Definition at line 2779 of file storage32.c.
Referenced by START_TEST().
Definition at line 2858 of file storage32.c.
Referenced by START_TEST().
Definition at line 3124 of file storage32.c.
Referenced by START_TEST().
Definition at line 3176 of file storage32.c.
Referenced by START_TEST().
Definition at line 2696 of file storage32.c.
Referenced by START_TEST().
Definition at line 293 of file storage32.c.
Referenced by START_TEST().
Definition at line 3810 of file storage32.c.
Referenced by START_TEST().
Definition at line 3303 of file storage32.c.
Referenced by START_TEST().
Definition at line 2412 of file storage32.c.
Referenced by START_TEST().
Definition at line 3228 of file storage32.c.
Referenced by START_TEST().
Definition at line 255 of file storage32.c.
Referenced by START_TEST().
Definition at line 3440 of file storage32.c.
Referenced by START_TEST().
Definition at line 1828 of file storage32.c.
Referenced by START_TEST().
Definition at line 722 of file storage32.c.
Referenced by START_TEST().
Definition at line 3697 of file storage32.c.
Referenced by START_TEST().
Definition at line 1765 of file storage32.c.
Referenced by START_TEST().
Definition at line 1949 of file storage32.c.
Referenced by START_TEST().
Definition at line 2220 of file storage32.c.
Referenced by START_TEST().
Definition at line 2485 of file storage32.c.
Referenced by START_TEST().
Definition at line 2931 of file storage32.c.
Referenced by START_TEST().
Definition at line 1613 of file storage32.c.
Referenced by START_TEST().
Definition at line 2296 of file storage32.c.
Referenced by START_TEST().
Definition at line 447 of file storage32.c.
Referenced by START_TEST().
Definition at line 1000 of file storage32.c.
Referenced by START_TEST().
Definition at line 485 of file storage32.c.
Referenced by START_TEST().
Definition at line 892 of file storage32.c.
Referenced by START_TEST().
Definition at line 1210 of file storage32.c.
Referenced by START_TEST().
Definition at line 3077 of file storage32.c.
Referenced by START_TEST().
Definition at line 1521 of file storage32.c.
Referenced by START_TEST().
Definition at line 3001 of file storage32.c.
Referenced by START_TEST().
Definition at line 1387 of file storage32.c.
Referenced by START_TEST(), and test_TransactNamedPipe().
Definition at line 3578 of file storage32.c.
Referenced by START_TEST().
Definition at line 1160 of file storage32.c.
Referenced by START_TEST().
|
static |
Definition at line 90 of file storage32.c.
|
static |
Definition at line 153 of file storage32.c.
|
static |
Definition at line 181 of file storage32.c.
|
static |
Definition at line 73 of file storage32.c.
|
static |
Definition at line 104 of file storage32.c.
|
static |
Definition at line 97 of file storage32.c.
|
static |
Definition at line 158 of file storage32.c.
|
static |
Definition at line 196 of file storage32.c.
|
static |
Definition at line 189 of file storage32.c.
|
static |
Definition at line 128 of file storage32.c.
Definition at line 2054 of file storage32.c.
Referenced by _test_file_access(), and test_file_sharing().
|
static |
Definition at line 1994 of file storage32.c.
|
static |
Definition at line 2034 of file storage32.c.
Referenced by test_access().
|
static |
Definition at line 3379 of file storage32.c.
Definition at line 39 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 38 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 41 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 40 of file storage32.c.
Referenced by test_copyto(), test_copyto_iidexclusions_storage(), test_copyto_iidexclusions_stream(), and test_copyto_snbexclusions().
Definition at line 36 of file storage32.c.
Definition at line 35 of file storage32.c.
Referenced by _CorExeMain(), CLRRuntimeHost_ExecuteInDefaultAppDomain(), create_monodata(), get_file_nameW(), ITERATE_BindImage(), ReallyFixupVTable(), RegLoadKeyA(), 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 3384 of file storage32.c.
Referenced by test_locking().
Definition at line 3373 of file storage32.c.
Definition at line 3369 of file storage32.c.
Definition at line 3381 of file storage32.c.
Definition at line 3366 of file storage32.c.
Definition at line 3382 of file storage32.c.
Definition at line 3374 of file storage32.c.
Definition at line 3377 of file storage32.c.
Definition at line 3368 of file storage32.c.
Definition at line 3378 of file storage32.c.
Definition at line 3370 of file storage32.c.
Definition at line 3376 of file storage32.c.
Definition at line 3367 of file storage32.c.
Definition at line 2061 of file storage32.c.
Referenced by _test_file_access().
Definition at line 42 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 43 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 44 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 45 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 46 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 220 of file storage32.c.
Referenced by CreateTestLockBytes(), and DeleteTestLockBytes().
Definition at line 3380 of file storage32.c.
Definition at line 3372 of file storage32.c.
Definition at line 3371 of file storage32.c.