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
64329de2
Commit
64329de2
authored
Jul 22, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store the SysIP property using a string to avoid trouble with 16-bit
apps that don't expect an atom.
parent
3ff8239d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
winpos.c
dlls/user/winpos.c
+3
-7
No files found.
dlls/user/winpos.c
View file @
64329de2
...
...
@@ -75,20 +75,16 @@ typedef struct
HWND
hwndIconTitle
;
}
INTERNALPOS
,
*
LPINTERNALPOS
;
/* ----- internal variables ----- */
static
LPCSTR
atomInternalPos
;
/* ----- internal functions ----- */
static
inline
INTERNALPOS
*
get_internal_pos
(
HWND
hwnd
)
{
if
(
!
atomInternalPos
)
return
NULL
;
return
GetPropA
(
hwnd
,
atomInternalPos
);
return
GetPropA
(
hwnd
,
"SysIP"
);
}
static
inline
void
set_internal_pos
(
HWND
hwnd
,
INTERNALPOS
*
pos
)
{
if
(
!
atomInternalPos
)
atomInternalPos
=
(
LPCSTR
)(
DWORD
)
GlobalAddAtomA
(
"SysIP"
);
SetPropA
(
hwnd
,
atomInternalPos
,
pos
);
SetPropA
(
hwnd
,
"SysIP"
,
pos
);
}
/***********************************************************************
...
...
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