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
82bab328
Commit
82bab328
authored
Mar 31, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/dsa: Implement DSA_GetSize().
parent
ff0634df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
comctl32.spec
dlls/comctl32/comctl32.spec
+2
-1
dsa.c
dlls/comctl32/dsa.c
+20
-0
No files found.
dlls/comctl32/comctl32.spec
View file @
82bab328
...
...
@@ -127,11 +127,12 @@
@ stdcall DestroyPropertySheetPage(long)
@ stdcall -private DllGetVersion(ptr)
@ stdcall -private DllInstall(long wstr)
@ stdcall DPA_GetSize(ptr)
@ stdcall
-ret64
DPA_GetSize(ptr)
@ stdcall DrawShadowText(long wstr long ptr long long long long long)
@ stdcall DrawStatusText(long ptr ptr long) DrawStatusTextA
@ stdcall DrawStatusTextW(long ptr wstr long)
@ stdcall DSA_Clone(ptr)
@ stdcall -ret64 DSA_GetSize(ptr)
@ stdcall FlatSB_EnableScrollBar (long long long)
@ stdcall FlatSB_GetScrollInfo (long long ptr)
@ stdcall FlatSB_GetScrollPos (long long)
...
...
dlls/comctl32/dsa.c
View file @
82bab328
...
...
@@ -470,3 +470,23 @@ HDSA WINAPI DSA_Clone(HDSA hdsa)
return
dest
;
}
/**************************************************************************
* DSA_GetSize [COMCTL32.@]
*
* Returns allocated memory size for this array
*
* PARAMS
* hdsa [I] handle to the dynamic storage array
*
* RETURNS
* Size
*/
ULONGLONG
WINAPI
DSA_GetSize
(
HDSA
hdsa
)
{
TRACE
(
"(%p)
\n
"
,
hdsa
);
if
(
!
hdsa
)
return
0
;
return
sizeof
(
*
hdsa
)
+
hdsa
->
nMaxCount
*
hdsa
->
nItemSize
;
}
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