dxdiagn: Fix string copy behavior with an excessively short buffer in IDxDiagContaine...
[wine/hramrach.git] / include / mprapi.h
blob2eec3b93ad4b39b374f625baf2e4bf66a11a02d5
1 /*
2 * Copyright (C) 2006 Dmitry Timoshkov
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_MPRAPI_H
20 #define __WINE_MPRAPI_H
22 #include <lmcons.h>
23 #include <ras.h>
24 /* FIXME: #include <in6addr.h> */
26 #define MAX_DEVICE_NAME 128
27 #define MAX_DEVICETYPE_NAME 16
28 #define MAX_INTERFACE_NAME_LEN 256
29 #define MAX_MEDIA_NAME 16
30 #define MAX_PHONE_NUMBER_LEN 128
31 #define MAX_PORT_NAME 16
32 #define MAX_TRANSPORT_NAME_LEN 40
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
39 BOOL APIENTRY MprAdminIsServiceRunning(LPWSTR);
41 #ifdef __cplusplus
43 #endif
45 #endif /* __WINE_MPRAPI_H */