/*1* capi20 Unix library2*3* Copyright 2021 Alexandre Julliard4*5* This library is free software; you can redistribute it and/or6* modify it under the terms of the GNU Lesser General Public7* License as published by the Free Software Foundation; either8* version 2.1 of the License, or (at your option) any later version.9*10* This library is distributed in the hope that it will be useful,11* but WITHOUT ANY WARRANTY; without even the implied warranty of12* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU13* Lesser General Public License for more details.14*15* You should have received a copy of the GNU Lesser General Public16* License along with this library; if not, write to the Free Software17* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA18*19*/2021#include <stdarg.h>2223#include "windef.h"24#include "winbase.h"25#include "winternl.h"26#include "wine/unixlib.h"2728struct register_params29{30DWORD MessageBufferSize;31DWORD maxLogicalConnection;32DWORD maxBDataBlocks;33DWORD maxBDataLen;34DWORD *pApplID;35};3637struct release_params38{39DWORD ApplID;40};4142struct put_message_params43{44DWORD ApplID;45PVOID pCAPIMessage;46};4748struct get_message_params49{50DWORD ApplID;51PVOID *ppCAPIMessage;52};5354struct waitformessage_params55{56DWORD ApplID;57};5859struct get_manufacturer_params60{61char *SzBuffer;62};6364struct get_version_params65{66DWORD *pCAPIMajor;67DWORD *pCAPIMinor;68DWORD *pManufacturerMajor;69DWORD *pManufacturerMinor;70};7172struct get_serial_number_params73{74char *SzBuffer;75};7677struct get_profile_params78{79PVOID SzBuffer;80DWORD CtlrNr;81};8283enum capi20_funcs84{85unix_register,86unix_release,87unix_put_message,88unix_get_message,89unix_waitformessage,90unix_get_manufacturer,91unix_get_version,92unix_get_serial_number,93unix_get_profile,94unix_isinstalled,95unix_funcs_count96};979899