Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
92cbda0a
Commit
92cbda0a
authored
Jan 14, 2007
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
snmpapi: Implement SnmpUtilMem{Alloc,Free,ReAlloc}.
parent
7d89e52f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
main.c
dlls/snmpapi/main.c
+18
-0
snmpapi.spec
dlls/snmpapi/snmpapi.spec
+3
-3
No files found.
dlls/snmpapi/main.c
View file @
92cbda0a
...
...
@@ -53,6 +53,24 @@ BOOL WINAPI DllMain(
return
TRUE
;
}
LPVOID
WINAPI
SnmpUtilMemAlloc
(
UINT
nbytes
)
{
TRACE
(
"(%d)
\n
"
,
nbytes
);
return
HeapAlloc
(
GetProcessHeap
(),
0
,
nbytes
);
}
LPVOID
WINAPI
SnmpUtilMemReAlloc
(
LPVOID
mem
,
UINT
nbytes
)
{
TRACE
(
"(%p, %d)
\n
"
,
mem
,
nbytes
);
return
HeapReAlloc
(
GetProcessHeap
(),
0
,
mem
,
nbytes
);
}
void
WINAPI
SnmpUtilMemFree
(
LPVOID
mem
)
{
TRACE
(
"(%p)
\n
"
,
mem
);
HeapFree
(
GetProcessHeap
(),
0
,
mem
);
}
INT
WINAPI
SnmpUtilOidCpy
(
AsnObjectIdentifier
*
dst
,
AsnObjectIdentifier
*
src
)
{
unsigned
int
i
,
size
;
...
...
dlls/snmpapi/snmpapi.spec
View file @
92cbda0a
...
...
@@ -22,9 +22,9 @@
@ stub SnmpUtilAsnAnyFree
@ stub SnmpUtilDbgPrint
@ stub SnmpUtilIdsToA
@ st
ub SnmpUtilMemAlloc
@ st
ub SnmpUtilMemFree
@ st
ub SnmpUtilMemReAlloc
@ st
dcall SnmpUtilMemAlloc(long)
@ st
dcall SnmpUtilMemFree(ptr)
@ st
dcall SnmpUtilMemReAlloc(ptr long)
@ stub SnmpUtilOctetsCmp
@ stub SnmpUtilOctetsCpy
@ stub SnmpUtilOctetsFree
...
...
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