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
d5936f42
Commit
d5936f42
authored
Feb 17, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Make WINTRUST_ReAlloc() static.
parent
443fdf27
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
wintrust_main.c
dlls/wintrust/wintrust_main.c
+17
-14
wintrust_priv.h
dlls/wintrust/wintrust_priv.h
+0
-1
No files found.
dlls/wintrust/wintrust_main.c
View file @
d5936f42
...
...
@@ -41,6 +41,23 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wintrust
);
/* Utility functions */
void
*
WINAPI
WINTRUST_Alloc
(
DWORD
cb
)
{
return
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
cb
);
}
static
void
*
WINTRUST_ReAlloc
(
void
*
ptr
,
DWORD
cb
)
__WINE_ALLOC_SIZE
(
2
);
static
void
*
WINTRUST_ReAlloc
(
void
*
ptr
,
DWORD
cb
)
{
return
HeapReAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
ptr
,
cb
);
}
void
WINAPI
WINTRUST_Free
(
void
*
p
)
{
HeapFree
(
GetProcessHeap
(),
0
,
p
);
}
/***********************************************************************
* DllMain (WINTRUST.@)
*/
...
...
@@ -888,20 +905,6 @@ BOOL WINAPI WintrustSetRegPolicyFlags( DWORD dwPolicyFlags)
}
/* Utility functions */
void
*
WINAPI
WINTRUST_Alloc
(
DWORD
cb
)
{
return
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
cb
);
}
void
*
WINAPI
WINTRUST_ReAlloc
(
void
*
ptr
,
DWORD
cb
)
{
return
HeapReAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
ptr
,
cb
);
}
void
WINAPI
WINTRUST_Free
(
void
*
p
)
{
HeapFree
(
GetProcessHeap
(),
0
,
p
);
}
BOOL
WINAPI
WINTRUST_AddStore
(
CRYPT_PROVIDER_DATA
*
data
,
HCERTSTORE
store
)
{
...
...
dlls/wintrust/wintrust_priv.h
View file @
d5936f42
...
...
@@ -19,7 +19,6 @@
#define __WINTRUST_PRIV_H__
void
*
WINAPI
WINTRUST_Alloc
(
DWORD
cb
)
__WINE_ALLOC_SIZE
(
1
);
void
*
WINAPI
WINTRUST_ReAlloc
(
void
*
ptr
,
DWORD
cb
)
__WINE_ALLOC_SIZE
(
2
);
void
WINAPI
WINTRUST_Free
(
void
*
p
);
BOOL
WINAPI
WINTRUST_AddStore
(
CRYPT_PROVIDER_DATA
*
data
,
HCERTSTORE
store
);
BOOL
WINAPI
WINTRUST_AddSgnr
(
CRYPT_PROVIDER_DATA
*
data
,
...
...
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