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
3428b94a
Commit
3428b94a
authored
Mar 20, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Mar 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted spelling and case fixes.
parent
1cc79eae
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
31 additions
and
30 deletions
+31
-30
shader.c
dlls/d3dx9_36/tests/shader.c
+1
-1
mimeintl.c
dlls/inetcomm/tests/mimeintl.c
+1
-1
path.c
dlls/kernel32/tests/path.c
+1
-1
propstore.c
dlls/mmdevapi/tests/propstore.c
+1
-1
render.c
dlls/mmdevapi/tests/render.c
+2
-2
row_server.c
dlls/msdaps/row_server.c
+4
-4
view.c
dlls/mshtml/view.c
+1
-1
mciwnd.c
dlls/msvfw32/mciwnd.c
+1
-1
dispatch.c
dlls/oleaut32/tests/dispatch.c
+1
-1
olefont.c
dlls/oleaut32/tests/olefont.c
+3
-2
samplegrabber.c
dlls/qedit/samplegrabber.c
+1
-1
dsoundrender.c
dlls/quartz/tests/dsoundrender.c
+1
-1
ordinal.c
dlls/shlwapi/ordinal.c
+1
-1
ordinal.c
dlls/shlwapi/tests/ordinal.c
+2
-2
url.c
dlls/shlwapi/url.c
+1
-1
urlmon_urlmon.idl
dlls/urlmon/urlmon_urlmon.idl
+1
-1
usrmarshal.c
dlls/urlmon/usrmarshal.c
+1
-1
combo.c
dlls/user32/tests/combo.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
winmm.c
dlls/winmm/winmm.c
+1
-1
amaudio.h
include/amaudio.h
+1
-1
devpkey.h
include/devpkey.h
+1
-1
devpropdef.h
include/devpropdef.h
+1
-1
propkey.h
include/propkey.h
+1
-1
No files found.
dlls/d3dx9_36/tests/shader.c
View file @
3428b94a
...
@@ -143,7 +143,7 @@ static void test_get_shader_constant_table_ex(void)
...
@@ -143,7 +143,7 @@ static void test_get_shader_constant_table_ex(void)
ok
(
size
==
28
,
"Got result %x, expected 28
\n
"
,
size
);
ok
(
size
==
28
,
"Got result %x, expected 28
\n
"
,
size
);
data
=
ID3DXConstantTable_GetBufferPointer
(
constant_table
);
data
=
ID3DXConstantTable_GetBufferPointer
(
constant_table
);
ok
(
!
memcmp
(
data
,
shader_with_ctab
+
6
,
size
),
"Retr
ei
ved wrong CTAB data
\n
"
);
ok
(
!
memcmp
(
data
,
shader_with_ctab
+
6
,
size
),
"Retr
ie
ved wrong CTAB data
\n
"
);
hr
=
ID3DXConstantTable_GetDesc
(
constant_table
,
NULL
);
hr
=
ID3DXConstantTable_GetDesc
(
constant_table
,
NULL
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got result %x, expected %x (D3DERR_INVALIDCALL)
\n
"
,
hr
,
D3DERR_INVALIDCALL
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got result %x, expected %x (D3DERR_INVALIDCALL)
\n
"
,
hr
,
D3DERR_INVALIDCALL
);
...
...
dlls/inetcomm/tests/mimeintl.c
View file @
3428b94a
...
@@ -156,7 +156,7 @@ static void test_charset(void)
...
@@ -156,7 +156,7 @@ static void test_charset(void)
hr
=
MimeOleGetInternat
(
&
internat
);
hr
=
MimeOleGetInternat
(
&
internat
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"ret %08x
\n
"
,
hr
);
hr
=
IMimeInternational_FindCharset
(
internat
,
"non
-
existent"
,
&
hcs
);
hr
=
IMimeInternational_FindCharset
(
internat
,
"nonexistent"
,
&
hcs
);
ok
(
hr
==
MIME_E_NOT_FOUND
,
"got %08x
\n
"
,
hr
);
ok
(
hr
==
MIME_E_NOT_FOUND
,
"got %08x
\n
"
,
hr
);
hr
=
IMimeInternational_FindCharset
(
internat
,
"windows-1252"
,
&
hcs_windows_1252
);
hr
=
IMimeInternational_FindCharset
(
internat
,
"windows-1252"
,
&
hcs_windows_1252
);
...
...
dlls/kernel32/tests/path.c
View file @
3428b94a
...
@@ -1017,7 +1017,7 @@ static void test_GetLongPathNameA(void)
...
@@ -1017,7 +1017,7 @@ static void test_GetLongPathNameA(void)
/* Test a normal path with a small buffer size */
/* Test a normal path with a small buffer size */
memset
(
temppath
,
0
,
MAX_PATH
);
memset
(
temppath
,
0
,
MAX_PATH
);
length
=
pGetLongPathNameA
(
tempfile
,
temppath
,
4
);
length
=
pGetLongPathNameA
(
tempfile
,
temppath
,
4
);
/* We have a failure so length should be the min
u
mum plus the terminating '0' */
/* We have a failure so length should be the min
i
mum plus the terminating '0' */
ok
(
length
>=
lstrlen
(
tempfile
)
+
1
,
"Wrong length
\n
"
);
ok
(
length
>=
lstrlen
(
tempfile
)
+
1
,
"Wrong length
\n
"
);
ok
(
temppath
[
0
]
==
0
,
"Buffer should not have been touched
\n
"
);
ok
(
temppath
[
0
]
==
0
,
"Buffer should not have been touched
\n
"
);
...
...
dlls/mmdevapi/tests/propstore.c
View file @
3428b94a
/*
/*
* Copyright 2010 Maarten Lankhorst for Code
w
eavers
* Copyright 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
dlls/mmdevapi/tests/render.c
View file @
3428b94a
/*
/*
* Copyright 2010 Maarten Lankhorst for Code
w
eavers
* Copyright 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
@@ -177,7 +177,7 @@ static void test_audioclient(IAudioClient *ac)
...
@@ -177,7 +177,7 @@ static void test_audioclient(IAudioClient *ac)
ok
(
hr
==
E_INVALIDARG
,
"Initialize with invalid flags returns %08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"Initialize with invalid flags returns %08x
\n
"
,
hr
);
/* It seems that if length > 2s or periodicity != 0 the length is ignored and call succeeds
/* It seems that if length > 2s or periodicity != 0 the length is ignored and call succeeds
* Since we can only initialize succes
fully once skip those tests
* Since we can only initialize succes
sfully once, skip those tests.
*/
*/
hr
=
IAudioClient_Initialize
(
ac
,
AUDCLNT_SHAREMODE_SHARED
,
0
,
5000000
,
0
,
NULL
,
NULL
);
hr
=
IAudioClient_Initialize
(
ac
,
AUDCLNT_SHAREMODE_SHARED
,
0
,
5000000
,
0
,
NULL
,
NULL
);
ok
(
hr
==
E_POINTER
,
"Initialize with null format returns %08x
\n
"
,
hr
);
ok
(
hr
==
E_POINTER
,
"Initialize with null format returns %08x
\n
"
,
hr
);
...
...
dlls/msdaps/row_server.c
View file @
3428b94a
...
@@ -838,7 +838,7 @@ static HRESULT create_row_proxy(IWineRowServer *server, IUnknown **obj)
...
@@ -838,7 +838,7 @@ static HRESULT create_row_proxy(IWineRowServer *server, IUnknown **obj)
proxy
->
server
=
server
;
proxy
->
server
=
server
;
*
obj
=
(
IUnknown
*
)
&
proxy
->
row_vtbl
;
*
obj
=
(
IUnknown
*
)
&
proxy
->
row_vtbl
;
TRACE
(
"returing %p
\n
"
,
*
obj
);
TRACE
(
"retur
n
ing %p
\n
"
,
*
obj
);
return
S_OK
;
return
S_OK
;
}
}
...
@@ -1339,7 +1339,7 @@ HRESULT create_rowset_proxy(IWineRowServer *server, IUnknown **obj)
...
@@ -1339,7 +1339,7 @@ HRESULT create_rowset_proxy(IWineRowServer *server, IUnknown **obj)
proxy
->
server
=
server
;
proxy
->
server
=
server
;
*
obj
=
(
IUnknown
*
)
&
proxy
->
rowset_vtbl
;
*
obj
=
(
IUnknown
*
)
&
proxy
->
rowset_vtbl
;
TRACE
(
"returing %p
\n
"
,
*
obj
);
TRACE
(
"retur
n
ing %p
\n
"
,
*
obj
);
return
S_OK
;
return
S_OK
;
}
}
...
@@ -1474,7 +1474,7 @@ static HRESULT WINAPI marshal_UnmarshalInterface(IMarshal *iface, IStream *strea
...
@@ -1474,7 +1474,7 @@ static HRESULT WINAPI marshal_UnmarshalInterface(IMarshal *iface, IStream *strea
IWineRowServer_Release
(
server
);
IWineRowServer_Release
(
server
);
}
}
TRACE
(
"returing %p
\n
"
,
*
obj
);
TRACE
(
"retur
n
ing %p
\n
"
,
*
obj
);
return
hr
;
return
hr
;
}
}
...
@@ -1522,7 +1522,7 @@ static HRESULT create_marshal(IUnknown *outer, const CLSID *class, void **obj)
...
@@ -1522,7 +1522,7 @@ static HRESULT create_marshal(IUnknown *outer, const CLSID *class, void **obj)
marshal
->
ref
=
1
;
marshal
->
ref
=
1
;
*
obj
=
&
marshal
->
marshal_vtbl
;
*
obj
=
&
marshal
->
marshal_vtbl
;
TRACE
(
"returing %p
\n
"
,
*
obj
);
TRACE
(
"retur
n
ing %p
\n
"
,
*
obj
);
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/mshtml/view.c
View file @
3428b94a
...
@@ -811,7 +811,7 @@ static HRESULT WINAPI ViewObject_SetAdvise(IViewObjectEx *iface, DWORD aspects,
...
@@ -811,7 +811,7 @@ static HRESULT WINAPI ViewObject_SetAdvise(IViewObjectEx *iface, DWORD aspects,
TRACE
(
"(%p)->(%d %d %p)
\n
"
,
This
,
aspects
,
advf
,
pAdvSink
);
TRACE
(
"(%p)->(%d %d %p)
\n
"
,
This
,
aspects
,
advf
,
pAdvSink
);
if
(
aspects
!=
DVASPECT_CONTENT
||
advf
!=
ADVF_PRIMEFIRST
)
if
(
aspects
!=
DVASPECT_CONTENT
||
advf
!=
ADVF_PRIMEFIRST
)
FIXME
(
"unsuported arguments
\n
"
);
FIXME
(
"unsup
p
orted arguments
\n
"
);
if
(
This
->
doc_obj
->
view_sink
)
if
(
This
->
doc_obj
->
view_sink
)
IAdviseSink_Release
(
This
->
doc_obj
->
view_sink
);
IAdviseSink_Release
(
This
->
doc_obj
->
view_sink
);
...
...
dlls/msvfw32/mciwnd.c
View file @
3428b94a
...
@@ -1300,7 +1300,7 @@ end_of_mci_open:
...
@@ -1300,7 +1300,7 @@ end_of_mci_open:
case
MCI_SEEK
:
case
MCI_SEEK
:
case
MCI_STEP
:
case
MCI_STEP
:
{
{
MCI_SEEK_PARMS
mci_seek
;
/* Layout is us
e
able as MCI_XYZ_STEP_PARMS */
MCI_SEEK_PARMS
mci_seek
;
/* Layout is usable as MCI_XYZ_STEP_PARMS */
DWORD
flags
=
MCI_STEP
==
wMsg
?
0
:
DWORD
flags
=
MCI_STEP
==
wMsg
?
0
:
MCIWND_START
==
lParam
?
MCI_SEEK_TO_START
:
MCIWND_START
==
lParam
?
MCI_SEEK_TO_START
:
MCIWND_END
==
lParam
?
MCI_SEEK_TO_END
:
MCI_TO
;
MCIWND_END
==
lParam
?
MCI_SEEK_TO_END
:
MCI_TO
;
...
...
dlls/oleaut32/tests/dispatch.c
View file @
3428b94a
...
@@ -255,7 +255,7 @@ static void test_DispGetParam(void)
...
@@ -255,7 +255,7 @@ static void test_DispGetParam(void)
CLEAR_VARARG
(
vararg
);
CLEAR_VARARG
(
vararg
);
/* Coerce the
the
first parameter, which is of type VT_EMPTY, to VT_BSTR. */
/* Coerce the first parameter, which is of type VT_EMPTY, to VT_BSTR. */
VariantInit
(
&
vararg
[
0
]);
VariantInit
(
&
vararg
[
0
]);
INIT_DISPPARAMS
(
dispparams
,
vararg
,
NULL
,
1
,
0
);
INIT_DISPPARAMS
(
dispparams
,
vararg
,
NULL
,
1
,
0
);
VariantInit
(
&
result
);
VariantInit
(
&
result
);
...
...
dlls/oleaut32/tests/olefont.c
View file @
3428b94a
...
@@ -954,8 +954,9 @@ static void test_hfont_lifetime(void)
...
@@ -954,8 +954,9 @@ static void test_hfont_lifetime(void)
ok
(
obj_type
==
0
,
"%d: got obj type %d
\n
"
,
i
,
obj_type
);
ok
(
obj_type
==
0
,
"%d: got obj type %d
\n
"
,
i
,
obj_type
);
}
}
/* Interestingly if we release a non-existent reference on the hfont, it persists
/* Interestingly if we release a nonexistent reference on the hfont,
until the font object is released */
* it persists until the font object is released
*/
for
(
i
=
0
;
i
<
100
;
i
++
)
for
(
i
=
0
;
i
<
100
;
i
++
)
{
{
size
.
int64
=
(
i
+
10
)
*
20000
;
size
.
int64
=
(
i
+
10
)
*
20000
;
...
...
dlls/qedit/samplegrabber.c
View file @
3428b94a
...
@@ -854,7 +854,7 @@ SampleGrabber_ISampleGrabber_GetCurrentBuffer(ISampleGrabber *iface, LONG *bufSi
...
@@ -854,7 +854,7 @@ SampleGrabber_ISampleGrabber_GetCurrentBuffer(ISampleGrabber *iface, LONG *bufSi
static
HRESULT
WINAPI
static
HRESULT
WINAPI
SampleGrabber_ISampleGrabber_GetCurrentSample
(
ISampleGrabber
*
iface
,
IMediaSample
**
sample
)
SampleGrabber_ISampleGrabber_GetCurrentSample
(
ISampleGrabber
*
iface
,
IMediaSample
**
sample
)
{
{
/* MS doesn't implement it either, noone should call it */
/* MS doesn't implement it either, no
one should call it */
WARN
(
"(%p): not implemented
\n
"
,
sample
);
WARN
(
"(%p): not implemented
\n
"
,
sample
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
...
dlls/quartz/tests/dsoundrender.c
View file @
3428b94a
/*
/*
* Unit tests for DSound Renderer functions
* Unit tests for DSound Renderer functions
*
*
* Copyright (C) 2010 Maarten Lankhorst for Code
w
eavers
* Copyright (C) 2010 Maarten Lankhorst for Code
W
eavers
* Copyright (C) 2007 Google (Lei Zhang)
* Copyright (C) 2007 Google (Lei Zhang)
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
...
...
dlls/shlwapi/ordinal.c
View file @
3428b94a
...
@@ -500,7 +500,7 @@ HRESULT WINAPI GetAcceptLanguagesW( LPWSTR langbuf, LPDWORD buflen)
...
@@ -500,7 +500,7 @@ HRESULT WINAPI GetAcceptLanguagesW( LPWSTR langbuf, LPDWORD buflen)
return
S_OK
;
return
S_OK
;
}
}
/* Did not find a value in the registry or the user buffer is to small */
/* Did not find a value in the registry or the user buffer is to
o
small */
mylcid
=
GetUserDefaultLCID
();
mylcid
=
GetUserDefaultLCID
();
retval
=
LcidToRfc1766W
(
mylcid
,
mystr
,
mystrlen
);
retval
=
LcidToRfc1766W
(
mylcid
,
mystr
,
mystrlen
);
len
=
lstrlenW
(
mystr
);
len
=
lstrlenW
(
mystr
);
...
...
dlls/shlwapi/tests/ordinal.c
View file @
3428b94a
...
@@ -186,7 +186,7 @@ static void test_GetAcceptLanguagesA(void)
...
@@ -186,7 +186,7 @@ static void test_GetAcceptLanguagesA(void)
/* There is no space for the string in the registry.
/* There is no space for the string in the registry.
When the buffer is large enough, the default language is returned
When the buffer is large enough, the default language is returned
When the buffer is to small for that fallback, win7_32 and w2k8_64
When the buffer is to
o
small for that fallback, win7_32 and w2k8_64
and above fail with HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), but
and above fail with HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), but
recent os succeed and return a partial result while
recent os succeed and return a partial result while
older os succeed and overflow the buffer */
older os succeed and overflow the buffer */
...
@@ -254,7 +254,7 @@ static void test_GetAcceptLanguagesA(void)
...
@@ -254,7 +254,7 @@ static void test_GetAcceptLanguagesA(void)
memset
(
buffer
,
'#'
,
maxlen
);
memset
(
buffer
,
'#'
,
maxlen
);
buffer
[
maxlen
]
=
0
;
buffer
[
maxlen
]
=
0
;
hr
=
pGetAcceptLanguagesA
(
buffer
,
&
len
);
hr
=
pGetAcceptLanguagesA
(
buffer
,
&
len
);
/* When the buffer is to small, win7_32 and w2k8_64 and above fail with
/* When the buffer is to
o
small, win7_32 and w2k8_64 and above fail with
HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), other versions suceed
HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), other versions suceed
and return a partial 0 terminated result while other versions
and return a partial 0 terminated result while other versions
fail with E_INVALIDARG and return a partial unterminated result */
fail with E_INVALIDARG and return a partial unterminated result */
...
...
dlls/shlwapi/url.c
View file @
3428b94a
...
@@ -662,7 +662,7 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative,
...
@@ -662,7 +662,7 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative,
}
}
}
}
/* If there is a '#' and the characters immediately prece
e
ding it are
/* If there is a '#' and the characters immediately preceding it are
* ".htm[l]", then begin looking for the last leaf starting from
* ".htm[l]", then begin looking for the last leaf starting from
* the '#'. Otherwise the '#' is not meaningful and just start
* the '#'. Otherwise the '#' is not meaningful and just start
* looking from the end. */
* looking from the end. */
...
...
dlls/urlmon/urlmon_urlmon.idl
View file @
3428b94a
/*
/*
*
Copyright
2009
Piotr
Caban
for
Code
w
eavers
*
Copyright
2009
Piotr
Caban
for
Code
W
eavers
*
*
*
This
library
is
free
software
; you can redistribute it and/or
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
...
...
dlls/urlmon/usrmarshal.c
View file @
3428b94a
/*
/*
* Copyright 2009 Piotr Caban for Code
w
eavers
* Copyright 2009 Piotr Caban for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
dlls/user32/tests/combo.c
View file @
3428b94a
...
@@ -461,7 +461,7 @@ static void test_editselection(void)
...
@@ -461,7 +461,7 @@ static void test_editselection(void)
ok
(
LOWORD
(
len
)
==
1
,
"Unexpected start position for selection %d
\n
"
,
LOWORD
(
len
));
ok
(
LOWORD
(
len
)
==
1
,
"Unexpected start position for selection %d
\n
"
,
LOWORD
(
len
));
ok
(
HIWORD
(
len
)
==
1
,
"Unexpected end position for selection %d
\n
"
,
HIWORD
(
len
));
ok
(
HIWORD
(
len
)
==
1
,
"Unexpected end position for selection %d
\n
"
,
HIWORD
(
len
));
/* Now what happens when it gets more focus a second time - it doesnt reselect */
/* Now what happens when it gets more focus a second time - it doesn
'
t reselect */
SendMessage
(
hCombo
,
WM_SETFOCUS
,
0
,
(
LPARAM
)
hEdit
);
SendMessage
(
hCombo
,
WM_SETFOCUS
,
0
,
(
LPARAM
)
hEdit
);
len
=
SendMessage
(
hCombo
,
CB_GETEDITSEL
,
0
,
0
);
len
=
SendMessage
(
hCombo
,
CB_GETEDITSEL
,
0
,
0
);
ok
(
LOWORD
(
len
)
==
1
,
"Unexpected start position for selection %d
\n
"
,
LOWORD
(
len
));
ok
(
LOWORD
(
len
)
==
1
,
"Unexpected start position for selection %d
\n
"
,
LOWORD
(
len
));
...
...
dlls/wined3d/wined3d_private.h
View file @
3428b94a
...
@@ -2474,7 +2474,7 @@ struct wined3d_map_range
...
@@ -2474,7 +2474,7 @@ struct wined3d_map_range
#define WINED3D_BUFFER_CREATEBO 0x04
/* Attempt to create a buffer object next PreLoad */
#define WINED3D_BUFFER_CREATEBO 0x04
/* Attempt to create a buffer object next PreLoad */
#define WINED3D_BUFFER_DOUBLEBUFFER 0x08
/* Use a vbo and local allocated memory */
#define WINED3D_BUFFER_DOUBLEBUFFER 0x08
/* Use a vbo and local allocated memory */
#define WINED3D_BUFFER_FLUSH 0x10
/* Manual unmap flushing */
#define WINED3D_BUFFER_FLUSH 0x10
/* Manual unmap flushing */
#define WINED3D_BUFFER_DISCARD 0x20
/* A DISCARD lock has occured since the last PreLoad */
#define WINED3D_BUFFER_DISCARD 0x20
/* A DISCARD lock has occur
r
ed since the last PreLoad */
#define WINED3D_BUFFER_NOSYNC 0x40
/* All locks since the last PreLoad had NOOVERWRITE set */
#define WINED3D_BUFFER_NOSYNC 0x40
/* All locks since the last PreLoad had NOOVERWRITE set */
struct
wined3d_buffer
struct
wined3d_buffer
...
...
dlls/winmm/winmm.c
View file @
3428b94a
...
@@ -1822,7 +1822,7 @@ MMRESULT WINAPI midiStreamOut(HMIDISTRM hMidiStrm, LPMIDIHDR lpMidiHdr,
...
@@ -1822,7 +1822,7 @@ MMRESULT WINAPI midiStreamOut(HMIDISTRM hMidiStrm, LPMIDIHDR lpMidiHdr,
if
(
cbMidiHdr
<
offsetof
(
MIDIHDR
,
dwOffset
)
||
!
lpMidiHdr
||
!
lpMidiHdr
->
lpData
if
(
cbMidiHdr
<
offsetof
(
MIDIHDR
,
dwOffset
)
||
!
lpMidiHdr
||
!
lpMidiHdr
->
lpData
||
lpMidiHdr
->
dwBufferLength
<
lpMidiHdr
->
dwBytesRecorded
)
||
lpMidiHdr
->
dwBufferLength
<
lpMidiHdr
->
dwBytesRecorded
)
return
MMSYSERR_INVALPARAM
;
return
MMSYSERR_INVALPARAM
;
/* FIXME: Native additionaly checks if the MIDIEVENTs in lpData
/* FIXME: Native additional
l
y checks if the MIDIEVENTs in lpData
* exactly fit dwBytesRecorded. */
* exactly fit dwBytesRecorded. */
if
(
!
(
lpMidiHdr
->
dwFlags
&
MHDR_PREPARED
))
if
(
!
(
lpMidiHdr
->
dwFlags
&
MHDR_PREPARED
))
...
...
include/amaudio.h
View file @
3428b94a
/*
/*
* Copyright (C) 2010 Maarten Lankhorst for Code
w
eavers
* Copyright (C) 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
include/devpkey.h
View file @
3428b94a
/*
/*
* Copyright (C) 2010 Maarten Lankhorst for Code
w
eavers
* Copyright (C) 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
include/devpropdef.h
View file @
3428b94a
/*
/*
* Copyright (C) 2010 Maarten Lankhorst for Code
w
eavers
* Copyright (C) 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
include/propkey.h
View file @
3428b94a
/*
/*
* Copyright (C) 2010 Maarten Lankhorst for Code
w
eavers
* Copyright (C) 2010 Maarten Lankhorst for Code
W
eavers
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
...
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