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
9692f48a
Commit
9692f48a
authored
Feb 18, 2020
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activeds: Implement AllocADsStr and FreeADsStr.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e8960174
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
activeds_main.c
dlls/activeds/activeds_main.c
+15
-4
No files found.
dlls/activeds/activeds_main.c
View file @
9692f48a
...
@@ -237,8 +237,18 @@ LPVOID WINAPI ReallocADsMem(LPVOID pOldMem, DWORD cbOld, DWORD cbNew)
...
@@ -237,8 +237,18 @@ LPVOID WINAPI ReallocADsMem(LPVOID pOldMem, DWORD cbOld, DWORD cbNew)
*/
*/
LPWSTR
WINAPI
AllocADsStr
(
LPWSTR
pStr
)
LPWSTR
WINAPI
AllocADsStr
(
LPWSTR
pStr
)
{
{
FIXME
(
"(%p)!stub
\n
"
,
pStr
);
LPWSTR
ret
;
return
NULL
;
SIZE_T
len
;
TRACE
(
"(%p)
\n
"
,
pStr
);
if
(
!
pStr
)
return
NULL
;
len
=
(
wcslen
(
pStr
)
+
1
)
*
sizeof
(
WCHAR
);
ret
=
AllocADsMem
(
len
);
if
(
ret
)
memcpy
(
ret
,
pStr
,
len
);
return
ret
;
}
}
/*****************************************************
/*****************************************************
...
@@ -246,8 +256,9 @@ LPWSTR WINAPI AllocADsStr(LPWSTR pStr)
...
@@ -246,8 +256,9 @@ LPWSTR WINAPI AllocADsStr(LPWSTR pStr)
*/
*/
BOOL
WINAPI
FreeADsStr
(
LPWSTR
pStr
)
BOOL
WINAPI
FreeADsStr
(
LPWSTR
pStr
)
{
{
FIXME
(
"(%p)!stub
\n
"
,
pStr
);
TRACE
(
"(%p)
\n
"
,
pStr
);
return
FALSE
;
return
FreeADsMem
(
pStr
);
}
}
/*****************************************************
/*****************************************************
...
...
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