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
c26a816f
Commit
c26a816f
authored
Apr 08, 2007
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Remove debug traces from allocation routines.
parent
9970ccb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
misc.c
dlls/setupapi/misc.c
+0
-10
No files found.
dlls/setupapi/misc.c
View file @
c26a816f
...
@@ -51,7 +51,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
...
@@ -51,7 +51,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
*/
*/
VOID
WINAPI
MyFree
(
LPVOID
lpMem
)
VOID
WINAPI
MyFree
(
LPVOID
lpMem
)
{
{
TRACE
(
"%p
\n
"
,
lpMem
);
HeapFree
(
GetProcessHeap
(),
0
,
lpMem
);
HeapFree
(
GetProcessHeap
(),
0
,
lpMem
);
}
}
...
@@ -70,7 +69,6 @@ VOID WINAPI MyFree(LPVOID lpMem)
...
@@ -70,7 +69,6 @@ VOID WINAPI MyFree(LPVOID lpMem)
*/
*/
LPVOID
WINAPI
MyMalloc
(
DWORD
dwSize
)
LPVOID
WINAPI
MyMalloc
(
DWORD
dwSize
)
{
{
TRACE
(
"%u
\n
"
,
dwSize
);
return
HeapAlloc
(
GetProcessHeap
(),
0
,
dwSize
);
return
HeapAlloc
(
GetProcessHeap
(),
0
,
dwSize
);
}
}
...
@@ -95,8 +93,6 @@ LPVOID WINAPI MyMalloc(DWORD dwSize)
...
@@ -95,8 +93,6 @@ LPVOID WINAPI MyMalloc(DWORD dwSize)
*/
*/
LPVOID
WINAPI
MyRealloc
(
LPVOID
lpSrc
,
DWORD
dwSize
)
LPVOID
WINAPI
MyRealloc
(
LPVOID
lpSrc
,
DWORD
dwSize
)
{
{
TRACE
(
"%p %u
\n
"
,
lpSrc
,
dwSize
);
if
(
lpSrc
==
NULL
)
if
(
lpSrc
==
NULL
)
return
HeapAlloc
(
GetProcessHeap
(),
0
,
dwSize
);
return
HeapAlloc
(
GetProcessHeap
(),
0
,
dwSize
);
...
@@ -123,8 +119,6 @@ LPWSTR WINAPI DuplicateString(LPCWSTR lpSrc)
...
@@ -123,8 +119,6 @@ LPWSTR WINAPI DuplicateString(LPCWSTR lpSrc)
{
{
LPWSTR
lpDst
;
LPWSTR
lpDst
;
TRACE
(
"%s
\n
"
,
debugstr_w
(
lpSrc
));
lpDst
=
MyMalloc
((
lstrlenW
(
lpSrc
)
+
1
)
*
sizeof
(
WCHAR
));
lpDst
=
MyMalloc
((
lstrlenW
(
lpSrc
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
lpDst
==
NULL
)
if
(
lpDst
==
NULL
)
return
NULL
;
return
NULL
;
...
@@ -285,8 +279,6 @@ LPWSTR WINAPI MultiByteToUnicode(LPCSTR lpMultiByteStr, UINT uCodePage)
...
@@ -285,8 +279,6 @@ LPWSTR WINAPI MultiByteToUnicode(LPCSTR lpMultiByteStr, UINT uCodePage)
LPWSTR
lpUnicodeStr
;
LPWSTR
lpUnicodeStr
;
int
nLength
;
int
nLength
;
TRACE
(
"%s %d
\n
"
,
debugstr_a
(
lpMultiByteStr
),
uCodePage
);
nLength
=
MultiByteToWideChar
(
uCodePage
,
0
,
lpMultiByteStr
,
nLength
=
MultiByteToWideChar
(
uCodePage
,
0
,
lpMultiByteStr
,
-
1
,
NULL
,
0
);
-
1
,
NULL
,
0
);
if
(
nLength
==
0
)
if
(
nLength
==
0
)
...
@@ -328,8 +320,6 @@ LPSTR WINAPI UnicodeToMultiByte(LPCWSTR lpUnicodeStr, UINT uCodePage)
...
@@ -328,8 +320,6 @@ LPSTR WINAPI UnicodeToMultiByte(LPCWSTR lpUnicodeStr, UINT uCodePage)
LPSTR
lpMultiByteStr
;
LPSTR
lpMultiByteStr
;
int
nLength
;
int
nLength
;
TRACE
(
"%s %d
\n
"
,
debugstr_w
(
lpUnicodeStr
),
uCodePage
);
nLength
=
WideCharToMultiByte
(
uCodePage
,
0
,
lpUnicodeStr
,
-
1
,
nLength
=
WideCharToMultiByte
(
uCodePage
,
0
,
lpUnicodeStr
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
NULL
,
0
,
NULL
,
NULL
);
if
(
nLength
==
0
)
if
(
nLength
==
0
)
...
...
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