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
536e7385
Commit
536e7385
authored
Feb 14, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling fixes.
parent
ce84a438
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
36 additions
and
36 deletions
+36
-36
atl_main.c
dlls/atl/atl_main.c
+2
-2
string.c
dlls/comctl32/string.c
+1
-1
printdlg.c
dlls/comdlg32/printdlg.c
+4
-4
imalloc.c
dlls/mapi32/tests/imalloc.c
+2
-2
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+1
-1
vartest.c
dlls/oleaut32/tests/vartest.c
+2
-2
shelllink.c
dlls/shell32/shelllink.c
+2
-2
shellord.c
dlls/shell32/shellord.c
+2
-2
shlfolder.c
dlls/shell32/tests/shlfolder.c
+2
-2
string.c
dlls/shlwapi/string.c
+3
-3
dsoutput.c
dlls/winealsa.drv/dsoutput.c
+1
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-1
state.c
dlls/wined3d/state.c
+1
-1
info.c
dlls/winspool.drv/tests/info.c
+1
-1
socket.c
dlls/ws2_32/socket.c
+1
-1
ddraw.h
include/ddraw.h
+8
-8
mmsystem16.h
include/wine/mmsystem16.h
+1
-1
main.c
programs/uninstaller/main.c
+1
-1
No files found.
dlls/atl/atl_main.c
View file @
536e7385
...
@@ -421,8 +421,8 @@ HRESULT WINAPI AtlModuleUnregisterServer(_ATL_MODULEW *pm, const CLSID *clsid)
...
@@ -421,8 +421,8 @@ HRESULT WINAPI AtlModuleUnregisterServer(_ATL_MODULEW *pm, const CLSID *clsid)
* NOTES
* NOTES
* Can be called multiple times without error, unlike RegisterClassEx().
* Can be called multiple times without error, unlike RegisterClassEx().
*
*
* If the class name is NULL
then it
a class with a name of "ATLxxxxxxxx" is
* If the class name is NULL
, then
a class with a name of "ATLxxxxxxxx" is
* registered, where the
x's represent an
unique value.
* registered, where the
'x's represent a
unique value.
*
*
*/
*/
ATOM
WINAPI
AtlModuleRegisterWndClassInfoW
(
_ATL_MODULEW
*
pm
,
_ATL_WNDCLASSINFOW
*
wci
,
WNDPROC
*
pProc
)
ATOM
WINAPI
AtlModuleRegisterWndClassInfoW
(
_ATL_MODULEW
*
pm
,
_ATL_WNDCLASSINFOW
*
wci
,
WNDPROC
*
pProc
)
...
...
dlls/comctl32/string.c
View file @
536e7385
...
@@ -48,7 +48,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commctrl);
...
@@ -48,7 +48,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commctrl);
* Internal helper for ChrCmpA/COMCTL32_ChrCmpIA.
* Internal helper for ChrCmpA/COMCTL32_ChrCmpIA.
*
*
* NOTES
* NOTES
* Both this function and its Unicode counterpart are very in
ne
ficient. To
* Both this function and its Unicode counterpart are very in
ef
ficient. To
* fix this, CompareString must be completely implemented and optimised
* fix this, CompareString must be completely implemented and optimised
* first. Then the core character test can be taken out of that function and
* first. Then the core character test can be taken out of that function and
* placed here, so that it need never be called at all. Until then, do not
* placed here, so that it need never be called at all. Until then, do not
...
...
dlls/comdlg32/printdlg.c
View file @
536e7385
...
@@ -2301,7 +2301,7 @@ BOOL WINAPI PrintDlgW(LPPRINTDLGW lppd)
...
@@ -2301,7 +2301,7 @@ BOOL WINAPI PrintDlgW(LPPRINTDLGW lppd)
* PageSetupDlg
* PageSetupDlg
* rad1 - portrait
* rad1 - portrait
* rad2 - landscape
* rad2 - landscape
* cmb1 - printer select (not in standar
t
dialog template)
* cmb1 - printer select (not in standar
d
dialog template)
* cmb2 - paper size
* cmb2 - paper size
* cmb3 - source (tray?)
* cmb3 - source (tray?)
* edt4 - border left
* edt4 - border left
...
@@ -2315,7 +2315,7 @@ typedef struct {
...
@@ -2315,7 +2315,7 @@ typedef struct {
LPPAGESETUPDLGA
dlga
;
/* Handler to user defined struct */
LPPAGESETUPDLGA
dlga
;
/* Handler to user defined struct */
PRINTDLGA
pdlg
;
PRINTDLGA
pdlg
;
HWND
hDlg
;
/* Page Setup dialog handler */
HWND
hDlg
;
/* Page Setup dialog handler */
PAGESETUPDLGA
curdlg
;
/* St
ruct means ce
rrent dialog state */
PAGESETUPDLGA
curdlg
;
/* St
ores the cu
rrent dialog state */
RECT
rtDrawRect
;
/* Drawing rect for page */
RECT
rtDrawRect
;
/* Drawing rect for page */
}
PageSetupDataA
;
}
PageSetupDataA
;
...
@@ -2479,8 +2479,8 @@ _c_str2sizeW(PAGESETUPDLGW *dlga, LPCWSTR strin) {
...
@@ -2479,8 +2479,8 @@ _c_str2sizeW(PAGESETUPDLGW *dlga, LPCWSTR strin) {
*
*
* PARAMS
* PARAMS
* hDlg [in] main window dialog HANDLE
* hDlg [in] main window dialog HANDLE
* pda [in/out] ptr to PageSetupDataA struct
e
re
* pda [in/out] ptr to PageSetupDataA struct
u
re
*
*
* RETURNS
* RETURNS
* TRUE
* TRUE
*/
*/
...
...
dlls/mapi32/tests/imalloc.c
View file @
536e7385
...
@@ -53,13 +53,13 @@ static void test_IMalloc(void)
...
@@ -53,13 +53,13 @@ static void test_IMalloc(void)
lpVoid
=
NULL
;
lpVoid
=
NULL
;
hRet
=
IMalloc_QueryInterface
(
lpMalloc
,
&
IID_IUnknown
,
&
lpVoid
);
hRet
=
IMalloc_QueryInterface
(
lpMalloc
,
&
IID_IUnknown
,
&
lpVoid
);
ok
(
hRet
==
S_OK
&&
lpVoid
!=
NULL
,
ok
(
hRet
==
S_OK
&&
lpVoid
!=
NULL
,
"IID_IUnknown: ex
e
pected S_OK, non-null, got 0x%08x, %p
\n
"
,
"IID_IUnknown: expected S_OK, non-null, got 0x%08x, %p
\n
"
,
hRet
,
lpVoid
);
hRet
,
lpVoid
);
lpVoid
=
NULL
;
lpVoid
=
NULL
;
hRet
=
IMalloc_QueryInterface
(
lpMalloc
,
&
IID_IMalloc
,
&
lpVoid
);
hRet
=
IMalloc_QueryInterface
(
lpMalloc
,
&
IID_IMalloc
,
&
lpVoid
);
ok
(
hRet
==
S_OK
&&
lpVoid
!=
NULL
,
ok
(
hRet
==
S_OK
&&
lpVoid
!=
NULL
,
"IID_IIMalloc: ex
e
pected S_OK, non-null, got 0x%08x, %p
\n
"
,
"IID_IIMalloc: expected S_OK, non-null, got 0x%08x, %p
\n
"
,
hRet
,
lpVoid
);
hRet
,
lpVoid
);
/* Prove that native mapi uses LocalAlloc/LocalFree */
/* Prove that native mapi uses LocalAlloc/LocalFree */
...
...
dlls/mshtml/tests/htmldoc.c
View file @
536e7385
...
@@ -459,7 +459,7 @@ static HRESULT WINAPI Moniker_BindToStorage(IMoniker *iface, IBindCtx *pbc, IMon
...
@@ -459,7 +459,7 @@ static HRESULT WINAPI Moniker_BindToStorage(IMoniker *iface, IBindCtx *pbc, IMon
ok
(
bindinfo
.
dwOptionsFlags
==
0
,
"bindinfo.dwOptionsFlags=%d
\n
"
,
bindinfo
.
dwOptionsFlags
);
ok
(
bindinfo
.
dwOptionsFlags
==
0
,
"bindinfo.dwOptionsFlags=%d
\n
"
,
bindinfo
.
dwOptionsFlags
);
/* TODO: test dwCodePage */
/* TODO: test dwCodePage */
/* TODO: test securityAttributes */
/* TODO: test securityAttributes */
ok
(
IsEqualGUID
(
&
IID_NULL
,
&
bindinfo
.
iid
),
"unex
e
pected bindinfo.iid
\n
"
);
ok
(
IsEqualGUID
(
&
IID_NULL
,
&
bindinfo
.
iid
),
"unexpected bindinfo.iid
\n
"
);
ok
(
bindinfo
.
pUnk
==
NULL
,
"bindinfo.pUnk=%p
\n
"
,
bindinfo
.
pUnk
);
ok
(
bindinfo
.
pUnk
==
NULL
,
"bindinfo.pUnk=%p
\n
"
,
bindinfo
.
pUnk
);
ok
(
bindinfo
.
dwReserved
==
0
,
"bindinfo.dwReserved=%d
\n
"
,
bindinfo
.
dwReserved
);
ok
(
bindinfo
.
dwReserved
==
0
,
"bindinfo.dwReserved=%d
\n
"
,
bindinfo
.
dwReserved
);
...
...
dlls/oleaut32/tests/vartest.c
View file @
536e7385
...
@@ -6321,7 +6321,7 @@ static void test_VarCmp(void)
...
@@ -6321,7 +6321,7 @@ static void test_VarCmp(void)
SETDEC64
(
dec
,
0
,
0x80
,
0xFFFFFFFF
,
0xFFFFFFFF
,
0xFFFFFFFF
);
SETDEC64
(
dec
,
0
,
0x80
,
0xFFFFFFFF
,
0xFFFFFFFF
,
0xFFFFFFFF
);
VARCMP
(
DECIMAL
,
dec
,
R8
,
-
R8_MAX
,
VARCMP_GT
);
VARCMP
(
DECIMAL
,
dec
,
R8
,
-
R8_MAX
,
VARCMP_GT
);
SETDEC64
(
dec
,
20
,
0
,
0x5
,
0x6BC75E2D
,
0x63100001
);
/* 1+1e-20 */
SETDEC64
(
dec
,
20
,
0
,
0x5
,
0x6BC75E2D
,
0x63100001
);
/* 1+1e-20 */
VARCMP
(
DECIMAL
,
dec
,
R8
,
1
,
VARCMP_GT
);
/* DECIMAL has higher precis
s
ion */
VARCMP
(
DECIMAL
,
dec
,
R8
,
1
,
VARCMP_GT
);
/* DECIMAL has higher precision */
/* Show that DATE is handled just as a R8 */
/* Show that DATE is handled just as a R8 */
VARCMP
(
DATE
,
DATE_MAX
,
DATE
,
DATE_MAX
+
1
,
VARCMP_LT
);
VARCMP
(
DATE
,
DATE_MAX
,
DATE
,
DATE_MAX
+
1
,
VARCMP_LT
);
...
@@ -6334,7 +6334,7 @@ static void test_VarCmp(void)
...
@@ -6334,7 +6334,7 @@ static void test_VarCmp(void)
VARCMP
(
DATE
,
25570
.
0
,
EMPTY
,
0
,
VARCMP_GT
);
VARCMP
(
DATE
,
25570
.
0
,
EMPTY
,
0
,
VARCMP_GT
);
VARCMP
(
DATE
,
25570
.
0
,
NULL_
,
0
,
VARCMP_NULL
);
VARCMP
(
DATE
,
25570
.
0
,
NULL_
,
0
,
VARCMP_NULL
);
/* R4 precis
s
ion handling */
/* R4 precision handling */
VARCMP
(
R4
,
1
,
R8
,
1
+
1e-8
,
VARCMP_EQ
);
VARCMP
(
R4
,
1
,
R8
,
1
+
1e-8
,
VARCMP_EQ
);
VARCMP
(
R8
,
1
+
1e-8
,
R4
,
1
,
VARCMP_EQ
);
VARCMP
(
R8
,
1
+
1e-8
,
R4
,
1
,
VARCMP_EQ
);
VARCMP
(
R8
,
1
+
1e-8
,
R8
,
1
,
VARCMP_GT
);
VARCMP
(
R8
,
1
+
1e-8
,
R8
,
1
,
VARCMP_GT
);
...
...
dlls/shell32/shelllink.c
View file @
536e7385
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*
* NOTES
* NOTES
* Nearly complete information
s about the binary formats
* Nearly complete information
about the binary formats
* of .lnk files available at http://www.wotsit.org
* of .lnk files available at http://www.wotsit.org
*
*
* You can use winedump to examine the contents of a link file:
* You can use winedump to examine the contents of a link file:
...
@@ -139,7 +139,7 @@ typedef struct
...
@@ -139,7 +139,7 @@ typedef struct
LONG
ref
;
LONG
ref
;
/* data structures according to the information
s
in the link */
/* data structures according to the information in the link */
LPITEMIDLIST
pPidl
;
LPITEMIDLIST
pPidl
;
WORD
wHotKey
;
WORD
wHotKey
;
SYSTEMTIME
time1
;
SYSTEMTIME
time1
;
...
...
dlls/shell32/shellord.c
View file @
536e7385
...
@@ -1319,14 +1319,14 @@ HRESULT WINAPI SetAppStartingCursor(HWND u, DWORD v)
...
@@ -1319,14 +1319,14 @@ HRESULT WINAPI SetAppStartingCursor(HWND u, DWORD v)
/*************************************************************************
/*************************************************************************
* SHLoadOLE [SHELL32.151]
* SHLoadOLE [SHELL32.151]
*
*
* To reduce the memory usage of Windows 95
it'
s shell32 contained an
* To reduce the memory usage of Windows 95
, it
s shell32 contained an
* internal implementation of a part of COM (see e.g. SHGetMalloc, SHCoCreateInstance,
* internal implementation of a part of COM (see e.g. SHGetMalloc, SHCoCreateInstance,
* SHRegisterDragDrop etc.) that allowed to use in-process STA objects without
* SHRegisterDragDrop etc.) that allowed to use in-process STA objects without
* the need to load OLE32.DLL. If OLE32.DLL was already loaded, the SH* function
* the need to load OLE32.DLL. If OLE32.DLL was already loaded, the SH* function
* would just call the Co* functions.
* would just call the Co* functions.
*
*
* The SHLoadOLE was called when OLE32.DLL was being loaded to transfer all the
* The SHLoadOLE was called when OLE32.DLL was being loaded to transfer all the
* information
s
from the shell32 "mini-COM" to ole32.dll.
* information from the shell32 "mini-COM" to ole32.dll.
*
*
* See http://blogs.msdn.com/oldnewthing/archive/2004/07/05/173226.aspx for a
* See http://blogs.msdn.com/oldnewthing/archive/2004/07/05/173226.aspx for a
* detailed description.
* detailed description.
...
...
dlls/shell32/tests/shlfolder.c
View file @
536e7385
...
@@ -432,8 +432,8 @@ static void test_GetDisplayName(void)
...
@@ -432,8 +432,8 @@ static void test_GetDisplayName(void)
hr
=
IShellFolder_SetNameOf
(
psfPersonal
,
NULL
,
pidlNew
,
wszAbsoluteFilename
,
hr
=
IShellFolder_SetNameOf
(
psfPersonal
,
NULL
,
pidlNew
,
wszAbsoluteFilename
,
SHGDN_FORPARSING
,
NULL
);
SHGDN_FORPARSING
,
NULL
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_CANCELLED
),
"SetNameOf succeeded! hr = %08x
\n
"
,
hr
);
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_CANCELLED
),
"SetNameOf succeeded! hr = %08x
\n
"
,
hr
);
/* Rename the file back to it
's original name. SetNameOf ignores the fact, that the
/* Rename the file back to it
s original name. SetNameOf ignores the fact, that the
* SHGDN flags specify an absolute path. */
* SHGDN flags specify an absolute path. */
hr
=
IShellFolder_SetNameOf
(
psfPersonal
,
NULL
,
pidlNew
,
wszFileName
,
SHGDN_FORPARSING
,
NULL
);
hr
=
IShellFolder_SetNameOf
(
psfPersonal
,
NULL
,
pidlNew
,
wszFileName
,
SHGDN_FORPARSING
,
NULL
);
ok
(
SUCCEEDED
(
hr
),
"SetNameOf failed! hr = %08x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"SetNameOf failed! hr = %08x
\n
"
,
hr
);
...
...
dlls/shlwapi/string.c
View file @
536e7385
...
@@ -160,7 +160,7 @@ static int FormatDouble(double value, int decimals, LPWSTR pszBuf, int cchBuf)
...
@@ -160,7 +160,7 @@ static int FormatDouble(double value, int decimals, LPWSTR pszBuf, int cchBuf)
* Internal helper for SHLWAPI_ChrCmpA/ChrCMPIA.
* Internal helper for SHLWAPI_ChrCmpA/ChrCMPIA.
*
*
* NOTES
* NOTES
* Both this function and its Unicode counterpart are very in
ne
ficient. To
* Both this function and its Unicode counterpart are very in
ef
ficient. To
* fix this, CompareString must be completely implemented and optimised
* fix this, CompareString must be completely implemented and optimised
* first. Then the core character test can be taken out of that function and
* first. Then the core character test can be taken out of that function and
* placed here, so that it need never be called at all. Until then, do not
* placed here, so that it need never be called at all. Until then, do not
...
@@ -2172,7 +2172,7 @@ BOOL WINAPI StrIsIntlEqualW(BOOL bCase, LPCWSTR lpszStr, LPCWSTR lpszComp,
...
@@ -2172,7 +2172,7 @@ BOOL WINAPI StrIsIntlEqualW(BOOL bCase, LPCWSTR lpszStr, LPCWSTR lpszComp,
* iLen [I] Maximum number of chars to copy
* iLen [I] Maximum number of chars to copy
*
*
* RETURNS
* RETURNS
* Success: A pointer to the last character written to lpszDest.
.
* Success: A pointer to the last character written to lpszDest.
* Failure: lpszDest, if any arguments are invalid.
* Failure: lpszDest, if any arguments are invalid.
*/
*/
LPSTR
WINAPI
StrCpyNXA
(
LPSTR
lpszDest
,
LPCSTR
lpszSrc
,
int
iLen
)
LPSTR
WINAPI
StrCpyNXA
(
LPSTR
lpszDest
,
LPCSTR
lpszSrc
,
int
iLen
)
...
@@ -2772,7 +2772,7 @@ BOOL WINAPI DoesStringRoundTripW(LPCWSTR lpSrcStr, LPSTR lpDst, INT iLen)
...
@@ -2772,7 +2772,7 @@ BOOL WINAPI DoesStringRoundTripW(LPCWSTR lpSrcStr, LPSTR lpDst, INT iLen)
/*************************************************************************
/*************************************************************************
* SHLoadIndirectString [SHLWAPI.@]
* SHLoadIndirectString [SHLWAPI.@]
*
*
* If passed a string that begins with
a '@'
extract the string from the
* If passed a string that begins with
'@',
extract the string from the
* appropriate resource, otherwise do a straight copy.
* appropriate resource, otherwise do a straight copy.
*
*
*/
*/
...
...
dlls/winealsa.drv/dsoutput.c
View file @
536e7385
...
@@ -271,7 +271,7 @@ static int DSDB_CreateMMAP(IDsDriverBufferImpl* pdbi)
...
@@ -271,7 +271,7 @@ static int DSDB_CreateMMAP(IDsDriverBufferImpl* pdbi)
psize *= 2;
psize *= 2;
if (err < 0) {
if (err < 0) {
ERR("Errno %d (%s) occured when setting buffer size\n", err, strerror(errno));
ERR("Errno %d (%s) occur
r
ed when setting buffer size\n", err, strerror(errno));
}
}
#endif
#endif
TRACE
(
"mmap'd buffer is an ALSA emulation of hardware buffer.
\n
"
);
TRACE
(
"mmap'd buffer is an ALSA emulation of hardware buffer.
\n
"
);
...
...
dlls/wined3d/glsl_shader.c
View file @
536e7385
...
@@ -883,7 +883,7 @@ void shader_glsl_mov(SHADER_OPCODE_ARG* arg) {
...
@@ -883,7 +883,7 @@ void shader_glsl_mov(SHADER_OPCODE_ARG* arg) {
write_mask
=
shader_glsl_append_dst
(
buffer
,
arg
);
write_mask
=
shader_glsl_append_dst
(
buffer
,
arg
);
shader_glsl_add_src_param
(
arg
,
arg
->
src
[
0
],
arg
->
src_addr
[
0
],
write_mask
,
&
src0_param
);
shader_glsl_add_src_param
(
arg
,
arg
->
src
[
0
],
arg
->
src_addr
[
0
],
write_mask
,
&
src0_param
);
/* In vs_1_1 WINED3DSIO_MOV can write to the adress register. In later
/* In vs_1_1 WINED3DSIO_MOV can write to the ad
d
ress register. In later
* shader versions WINED3DSIO_MOVA is used for this. */
* shader versions WINED3DSIO_MOVA is used for this. */
if
((
WINED3DSHADER_VERSION_MAJOR
(
shader
->
baseShader
.
hex_version
)
==
1
&&
if
((
WINED3DSHADER_VERSION_MAJOR
(
shader
->
baseShader
.
hex_version
)
==
1
&&
!
shader_is_pshader_version
(
shader
->
baseShader
.
hex_version
)
&&
!
shader_is_pshader_version
(
shader
->
baseShader
.
hex_version
)
&&
...
...
dlls/wined3d/state.c
View file @
536e7385
...
@@ -817,7 +817,7 @@ static void state_colormat(DWORD state, IWineD3DStateBlockImpl *stateblock, Wine
...
@@ -817,7 +817,7 @@ static void state_colormat(DWORD state, IWineD3DStateBlockImpl *stateblock, Wine
WineDirect3DStridedData
*
diffuse
=
&
device
->
strided_streams
.
u
.
s
.
diffuse
;
WineDirect3DStridedData
*
diffuse
=
&
device
->
strided_streams
.
u
.
s
.
diffuse
;
BOOL
isDiffuseSupplied
;
BOOL
isDiffuseSupplied
;
/* Depends on the decoded vertex declaration to read the exist
a
nce of diffuse data.
/* Depends on the decoded vertex declaration to read the exist
e
nce of diffuse data.
* The vertex declaration will call this function if the fixed function pipeline is used.
* The vertex declaration will call this function if the fixed function pipeline is used.
*/
*/
...
...
dlls/winspool.drv/tests/info.c
View file @
536e7385
...
@@ -1773,7 +1773,7 @@ static void test_XcvDataW_PortIsValid(void)
...
@@ -1773,7 +1773,7 @@ static void test_XcvDataW_PortIsValid(void)
res
,
GetLastError
(),
needed
,
status
);
res
,
GetLastError
(),
needed
,
status
);
/* a normal, writ
e
able file is allowed */
/* a normal, writable file is allowed */
needed
=
(
DWORD
)
0xdeadbeef
;
needed
=
(
DWORD
)
0xdeadbeef
;
status
=
(
DWORD
)
0xdeadbeef
;
status
=
(
DWORD
)
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
...
...
dlls/ws2_32/socket.c
View file @
536e7385
...
@@ -362,7 +362,7 @@ inline static DWORD NtStatusToWSAError( const DWORD status )
...
@@ -362,7 +362,7 @@ inline static DWORD NtStatusToWSAError( const DWORD status )
case
STATUS_NO_MEMORY
:
wserr
=
WSAEFAULT
;
break
;
case
STATUS_NO_MEMORY
:
wserr
=
WSAEFAULT
;
break
;
default:
default:
if
(
status
>=
WSABASEERR
&&
status
<=
WSABASEERR
+
1004
)
if
(
status
>=
WSABASEERR
&&
status
<=
WSABASEERR
+
1004
)
/* It is not a NT status code but a winsock error */
/* It is not a
n
NT status code but a winsock error */
wserr
=
status
;
wserr
=
status
;
else
else
{
{
...
...
include/ddraw.h
View file @
536e7385
...
@@ -374,9 +374,9 @@ typedef struct _DDCAPS_DX7 /* DirectX 7 version of caps struct */
...
@@ -374,9 +374,9 @@ typedef struct _DDCAPS_DX7 /* DirectX 7 version of caps struct */
{
{
DWORD
dwSize
;
/* size of the DDDRIVERCAPS structure */
DWORD
dwSize
;
/* size of the DDDRIVERCAPS structure */
DWORD
dwCaps
;
/* driver specific capabilities */
DWORD
dwCaps
;
/* driver specific capabilities */
DWORD
dwCaps2
;
/* more driver specific capabilites */
DWORD
dwCaps2
;
/* more driver specific capabilit
i
es */
DWORD
dwCKeyCaps
;
/* color key capabilities of the surface */
DWORD
dwCKeyCaps
;
/* color key capabilities of the surface */
DWORD
dwFXCaps
;
/* driver specific stretching and effects capabilites */
DWORD
dwFXCaps
;
/* driver specific stretching and effects capabilit
i
es */
DWORD
dwFXAlphaCaps
;
/* alpha driver specific capabilities */
DWORD
dwFXAlphaCaps
;
/* alpha driver specific capabilities */
DWORD
dwPalCaps
;
/* palette capabilities */
DWORD
dwPalCaps
;
/* palette capabilities */
DWORD
dwSVCaps
;
/* stereo vision capabilities */
DWORD
dwSVCaps
;
/* stereo vision capabilities */
...
@@ -435,9 +435,9 @@ typedef struct _DDCAPS_DX6 /* DirectX 6 version of caps struct */
...
@@ -435,9 +435,9 @@ typedef struct _DDCAPS_DX6 /* DirectX 6 version of caps struct */
{
{
DWORD
dwSize
;
/* size of the DDDRIVERCAPS structure */
DWORD
dwSize
;
/* size of the DDDRIVERCAPS structure */
DWORD
dwCaps
;
/* driver specific capabilities */
DWORD
dwCaps
;
/* driver specific capabilities */
DWORD
dwCaps2
;
/* more driver specific capabilites */
DWORD
dwCaps2
;
/* more driver specific capabilit
i
es */
DWORD
dwCKeyCaps
;
/* color key capabilities of the surface */
DWORD
dwCKeyCaps
;
/* color key capabilities of the surface */
DWORD
dwFXCaps
;
/* driver specific stretching and effects capabilites */
DWORD
dwFXCaps
;
/* driver specific stretching and effects capabilit
i
es */
DWORD
dwFXAlphaCaps
;
/* alpha driver specific capabilities */
DWORD
dwFXAlphaCaps
;
/* alpha driver specific capabilities */
DWORD
dwPalCaps
;
/* palette capabilities */
DWORD
dwPalCaps
;
/* palette capabilities */
DWORD
dwSVCaps
;
/* stereo vision capabilities */
DWORD
dwSVCaps
;
/* stereo vision capabilities */
...
@@ -497,9 +497,9 @@ typedef struct _DDCAPS_DX5 /* DirectX5 version of caps struct */
...
@@ -497,9 +497,9 @@ typedef struct _DDCAPS_DX5 /* DirectX5 version of caps struct */
{
{
DWORD
dwSize
;
/* size of the DDDRIVERCAPS structure */
DWORD
dwSize
;
/* size of the DDDRIVERCAPS structure */
DWORD
dwCaps
;
/* driver specific capabilities */
DWORD
dwCaps
;
/* driver specific capabilities */
DWORD
dwCaps2
;
/* more driver specific capabilites */
DWORD
dwCaps2
;
/* more driver specific capabilit
i
es */
DWORD
dwCKeyCaps
;
/* color key capabilities of the surface */
DWORD
dwCKeyCaps
;
/* color key capabilities of the surface */
DWORD
dwFXCaps
;
/* driver specific stretching and effects capabilites */
DWORD
dwFXCaps
;
/* driver specific stretching and effects capabilit
i
es */
DWORD
dwFXAlphaCaps
;
/* alpha driver specific capabilities */
DWORD
dwFXAlphaCaps
;
/* alpha driver specific capabilities */
DWORD
dwPalCaps
;
/* palette capabilities */
DWORD
dwPalCaps
;
/* palette capabilities */
DWORD
dwSVCaps
;
/* stereo vision capabilities */
DWORD
dwSVCaps
;
/* stereo vision capabilities */
...
@@ -558,9 +558,9 @@ typedef struct _DDCAPS_DX3 /* DirectX3 version of caps struct */
...
@@ -558,9 +558,9 @@ typedef struct _DDCAPS_DX3 /* DirectX3 version of caps struct */
{
{
DWORD
dwSize
;
/* size of the DDDRIVERCAPS structure */
DWORD
dwSize
;
/* size of the DDDRIVERCAPS structure */
DWORD
dwCaps
;
/* driver specific capabilities */
DWORD
dwCaps
;
/* driver specific capabilities */
DWORD
dwCaps2
;
/* more driver specific capabilites */
DWORD
dwCaps2
;
/* more driver specific capabilit
i
es */
DWORD
dwCKeyCaps
;
/* color key capabilities of the surface */
DWORD
dwCKeyCaps
;
/* color key capabilities of the surface */
DWORD
dwFXCaps
;
/* driver specific stretching and effects capabilites */
DWORD
dwFXCaps
;
/* driver specific stretching and effects capabilit
i
es */
DWORD
dwFXAlphaCaps
;
/* alpha driver specific capabilities */
DWORD
dwFXAlphaCaps
;
/* alpha driver specific capabilities */
DWORD
dwPalCaps
;
/* palette capabilities */
DWORD
dwPalCaps
;
/* palette capabilities */
DWORD
dwSVCaps
;
/* stereo vision capabilities */
DWORD
dwSVCaps
;
/* stereo vision capabilities */
...
...
include/wine/mmsystem16.h
View file @
536e7385
...
@@ -263,7 +263,7 @@ typedef struct {
...
@@ -263,7 +263,7 @@ typedef struct {
UINT16
wUmax
;
/* maximum u (5th axis) position value */
UINT16
wUmax
;
/* maximum u (5th axis) position value */
UINT16
wVmin
;
/* minimum v (6th axis) position value */
UINT16
wVmin
;
/* minimum v (6th axis) position value */
UINT16
wVmax
;
/* maximum v (6th axis) position value */
UINT16
wVmax
;
/* maximum v (6th axis) position value */
UINT16
wCaps
;
/* joystick capabilites */
UINT16
wCaps
;
/* joystick capabilit
i
es */
UINT16
wMaxAxes
;
/* maximum number of axes supported */
UINT16
wMaxAxes
;
/* maximum number of axes supported */
UINT16
wNumAxes
;
/* number of axes in use */
UINT16
wNumAxes
;
/* number of axes in use */
UINT16
wMaxButtons
;
/* maximum number of buttons supported */
UINT16
wMaxButtons
;
/* maximum number of buttons supported */
...
...
programs/uninstaller/main.c
View file @
536e7385
...
@@ -180,7 +180,7 @@ static int cmp_by_name(const void *a, const void *b)
...
@@ -180,7 +180,7 @@ static int cmp_by_name(const void *a, const void *b)
/**
/**
* Fetch information
s
from the uninstall key.
* Fetch information from the uninstall key.
*/
*/
static
int
FetchUninstallInformation
(
void
)
static
int
FetchUninstallInformation
(
void
)
{
{
...
...
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