ReactOS  0.4.15-dev-1206-g731eddf
serialui.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS SerialUI DLL
4  * FILE: serialui.h
5  * PURPOSE: header file
6  * PROGRAMMERS: Saveliy Tretiakov (saveliyt@mail.ru)
7  */
8 
9 #define WIN32_NO_STATUS
10 #define _INC_WINDOWS
11 #define COM_NO_WINDOWS_H
12 #include <stdarg.h>
13 #include <windef.h>
14 #include <winbase.h>
15 #include <winuser.h>
16 #include <winnls.h>
17 
18 #include "resource.h"
19 
20 #define UNIMPLEMENTED \
21  return ERROR_CALL_NOT_IMPLEMENTED ;
22 
23 #define DEFAULT_BAUD_INDEX 6
24 #define DEFAULT_BYTESIZE_INDEX 3
25 #define DEFAULT_PARITY_INDEX 2
26 #define DEFAULT_STOPBITS_INDEX 0
27 
28 typedef struct _DIALOG_INFO
29 {
34 
35 typedef struct _PARITY_INFO
36 {
40 
41 typedef struct _STOPBIT_INFO
42 {
46 
47 
48 /************************************
49  *
50  * EXPORTS
51  *
52  ************************************/
53 
55  HWND hWnd,
56  LPCOMMCONFIG lpCommConfig);
57 
59  HWND hWnd,
60  LPCOMMCONFIG lpCommConfig);
61 
63  LPCOMMCONFIG lpCommConfig,
64  DWORD dwSize);
65 
67  LPCOMMCONFIG lpCommConfig,
68  DWORD dwSize);
69 
71  LPCOMMCONFIG lpCommConfig,
73 
75  LPCOMMCONFIG lpCommConfig,
77 
78 
79 /************************************
80  *
81  * INTERNALS
82  *
83  ************************************/
84 
85 INT_PTR
88  HWND hDlg,
89  UINT Msg,
90  WPARAM wParam,
91  LPARAM lParam);
92 
93 VOID OkButton(HWND hDlg);
94 
95 
DWORD WINAPI drvCommConfigDialogW(LPCWSTR lpszDevice, HWND hWnd, LPCOMMCONFIG lpCommConfig)
Definition: serialui.c:101
LPCWSTR lpszDevice
Definition: serialui.h:30
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
struct _DIALOG_INFO * LPDIALOG_INFO
#define CALLBACK
Definition: compat.h:35
HWND hWnd
Definition: settings.c:17
DWORD WINAPI drvSetDefaultCommConfigW(LPCWSTR lpszDevice, LPCOMMCONFIG lpCommConfig, DWORD dwSize)
Definition: serialui.c:145
struct @1610 Msg[]
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:64
LPCOMMCONFIG lpCC
Definition: serialui.h:32
WPARAM wParam
Definition: combotst.c:138
struct _STOPBIT_INFO STOPBIT_INFO
struct _DIALOG_INFO DIALOG_INFO
BYTE Parity
Definition: serialui.h:37
DWORD WINAPI drvSetDefaultCommConfigA(LPCSTR lpszDevice, LPCOMMCONFIG lpCommConfig, DWORD dwSize)
Definition: serialui.c:155
LONG_PTR LPARAM
Definition: windef.h:208
const char * LPCSTR
Definition: xmlstorage.h:183
BYTE StopBit
Definition: serialui.h:43
struct _PARITY_INFO * PPARITY_INFO
UINT InitialFlowIndex
Definition: serialui.h:31
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
UINT StrId
Definition: serialui.h:38
DWORD WINAPI drvGetDefaultCommConfigA(LPCSTR lpszDevice, LPCOMMCONFIG lpCommConfig, LPDWORD lpdwSize)
Definition: serialui.c:175
struct _STOPBIT_INFO * PSTOPBIT_INFO
DWORD WINAPI drvCommConfigDialogA(LPCSTR lpszDevice, HWND hWnd, LPCOMMCONFIG lpCommConfig)
Definition: serialui.c:122
INT_PTR CALLBACK CommDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
Definition: serialui.c:191
unsigned char BYTE
Definition: xxhash.c:193
static DWORD LPSTR PDWORD lpdwSize
Definition: process.c:72
unsigned int UINT
Definition: ndis.h:50
DWORD WINAPI drvGetDefaultCommConfigW(LPCWSTR lpszDevice, LPCOMMCONFIG lpCommConfig, LPDWORD lpdwSize)
Definition: serialui.c:165
UINT StrId
Definition: serialui.h:44
uint32_t * LPDWORD
Definition: typedefs.h:59
VOID OkButton(HWND hDlg)
Definition: serialui.c:362
LPARAM lParam
Definition: combotst.c:139
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:54
struct _PARITY_INFO PARITY_INFO