ReactOS 0.4.15-dev-7711-g5627da4
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
28typedef struct _DIALOG_INFO
29{
34
35typedef struct _PARITY_INFO
36{
40
41typedef 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,
65
67 LPCOMMCONFIG lpCommConfig,
69
71 LPCOMMCONFIG lpCommConfig,
73
75 LPCOMMCONFIG lpCommConfig,
77
78
79/************************************
80 *
81 * INTERNALS
82 *
83 ************************************/
84
88 HWND hDlg,
89 UINT Msg,
92
93VOID OkButton(HWND hDlg);
94
95
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
struct @1628 Msg[]
LPARAM lParam
Definition: combotst.c:139
#define CALLBACK
Definition: compat.h:35
unsigned long DWORD
Definition: ntddk_ex.h:95
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
static DWORD LPSTR PDWORD lpdwSize
Definition: process.c:72
unsigned int UINT
Definition: ndis.h:50
VOID OkButton(HWND hDlg)
Definition: serialui.c:362
struct _DIALOG_INFO * LPDIALOG_INFO
DWORD WINAPI drvGetDefaultCommConfigA(LPCSTR lpszDevice, LPCOMMCONFIG lpCommConfig, LPDWORD lpdwSize)
Definition: serialui.c:175
DWORD WINAPI drvSetDefaultCommConfigA(LPCSTR lpszDevice, LPCOMMCONFIG lpCommConfig, DWORD dwSize)
Definition: serialui.c:155
DWORD WINAPI drvSetDefaultCommConfigW(LPCWSTR lpszDevice, LPCOMMCONFIG lpCommConfig, DWORD dwSize)
Definition: serialui.c:145
struct _STOPBIT_INFO STOPBIT_INFO
DWORD WINAPI drvGetDefaultCommConfigW(LPCWSTR lpszDevice, LPCOMMCONFIG lpCommConfig, LPDWORD lpdwSize)
Definition: serialui.c:165
DWORD WINAPI drvCommConfigDialogW(LPCWSTR lpszDevice, HWND hWnd, LPCOMMCONFIG lpCommConfig)
Definition: serialui.c:101
struct _DIALOG_INFO DIALOG_INFO
INT_PTR CALLBACK CommDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
Definition: serialui.c:191
struct _STOPBIT_INFO * PSTOPBIT_INFO
DWORD WINAPI drvCommConfigDialogA(LPCSTR lpszDevice, HWND hWnd, LPCOMMCONFIG lpCommConfig)
Definition: serialui.c:122
struct _PARITY_INFO PARITY_INFO
struct _PARITY_INFO * PPARITY_INFO
LPCOMMCONFIG lpCC
Definition: serialui.h:32
UINT InitialFlowIndex
Definition: serialui.h:31
LPCWSTR lpszDevice
Definition: serialui.h:30
UINT StrId
Definition: serialui.h:38
BYTE Parity
Definition: serialui.h:37
UINT StrId
Definition: serialui.h:44
BYTE StopBit
Definition: serialui.h:43
int32_t INT_PTR
Definition: typedefs.h:64
uint32_t * LPDWORD
Definition: typedefs.h:59
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
#define WINAPI
Definition: msvc.h:6
const char * LPCSTR
Definition: xmlstorage.h:183
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
unsigned char BYTE
Definition: xxhash.c:193