Assorted spelling/grammar fixes.
This commit is contained in:
parent
13a8d80f30
commit
2ab8729020
|
@ -1890,7 +1890,7 @@ static HRESULT WINAPI ddraw1_GetVerticalBlankStatus(IDirectDraw *iface, BOOL *st
|
||||||
*
|
*
|
||||||
* Returns
|
* Returns
|
||||||
* DD_OK on success
|
* DD_OK on success
|
||||||
* DDERR_INVALIDPARAMS of free and total are NULL
|
* DDERR_INVALIDPARAMS if free and total are NULL
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
static HRESULT WINAPI ddraw7_GetAvailableVidMem(IDirectDraw7 *iface, DDSCAPS2 *Caps, DWORD *total,
|
static HRESULT WINAPI ddraw7_GetAvailableVidMem(IDirectDraw7 *iface, DDSCAPS2 *Caps, DWORD *total,
|
||||||
|
@ -4174,7 +4174,7 @@ static HRESULT WINAPI d3d2_CreateDevice(IDirect3D2 *iface, REFCLSID riid,
|
||||||
* D3D_OK on success
|
* D3D_OK on success
|
||||||
* DDERR_OUTOFMEMORY if memory allocation failed
|
* DDERR_OUTOFMEMORY if memory allocation failed
|
||||||
* The return value of IWineD3DDevice::CreateVertexBuffer if this call fails
|
* The return value of IWineD3DDevice::CreateVertexBuffer if this call fails
|
||||||
* DDERR_INVALIDPARAMS if desc or vertex_buffer are NULL
|
* DDERR_INVALIDPARAMS if desc or vertex_buffer is NULL
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
static HRESULT WINAPI d3d7_CreateVertexBuffer(IDirect3D7 *iface, D3DVERTEXBUFFERDESC *desc,
|
static HRESULT WINAPI d3d7_CreateVertexBuffer(IDirect3D7 *iface, D3DVERTEXBUFFERDESC *desc,
|
||||||
|
|
|
@ -35,7 +35,7 @@ typedef struct IDirectMusicCollectionImpl {
|
||||||
IStream *pStm; /* stream from which we load collection and later instruments */
|
IStream *pStm; /* stream from which we load collection and later instruments */
|
||||||
LARGE_INTEGER liCollectionPosition; /* offset in a stream where collection was loaded from */
|
LARGE_INTEGER liCollectionPosition; /* offset in a stream where collection was loaded from */
|
||||||
LARGE_INTEGER liWavePoolTablePosition; /* offset in a stream where wave pool table can be found */
|
LARGE_INTEGER liWavePoolTablePosition; /* offset in a stream where wave pool table can be found */
|
||||||
CHAR *szCopyright; /* FIXME: should probably placed somewhere else */
|
CHAR *szCopyright; /* FIXME: should probably be placed somewhere else */
|
||||||
DLSHEADER *pHeader;
|
DLSHEADER *pHeader;
|
||||||
/* pool table */
|
/* pool table */
|
||||||
POOLTABLE *pPoolTable;
|
POOLTABLE *pPoolTable;
|
||||||
|
|
|
@ -891,7 +891,7 @@ DWORD WINAPI GetRegionData(HRGN hrgn, DWORD count, LPRGNDATA rgndata)
|
||||||
GDI_ReleaseObj( hrgn );
|
GDI_ReleaseObj( hrgn );
|
||||||
if (rgndata) /* buffer is too small, signal it by return 0 */
|
if (rgndata) /* buffer is too small, signal it by return 0 */
|
||||||
return 0;
|
return 0;
|
||||||
/* user requested buffer size with rgndata NULL */
|
/* user requested buffer size with NULL rgndata */
|
||||||
return FIELD_OFFSET(RGNDATA, Buffer[size]);
|
return FIELD_OFFSET(RGNDATA, Buffer[size]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -504,7 +504,7 @@ StgStreamImpl* StgStreamImpl_Construct(
|
||||||
/* Range lock constants.
|
/* Range lock constants.
|
||||||
*
|
*
|
||||||
* The storage format reserves the region from 0x7fffff00-0x7fffffff for
|
* The storage format reserves the region from 0x7fffff00-0x7fffffff for
|
||||||
* locking and synchronization. Unfortuantely, the spec doesn't say which bytes
|
* locking and synchronization. Unfortunately, the spec doesn't say which bytes
|
||||||
* within that range are used, and for what. These are guesses based on testing.
|
* within that range are used, and for what. These are guesses based on testing.
|
||||||
* In particular, ends of ranges may be wrong.
|
* In particular, ends of ranges may be wrong.
|
||||||
|
|
||||||
|
|
|
@ -3642,8 +3642,8 @@ static void test_ShellItemBindToHandler(void)
|
||||||
if(SUCCEEDED(hr)) IUnknown_Release(punk);
|
if(SUCCEEDED(hr)) IUnknown_Release(punk);
|
||||||
|
|
||||||
/* BHID_Transfer
|
/* BHID_Transfer
|
||||||
ITransferSource and ITransferDestination are accessible starting Vista, IUnknown is
|
ITransferSource and ITransferDestination are accessible starting from Vista, IUnknown is
|
||||||
supported start Win8. */
|
supported starting from Win8. */
|
||||||
hr = IShellItem_BindToHandler(psi, NULL, &BHID_Transfer, &IID_ITransferSource, (void**)&punk);
|
hr = IShellItem_BindToHandler(psi, NULL, &BHID_Transfer, &IID_ITransferSource, (void**)&punk);
|
||||||
ok(hr == S_OK || broken(FAILED(hr)) /* pre-Vista */, "Got 0x%08x\n", hr);
|
ok(hr == S_OK || broken(FAILED(hr)) /* pre-Vista */, "Got 0x%08x\n", hr);
|
||||||
if(SUCCEEDED(hr))
|
if(SUCCEEDED(hr))
|
||||||
|
|
|
@ -904,7 +904,7 @@ static WORD get_char_script( LPCWSTR str, INT index, INT end, INT *consumed)
|
||||||
if (str[index] == 0xc || str[index] == 0x20 || str[index] == 0x202f)
|
if (str[index] == 0xc || str[index] == 0x20 || str[index] == 0x202f)
|
||||||
return Script_CR;
|
return Script_CR;
|
||||||
|
|
||||||
/* These punctuation are separated out as Latin punctuation */
|
/* These punctuation characters are separated out as Latin punctuation */
|
||||||
if (strchrW(latin_punc,str[index]))
|
if (strchrW(latin_punc,str[index]))
|
||||||
return Script_Punctuation2;
|
return Script_Punctuation2;
|
||||||
|
|
||||||
|
|
|
@ -240,7 +240,7 @@ static void test_context(void)
|
||||||
* FIXME:
|
* FIXME:
|
||||||
* We don't want to mess too much with these for now so we should delete only the ones
|
* We don't want to mess too much with these for now so we should delete only the ones
|
||||||
* that shouldn't be there like the deadbeef ones. We first have to figure out if it's
|
* that shouldn't be there like the deadbeef ones. We first have to figure out if it's
|
||||||
* save to remove files and directories from CatRoot/CatRoot2.
|
* safe to remove files and directories from CatRoot/CatRoot2.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ret = pCryptCATAdminAcquireContext(&hca, &dummy, 0);
|
ret = pCryptCATAdminAcquireContext(&hca, &dummy, 0);
|
||||||
|
|
Loading…
Reference in New Issue