Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/dlls/capi2032/unixlib.h
4388 views
1
/*
2
* capi20 Unix library
3
*
4
* Copyright 2021 Alexandre Julliard
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19
*
20
*/
21
22
#include <stdarg.h>
23
24
#include "windef.h"
25
#include "winbase.h"
26
#include "winternl.h"
27
#include "wine/unixlib.h"
28
29
struct register_params
30
{
31
DWORD MessageBufferSize;
32
DWORD maxLogicalConnection;
33
DWORD maxBDataBlocks;
34
DWORD maxBDataLen;
35
DWORD *pApplID;
36
};
37
38
struct release_params
39
{
40
DWORD ApplID;
41
};
42
43
struct put_message_params
44
{
45
DWORD ApplID;
46
PVOID pCAPIMessage;
47
};
48
49
struct get_message_params
50
{
51
DWORD ApplID;
52
PVOID *ppCAPIMessage;
53
};
54
55
struct waitformessage_params
56
{
57
DWORD ApplID;
58
};
59
60
struct get_manufacturer_params
61
{
62
char *SzBuffer;
63
};
64
65
struct get_version_params
66
{
67
DWORD *pCAPIMajor;
68
DWORD *pCAPIMinor;
69
DWORD *pManufacturerMajor;
70
DWORD *pManufacturerMinor;
71
};
72
73
struct get_serial_number_params
74
{
75
char *SzBuffer;
76
};
77
78
struct get_profile_params
79
{
80
PVOID SzBuffer;
81
DWORD CtlrNr;
82
};
83
84
enum capi20_funcs
85
{
86
unix_register,
87
unix_release,
88
unix_put_message,
89
unix_get_message,
90
unix_waitformessage,
91
unix_get_manufacturer,
92
unix_get_version,
93
unix_get_serial_number,
94
unix_get_profile,
95
unix_isinstalled,
96
unix_funcs_count
97
};
98
99