Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
352c98d7
Commit
352c98d7
authored
Apr 09, 2008
by
John Klehm
Committed by
Alexandre Julliard
Apr 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintab32: Implement WTSetA/W.
parent
7a651e1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
6 deletions
+26
-6
context.c
dlls/wintab32/context.c
+26
-6
No files found.
dlls/wintab32/context.c
View file @
352c98d7
...
@@ -692,11 +692,21 @@ BOOL WINAPI WTGetW(HCTX hCtx, LPLOGCONTEXTW lpLogCtx)
...
@@ -692,11 +692,21 @@ BOOL WINAPI WTGetW(HCTX hCtx, LPLOGCONTEXTW lpLogCtx)
*/
*/
BOOL
WINAPI
WTSetA
(
HCTX
hCtx
,
LPLOGCONTEXTA
lpLogCtx
)
BOOL
WINAPI
WTSetA
(
HCTX
hCtx
,
LPLOGCONTEXTA
lpLogCtx
)
{
{
FIXME
(
"(%p, %p): stub
\n
"
,
hCtx
,
lpLogCtx
)
;
LPOPENCONTEXT
context
;
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
TRACE
(
"hCtx=%p, lpLogCtx=%p
\n
"
,
hCtx
,
lpLogCtx
);
return
FALSE
;
if
(
!
hCtx
||
!
lpLogCtx
)
return
FALSE
;
/* TODO: if cur process not owner of hCtx only modify
* attribs not locked by owner */
EnterCriticalSection
(
&
csTablet
);
context
=
TABLET_FindOpenContext
(
hCtx
);
LOGCONTEXTAtoW
(
lpLogCtx
,
&
context
->
context
);
LeaveCriticalSection
(
&
csTablet
);
return
TRUE
;
}
}
/***********************************************************************
/***********************************************************************
...
@@ -704,11 +714,21 @@ BOOL WINAPI WTSetA(HCTX hCtx, LPLOGCONTEXTA lpLogCtx)
...
@@ -704,11 +714,21 @@ BOOL WINAPI WTSetA(HCTX hCtx, LPLOGCONTEXTA lpLogCtx)
*/
*/
BOOL
WINAPI
WTSetW
(
HCTX
hCtx
,
LPLOGCONTEXTW
lpLogCtx
)
BOOL
WINAPI
WTSetW
(
HCTX
hCtx
,
LPLOGCONTEXTW
lpLogCtx
)
{
{
FIXME
(
"(%p, %p): stub
\n
"
,
hCtx
,
lpLogCtx
)
;
LPOPENCONTEXT
context
;
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
TRACE
(
"hCtx=%p, lpLogCtx=%p
\n
"
,
hCtx
,
lpLogCtx
);
return
FALSE
;
if
(
!
hCtx
||
!
lpLogCtx
)
return
FALSE
;
/* TODO: if cur process not hCtx owner only modify
* attribs not locked by owner */
EnterCriticalSection
(
&
csTablet
);
context
=
TABLET_FindOpenContext
(
hCtx
);
memmove
(
&
context
->
context
,
lpLogCtx
,
sizeof
(
LOGCONTEXTW
));
LeaveCriticalSection
(
&
csTablet
);
return
TRUE
;
}
}
/***********************************************************************
/***********************************************************************
...
...
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