wined3d: No longer make sub-resources full resources.
[wine.git] / include / winsnmp.h
blob79a5e88fd8ae78333aa0c8e410f5a962b4b1191d
1 /*
2 * Copyright 2013 Hans Leidekker for CodeWeavers.
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_WINSNMP_H
20 #define __WINE_WINSNMP_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 typedef int smiINT, *smiLPINT;
27 typedef smiINT smiINT32, *smiLPINT32;
28 typedef unsigned int smiUINT32, *smiLPUINT32;
29 typedef smiUINT32 SNMPAPI_STATUS;
30 typedef HANDLE HSNMP_SESSION;
32 #define SNMPAPI_NO_SUPPORT 0
33 #define SNMPAPI_V1_SUPPORT 1
34 #define SNMPAPI_V2_SUPPORT 2
35 #define SNMPAPI_M2M_SUPPORT 3
37 #define SNMPAPI_TRANSLATED 0
38 #define SNMPAPI_UNTRANSLATED_V1 1
39 #define SNMPAPI_UNTRANSLATED_V2 2
41 #define SNMPAPI_OFF 0
42 #define SNMPAPI_ON 1
44 #define SNMPAPI_FAILURE 0
45 #define SNMPAPI_SUCCESS 1
47 SNMPAPI_STATUS WINAPI SnmpCleanup(void);
48 HSNMP_SESSION WINAPI SnmpOpen(HWND,UINT);
49 SNMPAPI_STATUS WINAPI SnmpSetRetransmitMode(smiUINT32);
50 SNMPAPI_STATUS WINAPI SnmpSetTranslateMode(smiUINT32);
51 SNMPAPI_STATUS WINAPI SnmpStartup(smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32,smiLPUINT32);
53 #ifdef __cplusplus
55 #endif
57 #endif /* __WINE_WINSNMP_H */