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
44fd9a27
Commit
44fd9a27
authored
Jan 02, 2007
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Document ScriptFreeCache, ScriptGetFontProperties, ScriptStringFree and ScriptGetCMap.
parent
21987d3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
4 deletions
+41
-4
usp10.c
dlls/usp10/usp10.c
+41
-4
No files found.
dlls/usp10/usp10.c
View file @
44fd9a27
...
...
@@ -201,16 +201,25 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
/***********************************************************************
* ScriptFreeCache (USP10.@)
*
* Free a script cache.
*
* PARAMS
* psc [I/O] Script cache.
*
* RETURNS
* Success: S_OK
* Failure: Non-zero HRESULT value.
*/
HRESULT
WINAPI
ScriptFreeCache
(
SCRIPT_CACHE
*
psc
)
{
TRACE
(
"%p
\n
"
,
psc
);
if
(
psc
)
{
HeapFree
(
GetProcessHeap
(),
0
,
*
psc
);
if
(
psc
)
{
HeapFree
(
GetProcessHeap
(),
0
,
*
psc
);
*
psc
=
NULL
;
}
return
0
;
return
S_OK
;
}
/***********************************************************************
...
...
@@ -244,6 +253,12 @@ HRESULT WINAPI ScriptGetProperties(const SCRIPT_PROPERTIES ***props, int *num)
/***********************************************************************
* ScriptGetFontProperties (USP10.@)
*
* Get information on special glyphs.
*
* PARAMS
* hdc [I] Device context.
* psc [I/O] Opaque pointer to a script cache.
* sfp [O] Font properties structure.
*/
HRESULT
WINAPI
ScriptGetFontProperties
(
HDC
hdc
,
SCRIPT_CACHE
*
psc
,
SCRIPT_FONTPROPERTIES
*
sfp
)
{
...
...
@@ -776,12 +791,21 @@ HRESULT WINAPI ScriptStringXtoCP(SCRIPT_STRING_ANALYSIS ssa, int iX, int* piCh,
/***********************************************************************
* ScriptStringFree (USP10.@)
*
* Free a string analysis.
*
* PARAMS
* pssa [I] string analysis.
*
* RETURNS
* Success: S_OK
* Failure: Non-zero HRESULT value.
*/
HRESULT
WINAPI
ScriptStringFree
(
SCRIPT_STRING_ANALYSIS
*
pssa
)
{
StringAnalysis
*
analysis
;
BOOL
invalid
;
int
i
;
TRACE
(
"(%p)
\n
"
,
pssa
);
if
(
!
pssa
)
...
...
@@ -1237,9 +1261,22 @@ HRESULT WINAPI ScriptPlace(HDC hdc, SCRIPT_CACHE *psc, const WORD *pwGlyphs,
/***********************************************************************
* ScriptGetCMap (USP10.@)
*
* Retrieve glyph indices.
*
* PARAMS
* hdc [I] Device context.
* psc [I/O] Opaque pointer to a script cache.
* pwcInChars [I] Array of Unicode characters.
* cChars [I] Number of characters in pwcInChars.
* dwFlags [I] Flags.
* pwOutGlyphs [O] Buffer to receive the array of glyph indices.
*
* RETURNS
* Success: S_OK
* Failure: Non-zero HRESULT value.
*/
HRESULT
WINAPI
ScriptGetCMap
(
HDC
hdc
,
SCRIPT_CACHE
*
psc
,
const
WCHAR
*
pwcInChars
,
int
cChars
,
DWORD
dwFlags
,
WORD
*
pwOutGlyphs
)
int
cChars
,
DWORD
dwFlags
,
WORD
*
pwOutGlyphs
)
{
int
cnt
;
HRESULT
hr
;
...
...
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