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
b2d8e496
Commit
b2d8e496
authored
Oct 01, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tapi32: Cast-qual warnings fix.
parent
8588562f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
line.c
dlls/tapi32/line.c
+9
-9
No files found.
dlls/tapi32/line.c
View file @
b2d8e496
...
...
@@ -665,18 +665,18 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
char
buf
[
10
];
numlocations
=
1
;
length
+=
sizeof
(
LINELOCATIONENTRY
)
+
20
;
RegSetValueExA
(
hsubkey
,
"AreaCode"
,
0
,
REG_SZ
,
(
LPBYTE
)
"010"
,
4
);
RegSetValueExA
(
hsubkey
,
"AreaCode"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
"010"
,
4
);
GetLocaleInfoA
(
LOCALE_SYSTEM_DEFAULT
,
LOCALE_ICOUNTRY
,
buf
,
8
);
dwval
=
atoi
(
buf
);
RegSetValueExA
(
hsubkey
,
"Country"
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
dwval
,
sizeof
(
DWORD
));
RegSetValueExA
(
hsubkey
,
"DisableCallWaiting"
,
0
,
REG_SZ
,
(
LPBYTE
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"DisableCallWaiting"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
""
,
1
);
dwval
=
1
;
RegSetValueExA
(
hsubkey
,
"Flags"
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
dwval
,
sizeof
(
DWORD
));
RegSetValueExA
(
hsubkey
,
"LongDistanceAccess"
,
0
,
REG_SZ
,
(
LPBYTE
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"Name"
,
0
,
REG_SZ
,
(
LPBYTE
)
"New Location"
,
13
);
RegSetValueExA
(
hsubkey
,
"OutsideAccess"
,
0
,
REG_SZ
,
(
LPBYTE
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"LongDistanceAccess"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"Name"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
"New Location"
,
13
);
RegSetValueExA
(
hsubkey
,
"OutsideAccess"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
""
,
1
);
RegCloseKey
(
hsubkey
);
dwval
=
1
;
RegSetValueExA
(
hkLocations
,
"CurrentID"
,
0
,
REG_DWORD
,
...
...
@@ -723,13 +723,13 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
DWORD
dwval
;
numcards
=
1
;
length
+=
sizeof
(
LINECARDENTRY
)
+
22
;
RegSetValueExA
(
hsubkey
,
"Name"
,
0
,
REG_SZ
,
(
LPBYTE
)
"None (Direct Call)"
,
19
);
RegSetValueExA
(
hsubkey
,
"Name"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
"None (Direct Call)"
,
19
);
dwval
=
1
;
RegSetValueExA
(
hsubkey
,
"Flags"
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
dwval
,
sizeof
(
DWORD
));
RegSetValueExA
(
hsubkey
,
"InternationalRule"
,
0
,
REG_SZ
,
(
LPBYTE
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"LDRule"
,
0
,
REG_SZ
,
(
LPBYTE
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"LocalRule"
,
0
,
REG_SZ
,
(
LPBYTE
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"InternationalRule"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"LDRule"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
""
,
1
);
RegSetValueExA
(
hsubkey
,
"LocalRule"
,
0
,
REG_SZ
,
(
const
BYTE
*
)
""
,
1
);
RegCloseKey
(
hsubkey
);
dwval
=
2
;
RegSetValueExA
(
hkCards
,
"NextID"
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
dwval
,
...
...
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