Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
80c3a8f8
Commit
80c3a8f8
authored
Oct 07, 2014
by
Austin English
Committed by
Alexandre Julliard
Oct 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wsnmp32: Add stub for SnmpOpen.
parent
d33ce562
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
wsnmp32.c
dlls/wsnmp32/wsnmp32.c
+6
-0
wsnmp32.spec
dlls/wsnmp32/wsnmp32.spec
+1
-1
winsnmp.h
include/winsnmp.h
+2
-0
No files found.
dlls/wsnmp32/wsnmp32.c
View file @
80c3a8f8
...
@@ -45,6 +45,12 @@ SNMPAPI_STATUS WINAPI SnmpCleanup( void )
...
@@ -45,6 +45,12 @@ SNMPAPI_STATUS WINAPI SnmpCleanup( void )
return
SNMPAPI_SUCCESS
;
return
SNMPAPI_SUCCESS
;
}
}
HSNMP_SESSION
WINAPI
SnmpOpen
(
HWND
hwnd
,
UINT
msg
)
{
FIXME
(
"%p %u
\n
"
,
hwnd
,
msg
);
return
SNMPAPI_FAILURE
;
}
SNMPAPI_STATUS
WINAPI
SnmpSetRetransmitMode
(
smiUINT32
retransmit_mode
)
SNMPAPI_STATUS
WINAPI
SnmpSetRetransmitMode
(
smiUINT32
retransmit_mode
)
{
{
FIXME
(
"%u
\n
"
,
retransmit_mode
);
FIXME
(
"%u
\n
"
,
retransmit_mode
);
...
...
dlls/wsnmp32/wsnmp32.spec
View file @
80c3a8f8
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
120 stub SnmpGetVendorInfo
120 stub SnmpGetVendorInfo
200 stdcall SnmpStartup(ptr ptr ptr ptr ptr)
200 stdcall SnmpStartup(ptr ptr ptr ptr ptr)
201 stdcall SnmpCleanup()
201 stdcall SnmpCleanup()
202 st
ub SnmpOpen
202 st
dcall SnmpOpen(ptr long)
203 stub SnmpClose
203 stub SnmpClose
204 stub SnmpSendMsg
204 stub SnmpSendMsg
205 stub SnmpRecvMsg
205 stub SnmpRecvMsg
...
...
include/winsnmp.h
View file @
80c3a8f8
...
@@ -27,6 +27,7 @@ typedef int smiINT, *smiLPINT;
...
@@ -27,6 +27,7 @@ typedef int smiINT, *smiLPINT;
typedef
smiINT
smiINT32
,
*
smiLPINT32
;
typedef
smiINT
smiINT32
,
*
smiLPINT32
;
typedef
unsigned
int
smiUINT32
,
*
smiLPUINT32
;
typedef
unsigned
int
smiUINT32
,
*
smiLPUINT32
;
typedef
smiUINT32
SNMPAPI_STATUS
;
typedef
smiUINT32
SNMPAPI_STATUS
;
typedef
HANDLE
HSNMP_SESSION
;
#define SNMPAPI_NO_SUPPORT 0
#define SNMPAPI_NO_SUPPORT 0
#define SNMPAPI_V1_SUPPORT 1
#define SNMPAPI_V1_SUPPORT 1
...
@@ -44,6 +45,7 @@ typedef smiUINT32 SNMPAPI_STATUS;
...
@@ -44,6 +45,7 @@ typedef smiUINT32 SNMPAPI_STATUS;
#define SNMPAPI_SUCCESS 1
#define SNMPAPI_SUCCESS 1
SNMPAPI_STATUS
WINAPI
SnmpCleanup
(
void
);
SNMPAPI_STATUS
WINAPI
SnmpCleanup
(
void
);
HSNMP_SESSION
WINAPI
SnmpOpen
(
HWND
,
UINT
);
SNMPAPI_STATUS
WINAPI
SnmpSetRetransmitMode
(
smiUINT32
);
SNMPAPI_STATUS
WINAPI
SnmpSetRetransmitMode
(
smiUINT32
);
SNMPAPI_STATUS
WINAPI
SnmpSetTranslateMode
(
smiUINT32
);
SNMPAPI_STATUS
WINAPI
SnmpSetTranslateMode
(
smiUINT32
);
SNMPAPI_STATUS
WINAPI
SnmpStartup
(
smiLPUINT32
,
smiLPUINT32
,
smiLPUINT32
,
smiLPUINT32
,
smiLPUINT32
);
SNMPAPI_STATUS
WINAPI
SnmpStartup
(
smiLPUINT32
,
smiLPUINT32
,
smiLPUINT32
,
smiLPUINT32
,
smiLPUINT32
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment