ReactOS 0.4.16-dev-598-gc07fba4
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wingdi.h"
#include "winreg.h"
#include "winspool.h"
#include "ddk/winsplp.h"
#include "wine/test.h"
Go to the source code of this file.
Macros | |
#define | PORTNAME_PREFIX 3 |
#define | PORTNAME_MINSIZE 5 |
#define | PORTNAME_MAXSIZE 10 |
#define | GET_MONITOR_FUNC(name) |
#define | GET_MONITOR_FUNC2(name) |
Variables | |
static HMODULE | hdll |
static HMODULE | hlocalmon |
static HANDLE | hmon |
static | LPHANDLE |
static LPMONITOREX | pm |
static LPMONITOR2 | pm2 |
static | DWORD |
static | LPBYTE |
static | LPDWORD |
static | LPWSTR |
static | PHANDLE |
static struct _MONITOR *static | HANDLE |
static | HWND |
static | LPCOMMTIMEOUTS |
static | ACCESS_MASK |
static | LPCWSTR |
static | PBYTE |
static | PDWORD |
static HANDLE | hXcv |
static HANDLE | hXcv_noaccess |
static const WCHAR | cmd_AddPortW [] = {'A','d','d','P','o','r','t',0} |
static const WCHAR | cmd_ConfigureLPTPortCommandOKW [] |
static const WCHAR | cmd_DeletePortW [] = {'D','e','l','e','t','e','P','o','r','t',0} |
static const WCHAR | cmd_GetTransmissionRetryTimeoutW [] |
static const WCHAR | cmd_MonitorUIW [] = {'M','o','n','i','t','o','r','U','I',0} |
static const WCHAR | cmd_MonitorUI_lcaseW [] = {'m','o','n','i','t','o','r','u','i',0} |
static const WCHAR | cmd_PortIsValidW [] = {'P','o','r','t','I','s','V','a','l','i','d',0} |
static WCHAR | does_not_existW [] = {'d','o','e','s','_','n','o','t','_','e','x','i','s','t',0} |
static const CHAR | emptyA [] = "" |
static WCHAR | emptyW [] = {0} |
static WCHAR | LocalPortW [] = {'L','o','c','a','l',' ','P','o','r','t',0} |
static WCHAR | Monitors_LocalPortW [] |
static const CHAR | num_0A [] = "0" |
static WCHAR | num_0W [] = {'0',0} |
static const CHAR | num_1A [] = "1" |
static WCHAR | num_1W [] = {'1',0} |
static const CHAR | num_999999A [] = "999999" |
static WCHAR | num_999999W [] = {'9','9','9','9','9','9',0} |
static const CHAR | num_1000000A [] = "1000000" |
static WCHAR | num_1000000W [] = {'1','0','0','0','0','0','0',0} |
static const WCHAR | portname_comW [] = {'C','O','M',0} |
static WCHAR | portname_com1W [] = {'C','O','M','1',':',0} |
static WCHAR | portname_com2W [] = {'C','O','M','2',':',0} |
static WCHAR | portname_fileW [] = {'F','I','L','E',':',0} |
static const WCHAR | portname_lptW [] = {'L','P','T',0} |
static WCHAR | portname_lpt1W [] = {'L','P','T','1',':',0} |
static WCHAR | portname_lpt2W [] = {'L','P','T','2',':',0} |
static WCHAR | server_does_not_existW [] = {'\\','\\','d','o','e','s','_','n','o','t','_','e','x','i','s','t',0} |
static const CHAR | TransmissionRetryTimeoutA [] |
static const CHAR | WinNT_CV_WindowsA [] |
static WCHAR | wineW [] = {'W','i','n','e',0} |
static WCHAR | tempdirW [MAX_PATH] |
static WCHAR | tempfileW [MAX_PATH] |
static WCHAR | have_com [PORTNAME_MAXSIZE] |
static WCHAR | have_lpt [PORTNAME_MAXSIZE] |
static WCHAR | have_file [PORTNAME_MAXSIZE] |
static MONITORREG | monreg |
Definition at line 1468 of file localmon.c.
#define PORTNAME_MAXSIZE 10 |
Definition at line 135 of file localmon.c.
#define PORTNAME_MINSIZE 5 |
Definition at line 134 of file localmon.c.
#define PORTNAME_PREFIX 3 |
Definition at line 133 of file localmon.c.
Definition at line 157 of file localmon.c.
|
static |
Definition at line 142 of file localmon.c.
Definition at line 227 of file localmon.c.
Referenced by test_AddPortEx().
Definition at line 163 of file localmon.c.
Definition at line 192 of file localmon.c.
|
static |
Definition at line 169 of file localmon.c.
Referenced by FindAdapterKey(), FindDeviceDescForAdapter(), and IopUpdateControlKeyWithResources().
|
static |
Definition at line 198 of file localmon.c.
Definition at line 243 of file localmon.c.
Referenced by START_TEST().
|
static |
|
static |
|
static |
Definition at line 150 of file localmon.c.
|
static |
Definition at line 176 of file localmon.c.
|
static |
Definition at line 206 of file localmon.c.
|
static |
Definition at line 185 of file localmon.c.
START_TEST | ( | localmon | ) |
Definition at line 1476 of file localmon.c.
Definition at line 299 of file localmon.c.
Referenced by START_TEST().
Definition at line 329 of file localmon.c.
Referenced by START_TEST().
Definition at line 439 of file localmon.c.
Referenced by START_TEST().
Definition at line 536 of file localmon.c.
Referenced by START_TEST().
Definition at line 577 of file localmon.c.
Referenced by START_TEST().
Definition at line 610 of file localmon.c.
Referenced by START_TEST().
Definition at line 701 of file localmon.c.
Referenced by START_TEST().
Definition at line 728 of file localmon.c.
Referenced by START_TEST().
Definition at line 749 of file localmon.c.
Referenced by START_TEST().
Definition at line 859 of file localmon.c.
Referenced by START_TEST().
Definition at line 893 of file localmon.c.
Referenced by START_TEST().
Definition at line 937 of file localmon.c.
Referenced by START_TEST().
Definition at line 1033 of file localmon.c.
Referenced by START_TEST().
Definition at line 1065 of file localmon.c.
Referenced by START_TEST().
Definition at line 1185 of file localmon.c.
Referenced by START_TEST().
Definition at line 1281 of file localmon.c.
Referenced by START_TEST().
Definition at line 1421 of file localmon.c.
Referenced by START_TEST().
Definition at line 68 of file localmon.c.
Definition at line 78 of file localmon.c.
Referenced by test_XcvDataPort_AddPort().
Definition at line 79 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK().
Definition at line 82 of file localmon.c.
Referenced by delete_port(), test_XcvDataPort_AddPort(), and test_XcvDataPort_DeletePort().
Definition at line 83 of file localmon.c.
Referenced by test_XcvDataPort_GetTransmissionRetryTimeout().
Definition at line 88 of file localmon.c.
Referenced by test_XcvDataPort_MonitorUI().
Definition at line 87 of file localmon.c.
Referenced by test_XcvDataPort_MonitorUI().
Definition at line 89 of file localmon.c.
Referenced by test_XcvDataPort_PortIsValid().
Definition at line 90 of file localmon.c.
Referenced by test_AddPort(), test_AddPortEx(), test_DeletePort(), test_DoEnvironmentSubst(), and test_OpenPort().
Definition at line 47 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK(), test_XcvDataPort_DeletePort(), test_XcvDataPort_GetTransmissionRetryTimeout(), test_XcvDataPort_MonitorUI(), and test_XcvDataPort_PortIsValid().
Definition at line 91 of file localmon.c.
Referenced by test_XcvDataPort_GetTransmissionRetryTimeout().
|
static |
Definition at line 92 of file localmon.c.
Referenced by START_TEST(), test_AddPort(), test_AddPortEx(), test_DeletePort(), test_EnumPorts(), test_InitializePrintMonitor(), test_OpenPort(), test_XcvClosePort(), test_XcvDataPort_MonitorUI(), test_XcvDataPort_PortIsValid(), and test_XcvOpenPort().
Definition at line 52 of file localmon.c.
Referenced by test_ClosePort(), test_OpenPort(), test_XcvClosePort(), and test_XcvOpenPort().
|
static |
Definition at line 136 of file localmon.c.
Referenced by find_installed_ports(), test_ClosePort(), and test_OpenPort().
|
static |
Definition at line 138 of file localmon.c.
Referenced by find_installed_ports(), test_ClosePort(), test_OpenPort(), and test_RealizationInfo().
|
static |
Definition at line 137 of file localmon.c.
Referenced by find_installed_ports(), test_ClosePort(), and test_OpenPort().
|
static |
Definition at line 39 of file localmon.c.
Referenced by START_TEST().
|
static |
Definition at line 40 of file localmon.c.
Referenced by START_TEST().
|
static |
Definition at line 41 of file localmon.c.
Referenced by find_primary_mon(), get_available_monitors_proc(), monitor_enum_proc(), START_TEST(), test_fullscreen(), test_InitializePrintMonitor2(), test_ShowWindow(), and test_work_area().
Definition at line 58 of file localmon.c.
|
static |
Definition at line 73 of file localmon.c.
Referenced by _HandleAddPort(), _HandleDeletePort(), _LocalOpenXcvHandle(), _RpcXcvData(), delete_port(), dlg_configure_com(), dlg_configure_lpt(), LocalmonXcvClosePort(), LocalmonXcvDataPort(), localui_AddPortUI(), localui_ConfigurePortUI(), localui_DeletePortUI(), LocalXcvData(), pointer_default(), START_TEST(), test_AddPortEx(), test_XcvDataPort_AddPort(), test_XcvDataPort_ConfigureLPTPortCommandOK(), test_XcvDataPort_DeletePort(), test_XcvDataPort_GetTransmissionRetryTimeout(), test_XcvDataPort_MonitorUI(), test_XcvDataPort_PortIsValid(), test_XcvDataW_MonitorUI(), test_XcvDataW_PortIsValid(), and XcvDataW().
|
static |
Definition at line 74 of file localmon.c.
Referenced by START_TEST(), test_XcvDataPort_MonitorUI(), and test_XcvDataPort_PortIsValid().
Definition at line 93 of file localmon.c.
Referenced by test_AddPortEx().
Definition at line 47 of file localmon.c.
Definition at line 67 of file localmon.c.
Definition at line 69 of file localmon.c.
Definition at line 47 of file localmon.c.
Definition at line 43 of file localmon.c.
Definition at line 48 of file localmon.c.
|
static |
Definition at line 94 of file localmon.c.
Referenced by START_TEST(), and test_InitializePrintMonitor().
|
static |
Definition at line 212 of file localmon.c.
Referenced by START_TEST(), and test_InitializePrintMonitor2().
Definition at line 102 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK(), and test_XcvDataPort_GetTransmissionRetryTimeout().
|
static |
Definition at line 103 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK().
Definition at line 108 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK(), and test_XcvDataPort_GetTransmissionRetryTimeout().
|
static |
Definition at line 109 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK().
Definition at line 104 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK(), and test_XcvDataPort_GetTransmissionRetryTimeout().
|
static |
Definition at line 105 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK().
Definition at line 106 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK(), and test_XcvDataPort_GetTransmissionRetryTimeout().
|
static |
Definition at line 107 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK().
Definition at line 70 of file localmon.c.
Definition at line 70 of file localmon.c.
Definition at line 49 of file localmon.c.
|
static |
Definition at line 45 of file localmon.c.
Referenced by ATL::AtlComModuleGetClassObject(), AtlModuleGetClassObject(), AtlModuleRegisterTypeLib(), AtlModuleRegisterWndClassInfoA(), AtlModuleRegisterWndClassInfoW(), AtlModuleRevokeClassObjects(), AtlModuleUnregisterServer(), co_UserExcludeUpdateRgn(), D3DXMatrixDecompose(), D3DXMatrixDeterminant(), D3DXMatrixInverse(), D3DXMatrixTranspose(), D3DXPlaneTransform(), D3DXVec2Transform(), D3DXVec2TransformCoord(), D3DXVec2TransformNormal(), D3DXVec3Transform(), D3DXVec3TransformCoord(), D3DXVec3TransformNormal(), D3DXVec4Transform(), ID3DXMatrixStackImpl_LoadMatrix(), ID3DXMatrixStackImpl_MultMatrix(), ID3DXMatrixStackImpl_MultMatrixLocal(), qsort(), START_TEST(), test_InitializePrintMonitor(), test_Matrix_Decompose(), UDFGetPartNumByPhysLba(), and UDFPhysLbaToPart().
|
static |
Definition at line 46 of file localmon.c.
Referenced by D3DXMatrixMultiply(), D3DXMatrixMultiplyTranspose(), LocalDeleteMonitor(), and START_TEST().
Definition at line 112 of file localmon.c.
Referenced by test_ConfigurePort(), and test_XcvDataPort_PortIsValid().
Definition at line 113 of file localmon.c.
Referenced by test_XcvDataPort_PortIsValid().
Definition at line 111 of file localmon.c.
Referenced by find_installed_ports().
Definition at line 114 of file localmon.c.
Referenced by find_installed_ports(), test_ConfigurePort(), test_XcvDataPort_PortIsValid(), and test_XcvOpenPort().
Definition at line 116 of file localmon.c.
Referenced by test_ConfigurePort(), test_XcvDataPort_AddPort(), test_XcvDataPort_PortIsValid(), and test_XcvOpenPort().
Definition at line 117 of file localmon.c.
Referenced by test_XcvDataPort_PortIsValid().
Definition at line 115 of file localmon.c.
Referenced by find_installed_ports().
|
static |
Definition at line 118 of file localmon.c.
Referenced by test_EnumPorts().
Definition at line 130 of file localmon.c.
Referenced by START_TEST(), and test_XcvDataPort_PortIsValid().
Definition at line 131 of file localmon.c.
Referenced by START_TEST(), test_AddPortEx(), test_SIPRetrieveSubjectGUID(), test_XcvDataPort_AddPort(), test_XcvDataPort_DeletePort(), and test_XcvDataPort_PortIsValid().
Definition at line 120 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK(), and test_XcvDataPort_GetTransmissionRetryTimeout().
Definition at line 128 of file localmon.c.
Referenced by check_native_ie(), get_wine_loader_name(), is_wine_loader(), load_driver(), START_TEST(), and test_AddPortEx().
Definition at line 123 of file localmon.c.
Referenced by test_XcvDataPort_ConfigureLPTPortCommandOK(), and test_XcvDataPort_GetTransmissionRetryTimeout().