ReactOS 0.4.16-dev-59-gd481587
|
#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.