mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 11:54:06 +00:00
Assorted spelling fixes.
This commit is contained in:
parent
fed9f67bc4
commit
5ba7f79bad
|
@ -867,7 +867,7 @@ CreateMappedBitmap (HINSTANCE hInstance, INT_PTR idBitmap, UINT wFlags,
|
|||
* Failure: 0
|
||||
*
|
||||
* NOTES
|
||||
* Do not use this functions anymore. Use CreateToolbarEx instead.
|
||||
* Do not use this function anymore. Use CreateToolbarEx instead.
|
||||
*/
|
||||
|
||||
HWND WINAPI
|
||||
|
|
|
@ -1136,7 +1136,7 @@ static inline BOOL ranges_delitem(RANGES ranges, INT nItem)
|
|||
* ITERATOR DOCUMENTATION
|
||||
*
|
||||
* The iterator functions allow for easy, and convenient iteration
|
||||
* over items of interest in the list. Typically, you create a
|
||||
* over items of interest in the list. Typically, you create an
|
||||
* iterator, use it, and destroy it, as such:
|
||||
* ITERATOR i;
|
||||
*
|
||||
|
|
|
@ -3347,7 +3347,7 @@ TOOLBAR_GetButtonInfoT(const TOOLBAR_INFO *infoPtr, INT Id, LPTBBUTTONINFOW lpTb
|
|||
if (lpTbInfo == NULL)
|
||||
return -1;
|
||||
|
||||
/* MSDN documents a iImageLabel field added in Vista but it is not present in
|
||||
/* MSDN documents an iImageLabel field added in Vista but it is not present in
|
||||
* the headers and tests shows that even with comctl 6 Vista accepts only the
|
||||
* original TBBUTTONINFO size
|
||||
*/
|
||||
|
|
|
@ -6767,7 +6767,7 @@ static void test_encodeCMSSignerInfo(DWORD dwEncoding)
|
|||
ok(GetLastError() == E_INVALIDARG,
|
||||
"Expected E_INVALIDARG, got %08x\n", GetLastError());
|
||||
/* To be encoded, a signer must have a valid cert ID, where a valid ID may
|
||||
* be a key id or a issuer serial number with at least the issuer set, and
|
||||
* be a key id or an issuer serial number with at least the issuer set, and
|
||||
* the encoding must include PKCS_7_ASN_ENCODING.
|
||||
* (That isn't enough to be decoded, see decoding tests.)
|
||||
*/
|
||||
|
|
|
@ -761,7 +761,7 @@ static void color_fill_test(IDirect3DDevice9 *device)
|
|||
IDirect3DSurface9_Release(rt_surface);
|
||||
}
|
||||
|
||||
/* Test ColorFill on a offscreen plain surface in D3DPOOL_DEFAULT (should pass) */
|
||||
/* Test ColorFill on an offscreen plain surface in D3DPOOL_DEFAULT (should pass) */
|
||||
hr = IDirect3DDevice9_CreateOffscreenPlainSurface(device, 32, 32,
|
||||
D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &offscreen_surface, NULL);
|
||||
ok(hr == D3D_OK, "Unable to create offscreen plain surface, hr = %08x\n", hr);
|
||||
|
@ -777,7 +777,7 @@ static void color_fill_test(IDirect3DDevice9 *device)
|
|||
IDirect3DSurface9_Release(offscreen_surface);
|
||||
}
|
||||
|
||||
/* Try ColorFill on a offscreen surface in sysmem (should fail) */
|
||||
/* Try ColorFill on an offscreen surface in sysmem (should fail) */
|
||||
offscreen_surface = NULL;
|
||||
hr = IDirect3DDevice9_CreateOffscreenPlainSurface(device, 32, 32,
|
||||
D3DFMT_A8R8G8B8, D3DPOOL_SYSTEMMEM, &offscreen_surface, NULL);
|
||||
|
@ -10027,7 +10027,7 @@ static void stream_test(IDirect3DDevice9 *device)
|
|||
hr = IDirect3DDevice9_CreateIndexBuffer(device, sizeof(indices), 0, D3DFMT_INDEX16, D3DPOOL_DEFAULT, &ib, NULL);
|
||||
ok(hr == D3D_OK, "IDirect3DDevice9_CreateIndexBuffer failed with %08x\n", hr);
|
||||
if(!ib) {
|
||||
skip("Failed to create a index buffer\n");
|
||||
skip("Failed to create an index buffer\n");
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
@ -1725,8 +1725,8 @@ struct module* elf_load_module(struct process* pcs, const WCHAR* name, unsigned
|
|||
/******************************************************************
|
||||
* elf_synchronize_module_list
|
||||
*
|
||||
* this functions rescans the debuggee module's list and synchronizes it with
|
||||
* the one from 'pcs', ie:
|
||||
* this function rescans the debuggee module's list and synchronizes it with
|
||||
* the one from 'pcs', i.e.:
|
||||
* - if a module is in debuggee and not in pcs, it's loaded into pcs
|
||||
* - if a module is in pcs and not in debuggee, it's unloaded from pcs
|
||||
*/
|
||||
|
|
|
@ -4999,7 +4999,7 @@ static struct ddraw_surface *get_sub_mimaplevel(struct ddraw_surface *surface)
|
|||
* Loads a texture created with the DDSCAPS_ALLOCONLOAD
|
||||
*
|
||||
* This function isn't relayed to WineD3D because the whole interface is
|
||||
* implemented in DDraw only. For speed improvements a implementation which
|
||||
* implemented in DDraw only. For speed improvements an implementation which
|
||||
* takes OpenGL more into account could be placed into WineD3D.
|
||||
*
|
||||
* Params:
|
||||
|
|
|
@ -2763,7 +2763,7 @@ static void BltParamTest(void)
|
|||
hr = IDirectDrawSurface_Blt(surface1, &valid, NULL, NULL, DDBLT_COLORFILL, &BltFx);
|
||||
ok(hr == DD_OK, "IDirectDrawSurface_Blt with a valid rectangle for color fill returned %08x\n", hr);
|
||||
hr = IDirectDrawSurface_Blt(surface1, &valid, NULL, &invalid3, DDBLT_COLORFILL, &BltFx);
|
||||
ok(hr == DD_OK, "IDirectDrawSurface_Blt with a invalid, unused rectangle returned %08x\n", hr);
|
||||
ok(hr == DD_OK, "IDirectDrawSurface_Blt with an invalid, unused rectangle returned %08x\n", hr);
|
||||
hr = IDirectDrawSurface_Blt(surface2, &invalid1, NULL, NULL, DDBLT_COLORFILL, &BltFx);
|
||||
ok(hr == DDERR_INVALIDRECT, "IDirectDrawSurface_Blt with a with invalid rectangle 1 returned %08x\n", hr);
|
||||
hr = IDirectDrawSurface_Blt(surface2, &invalid2, NULL, NULL, DDBLT_COLORFILL, &BltFx);
|
||||
|
|
|
@ -1019,7 +1019,7 @@ static void alpha_test(IDirect3DDevice7 *device)
|
|||
ok(hr == D3D_OK, "DrawPrimitive failed, hr = %08x\n", hr);
|
||||
|
||||
/* Switch to the offscreen buffer, and redo the testing. SRCALPHA and DESTALPHA. The offscreen buffer
|
||||
* has a alpha channel on its own. Clear the offscreen buffer with alpha = 0.5 again, then draw the
|
||||
* has an alpha channel on its own. Clear the offscreen buffer with alpha = 0.5 again, then draw the
|
||||
* quads again. The SRCALPHA/INVSRCALPHA doesn't give any surprises, but the DESTALPHA/INVDESTALPHA
|
||||
* blending works as supposed now - blend factor is 0.5 in both cases, not 0.75 as from the input
|
||||
* vertices
|
||||
|
|
|
@ -1123,7 +1123,7 @@ static HRESULT test_duplicate(LPGUID lpGuid)
|
|||
bufdesc.lpwfxFormat=&wfx;
|
||||
rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&original,NULL);
|
||||
ok(rc==DS_OK && original!=NULL,
|
||||
"IDirectSound_CreateSoundBuffer() failed to create a original "
|
||||
"IDirectSound_CreateSoundBuffer() failed to create an original "
|
||||
"buffer %08x\n",rc);
|
||||
if (rc==DS_OK && original!=NULL) {
|
||||
LPDIRECTSOUNDBUFFER duplicated=NULL;
|
||||
|
|
|
@ -267,7 +267,7 @@ DDERR_BLTFASTCANTCLIP If a clipper object is attached to the
|
|||
DDERR_NOBLTHW No blter.
|
||||
DDERR_NODDROPSHW No DirectDraw ROP hardware.
|
||||
DDERR_OVERLAYNOTVISIBLE returned when GetOverlayPosition is called on a hidden overlay
|
||||
DDERR_NOOVERLAYDEST returned when GetOverlayPosition is called on a overlay that UpdateOverlay has never been called on to establish a destination.
|
||||
DDERR_NOOVERLAYDEST returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.
|
||||
DDERR_INVALIDPOSITION returned when the position of the overlay on the destination is no longer legal for that destionation.
|
||||
DDERR_NOTAOVERLAYSURFACE returned when an overlay member is called for a non-overlay surface
|
||||
DDERR_EXCLUSIVEMODEALREADYSET An attempt was made to set the cooperative level when it was already set to exclusive.
|
||||
|
|
|
@ -808,7 +808,7 @@ static const WCHAR name269W[] = { 'D','D','E','R','R','_','O','V','E','R','L','A
|
|||
static const CHAR description269A[] = "returned when GetOverlayPosition is called on a hidden overlay";
|
||||
static const WCHAR description269W[] = { 'r','e','t','u','r','n','e','d',' ','w','h','e','n',' ','G','e','t','O','v','e','r','l','a','y','P','o','s','i','t','i','o','n',' ','i','s',' ','c','a','l','l','e','d',' ','o','n',' ','a',' ','h','i','d','d','e','n',' ','o','v','e','r','l','a','y',0 };
|
||||
static const WCHAR name270W[] = { 'D','D','E','R','R','_','N','O','O','V','E','R','L','A','Y','D','E','S','T',0 };
|
||||
static const CHAR description270A[] = "returned when GetOverlayPosition is called on a overlay that UpdateOverlay has never been called on to establish a destination.";
|
||||
static const CHAR description270A[] = "returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.";
|
||||
static const WCHAR description270W[] = { 'r','e','t','u','r','n','e','d',' ','w','h','e','n',' ','G','e','t','O','v','e','r','l','a','y','P','o','s','i','t','i','o','n',' ','i','s',' ','c','a','l','l','e','d',' ','o','n',' ','a',' ','o','v','e','r','l','a','y',' ','t','h','a','t',' ','U','p','d','a','t','e','O','v','e','r','l','a','y',' ','h','a','s',' ','n','e','v','e','r',' ','b','e','e','n',' ','c','a','l','l','e','d',' ','o','n',' ','t','o',' ','e','s','t','a','b','l','i','s','h',' ','a',' ','d','e','s','t','i','o','n','a','t','i','o','n','.',0 };
|
||||
static const WCHAR name271W[] = { 'D','D','E','R','R','_','I','N','V','A','L','I','D','P','O','S','I','T','I','O','N',0 };
|
||||
static const CHAR description271A[] = "returned when the position of the overlay on the destination is no longer legal for that destination.";
|
||||
|
|
|
@ -347,7 +347,7 @@ DDERR_BLTFASTCANTCLIP If a clipper object is attached to the
|
|||
DDERR_NOBLTHW No blter.
|
||||
DDERR_NODDROPSHW No DirectDraw ROP hardware.
|
||||
DDERR_OVERLAYNOTVISIBLE returned when GetOverlayPosition is called on a hidden overlay
|
||||
DDERR_NOOVERLAYDEST returned when GetOverlayPosition is called on a overlay that UpdateOverlay has never been called on to establish a destination.
|
||||
DDERR_NOOVERLAYDEST returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.
|
||||
DDERR_INVALIDPOSITION returned when the position of the overlay on the destination is no longer legal for that destionation.
|
||||
DDERR_NOTAOVERLAYSURFACE returned when an overlay member is called for a non-overlay surface
|
||||
DDERR_EXCLUSIVEMODEALREADYSET An attempt was made to set the cooperative level when it was already set to exclusive.
|
||||
|
|
|
@ -1048,7 +1048,7 @@ static const WCHAR name349W[] = { 'D','D','E','R','R','_','O','V','E','R','L','A
|
|||
static const CHAR description349A[] = "returned when GetOverlayPosition is called on a hidden overlay";
|
||||
static const WCHAR description349W[] = { 'r','e','t','u','r','n','e','d',' ','w','h','e','n',' ','G','e','t','O','v','e','r','l','a','y','P','o','s','i','t','i','o','n',' ','i','s',' ','c','a','l','l','e','d',' ','o','n',' ','a',' ','h','i','d','d','e','n',' ','o','v','e','r','l','a','y',0 };
|
||||
static const WCHAR name350W[] = { 'D','D','E','R','R','_','N','O','O','V','E','R','L','A','Y','D','E','S','T',0 };
|
||||
static const CHAR description350A[] = "returned when GetOverlayPosition is called on a overlay that UpdateOverlay has never been called on to establish a destination.";
|
||||
static const CHAR description350A[] = "returned when GetOverlayPosition is called on an overlay that UpdateOverlay has never been called on to establish a destination.";
|
||||
static const WCHAR description350W[] = { 'r','e','t','u','r','n','e','d',' ','w','h','e','n',' ','G','e','t','O','v','e','r','l','a','y','P','o','s','i','t','i','o','n',' ','i','s',' ','c','a','l','l','e','d',' ','o','n',' ','a',' ','o','v','e','r','l','a','y',' ','t','h','a','t',' ','U','p','d','a','t','e','O','v','e','r','l','a','y',' ','h','a','s',' ','n','e','v','e','r',' ','b','e','e','n',' ','c','a','l','l','e','d',' ','o','n',' ','t','o',' ','e','s','t','a','b','l','i','s','h',' ','a',' ','d','e','s','t','i','o','n','a','t','i','o','n','.',0 };
|
||||
static const WCHAR name351W[] = { 'D','D','E','R','R','_','I','N','V','A','L','I','D','P','O','S','I','T','I','O','N',0 };
|
||||
static const CHAR description351A[] = "returned when the position of the overlay on the destination is no longer legal for that destination.";
|
||||
|
|
|
@ -1346,7 +1346,7 @@ static void test_mono_dibsection(void)
|
|||
SetDIBitsToDevice(memdc, 0, 0, 10, 10, 0, 0, 0, 10, bits, pbmi, DIB_RGB_COLORS);
|
||||
ok(ds_bits[0] == 0xaa, "out_bits %02x\n", ds_bits[0]);
|
||||
|
||||
/* SetDIBitsToDevice with a inverted bmi -> normal dib section */
|
||||
/* SetDIBitsToDevice with an inverted bmi -> normal dib section */
|
||||
|
||||
colors[0].rgbRed = 0xff;
|
||||
colors[0].rgbGreen = 0xff;
|
||||
|
@ -1431,7 +1431,7 @@ static void test_mono_dibsection(void)
|
|||
SetDIBitsToDevice(memdc, 0, 0, 10, 10, 0, 0, 0, 10, bits, pbmi, DIB_RGB_COLORS);
|
||||
ok(ds_bits[0] == 0x55, "out_bits %02x\n", ds_bits[0]);
|
||||
|
||||
/* SetDIBitsToDevice with a inverted bmi -> inverted dib section */
|
||||
/* SetDIBitsToDevice with an inverted bmi -> inverted dib section */
|
||||
|
||||
colors[0].rgbRed = 0xff;
|
||||
colors[0].rgbGreen = 0xff;
|
||||
|
|
|
@ -96,7 +96,7 @@ static void test_DIB_PAL_COLORS(void) {
|
|||
getColor = GetPixel( memhdc, 0, 0 );
|
||||
ok( getColor == chkColor, "getColor=%08X\n", (UINT)getColor );
|
||||
|
||||
/* Test with a invalid DIBINDEX to DIB_PAL_COLORS */
|
||||
/* Test with an invalid DIBINDEX to DIB_PAL_COLORS */
|
||||
setColor = DIBINDEX( 12 );
|
||||
SetPixel( memhdc, 0, 0, setColor );
|
||||
chkColor = RGB( 0, 0, 0 );
|
||||
|
|
|
@ -117,7 +117,7 @@ static void test_GetDiskFreeSpaceA(void)
|
|||
|
||||
if (!ret)
|
||||
/* GetDiskFreeSpaceA() should succeed, but it can fail with too many
|
||||
different GetLastError() results to be usable for a ok() */
|
||||
different GetLastError() results to be usable for an ok() */
|
||||
trace("GetDiskFreeSpaceA(%s) failed with %d\n", drive, GetLastError());
|
||||
|
||||
if( GetVersion() & 0x80000000)
|
||||
|
@ -134,7 +134,7 @@ static void test_GetDiskFreeSpaceA(void)
|
|||
|
||||
if (!ret)
|
||||
/* GetDiskFreeSpaceExA() should succeed, but it can fail with too many
|
||||
different GetLastError() results to be usable for a ok() */
|
||||
different GetLastError() results to be usable for an ok() */
|
||||
trace("GetDiskFreeSpaceExA(%s) failed with %d\n", drive, GetLastError());
|
||||
|
||||
ok( bytes_per_sector == 0 || /* empty cd rom drive */
|
||||
|
@ -192,7 +192,7 @@ static void test_GetDiskFreeSpaceW(void)
|
|||
drive[0], ret, GetLastError());
|
||||
else if (!ret)
|
||||
/* GetDiskFreeSpaceW() should succeed, but it can fail with too many
|
||||
different GetLastError() results to be usable for a ok() */
|
||||
different GetLastError() results to be usable for an ok() */
|
||||
trace("GetDiskFreeSpaceW(%c) failed with %d\n", drive[0], GetLastError());
|
||||
}
|
||||
logical_drives >>= 1;
|
||||
|
|
|
@ -214,7 +214,7 @@ static void test_GetVolumeNameForVolumeMountPointA(void)
|
|||
"GetVolumeNameForVolumeMountPointA failed, wrong error returned, was %d, should be ERROR_FILENAME_EXCED_RANGE\n",
|
||||
GetLastError());
|
||||
|
||||
/* Try on a arbitrary directory */
|
||||
/* Try on an arbitrary directory */
|
||||
/* On FAT filesystems it seems that GetLastError() is set to
|
||||
ERROR_INVALID_FUNCTION. */
|
||||
ret = pGetVolumeNameForVolumeMountPointA(temp_path, volume, len);
|
||||
|
|
|
@ -1476,7 +1476,7 @@ static void test_longstrings(void)
|
|||
"CREATE TABLE `strings` ( `id` INT, `val` CHAR(0) PRIMARY KEY `id`)");
|
||||
ok(r == ERROR_SUCCESS, "query failed\n");
|
||||
|
||||
/* try a insert a very long string */
|
||||
/* try to insert a very long string */
|
||||
str = HeapAlloc(GetProcessHeap(), 0, STRING_LENGTH+sizeof insert_query);
|
||||
len = strchr(insert_query, 'Z') - insert_query;
|
||||
strcpy(str, insert_query);
|
||||
|
|
|
@ -6624,7 +6624,7 @@ static void test_TransformWithLoadingLocalFile(void)
|
|||
WriteFile(file, szBasicTransformXML, strlen(szBasicTransformXML), &dwWritten, NULL);
|
||||
CloseHandle(file);
|
||||
|
||||
/* Correct path to not include a escape character. */
|
||||
/* Correct path to not include an escape character. */
|
||||
for(i=0; i < strlen(lpPathBuffer); i++)
|
||||
{
|
||||
if(lpPathBuffer[i] == '\\')
|
||||
|
|
|
@ -1323,7 +1323,7 @@ static NTSTATUS ioctl_completion( void *arg, IO_STATUS_BLOCK *io, NTSTATUS statu
|
|||
return status;
|
||||
}
|
||||
|
||||
/* do a ioctl call through the server */
|
||||
/* do an ioctl call through the server */
|
||||
static NTSTATUS server_ioctl_file( HANDLE handle, HANDLE event,
|
||||
PIO_APC_ROUTINE apc, PVOID apc_context,
|
||||
IO_STATUS_BLOCK *io, ULONG code,
|
||||
|
|
|
@ -314,7 +314,7 @@ static DWORD rtlraiseexception_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTR
|
|||
return ExceptionContinueSearch;
|
||||
|
||||
/* Eip in context is decreased by 1
|
||||
* Increase it again, else execution will continue in the middle of a instruction */
|
||||
* Increase it again, else execution will continue in the middle of an instruction */
|
||||
if(rec->ExceptionCode == EXCEPTION_BREAKPOINT && (context->Eip == (DWORD)code_mem + 0xa))
|
||||
context->Eip += 1;
|
||||
return ExceptionContinueExecution;
|
||||
|
@ -796,7 +796,7 @@ static void test_debugger(void)
|
|||
|
||||
if (counter > 100)
|
||||
{
|
||||
ok(FALSE, "got way too many exceptions, probably caught in a infinite loop, terminating child\n");
|
||||
ok(FALSE, "got way too many exceptions, probably caught in an infinite loop, terminating child\n");
|
||||
pNtTerminateProcess(pi.hProcess, 1);
|
||||
}
|
||||
else if (counter >= 2) /* skip startup breakpoint */
|
||||
|
|
|
@ -110,7 +110,7 @@ static void test_query_basic(void)
|
|||
ok( status == STATUS_ACCESS_VIOLATION || status == STATUS_INVALID_PARAMETER /* vista */,
|
||||
"Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_PARAMETER, got %08x\n", status);
|
||||
|
||||
/* Use a existing class, correct length, a pointer to a buffer but no ReturnLength pointer */
|
||||
/* Use an existing class, correct length, a pointer to a buffer but no ReturnLength pointer */
|
||||
trace("Check no ReturnLength pointer\n");
|
||||
status = pNtQuerySystemInformation(SystemBasicInformation, &sbi, sizeof(sbi), NULL);
|
||||
ok( status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08x\n", status);
|
||||
|
|
|
@ -69,7 +69,7 @@ typedef struct tagTrackerWindowInfo
|
|||
|
||||
BOOL escPressed;
|
||||
HWND curTargetHWND; /* window the mouse is hovering over */
|
||||
HWND curDragTargetHWND; /* might be a ancestor of curTargetHWND */
|
||||
HWND curDragTargetHWND; /* might be an ancestor of curTargetHWND */
|
||||
IDropTarget* curDragTarget;
|
||||
POINTL curMousePos; /* current position of the mouse in screen coordinates */
|
||||
DWORD dwKeyState; /* current state of the shift and ctrl keys and the mouse buttons */
|
||||
|
|
|
@ -902,6 +902,6 @@ HRESULT WINAPI DllUnregisterServer(void)
|
|||
HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hIcon)
|
||||
{
|
||||
FIXME("(%p,%p), partially implemented.\n",hinstExe,hIcon);
|
||||
/* FIXME: make a extended conversation from HICON to HCURSOR */
|
||||
/* FIXME: make an extended conversation from HICON to HCURSOR */
|
||||
return CopyCursor(hIcon);
|
||||
}
|
||||
|
|
|
@ -2479,7 +2479,7 @@ DWORD _ILGetFileAttributes(LPCITEMIDLIST pidl, LPSTR pOut, UINT uOutSize)
|
|||
/*************************************************************************
|
||||
* ILFreeaPidl
|
||||
*
|
||||
* free a aPidl struct
|
||||
* frees an aPidl struct
|
||||
*/
|
||||
void _ILFreeaPidl(LPITEMIDLIST * apidl, UINT cidl)
|
||||
{
|
||||
|
|
|
@ -20,10 +20,9 @@
|
|||
*
|
||||
* NOTES:
|
||||
*
|
||||
* DO NOT use this definitions outside the shell32.dll !
|
||||
* DO NOT use these definitions outside the shell32.dll!
|
||||
*
|
||||
* The contents of a pidl should never used from a application
|
||||
* directly.
|
||||
* The contents of a pidl should never be used directly from an application.
|
||||
*
|
||||
* Undocumented:
|
||||
* MS says: the abID of SHITEMID should be treated as binary data and not
|
||||
|
|
|
@ -7416,7 +7416,7 @@ static void test_IUri_GetPropertyBSTR(void) {
|
|||
hr = IUri_GetPropertyBSTR(uri, Uri_PROPERTY_RAW_URI, NULL, 0);
|
||||
ok(hr == E_POINTER, "Error: GetPropertyBSTR returned 0x%08x, expected 0x%08x.\n", hr, E_POINTER);
|
||||
|
||||
/* Make sure it handles a invalid Uri_PROPERTY's correctly. */
|
||||
/* Make sure it handles an invalid Uri_PROPERTY correctly. */
|
||||
hr = IUri_GetPropertyBSTR(uri, Uri_PROPERTY_PORT, &received, 0);
|
||||
ok(hr == E_INVALIDARG /* IE10 */ || broken(hr == S_OK), "Error: GetPropertyBSTR returned 0x%08x, expected E_INVALIDARG or S_OK.\n", hr);
|
||||
if(SUCCEEDED(hr)) {
|
||||
|
|
|
@ -2329,7 +2329,7 @@ static void test_SetMenu(HWND parent)
|
|||
SetWindowLongA(child, GWL_STYLE, style);
|
||||
|
||||
SetWindowLongA(child, GWL_STYLE, style | WS_OVERLAPPED);
|
||||
ok(!SetMenu(child, hMenu), "SetMenu on a overlapped child window should fail\n");
|
||||
ok(!SetMenu(child, hMenu), "SetMenu on an overlapped child window should fail\n");
|
||||
SetWindowLongA(child, GWL_STYLE, style);
|
||||
|
||||
DestroyWindow(child);
|
||||
|
|
|
@ -199,7 +199,7 @@ HRESULT WINAPI WerReportAddDump(HREPORT hReportHandle, HANDLE hProcess, HANDLE h
|
|||
/***********************************************************************
|
||||
* WerReportAddFile (wer.@)
|
||||
*
|
||||
* Add File to a error report handle.
|
||||
* Add a file to an error report handle.
|
||||
*
|
||||
* PARAMS
|
||||
* hreport [i] error reporting handle to add the file
|
||||
|
|
|
@ -175,7 +175,7 @@ struct control_frame
|
|||
struct arb_ps_np2fixup_info
|
||||
{
|
||||
struct ps_np2fixup_info super;
|
||||
/* For ARB we need a offset value:
|
||||
/* For ARB we need an offset value:
|
||||
* With both GLSL and ARB mode the NP2 fixup information (the texture dimensions) are stored in a
|
||||
* consecutive way (GLSL uses a uniform array). Since ARB doesn't know the notion of a "standalone"
|
||||
* array we need an offset to the index inside the program local parameter array. */
|
||||
|
@ -5316,7 +5316,7 @@ static BOOL get_bool_const(const struct wined3d_shader_instruction *ins,
|
|||
|
||||
if (reg_maps->local_bool_consts & flag)
|
||||
{
|
||||
/* What good is a if(bool) with a hardcoded local constant? I don't know, but handle it */
|
||||
/* What good is an if(bool) with a hardcoded local constant? I don't know, but handle it */
|
||||
LIST_FOR_EACH_ENTRY(constant, &shader->constantsB, struct wined3d_shader_lconst, entry)
|
||||
{
|
||||
if (constant->idx == idx)
|
||||
|
|
|
@ -4639,9 +4639,9 @@ static HRESULT surface_blt_special(struct wined3d_surface *dst_surface, const RE
|
|||
/* Blt is a pretty powerful call, while glCopyTexSubImage2D is not. glCopyTexSubImage cannot
|
||||
* flip the image nor scale it.
|
||||
*
|
||||
* -> If the app asks for a unscaled, upside down copy, just perform one glCopyTexSubImage2D call
|
||||
* -> If the app wants a image width an unscaled width, copy it line per line
|
||||
* -> If the app wants a image that is scaled on the x axis, and the destination rectangle is smaller
|
||||
* -> If the app asks for an unscaled, upside down copy, just perform one glCopyTexSubImage2D call
|
||||
* -> If the app wants an image width an unscaled width, copy it line per line
|
||||
* -> If the app wants an image that is scaled on the x axis, and the destination rectangle is smaller
|
||||
* than the frame buffer, draw an upside down scaled image onto the fb, read it back and restore the
|
||||
* back buffer. This is slower than reading line per line, thus not used for flipping
|
||||
* -> If the app wants a scaled image with a dest rect that is bigger than the fb, it has to be copied
|
||||
|
|
|
@ -1072,7 +1072,7 @@ static HRESULT QT_Process_Movie(QTSplitter* filter)
|
|||
return hr;
|
||||
|
||||
trk = GetMovieIndTrackType(filter->pQTMovie, 1, AudioMediaCharacteristic, movieTrackCharacteristic | movieTrackEnabledOnly);
|
||||
TRACE("%p is a audio track\n",trk);
|
||||
TRACE("%p is an audio track\n",trk);
|
||||
if (trk)
|
||||
hr = QT_Process_Audio_Track(filter, trk);
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ static BOOL XDNDAccepted = FALSE;
|
|||
static DWORD XDNDDropEffect = DROPEFFECT_NONE;
|
||||
/* the last window the mouse was over */
|
||||
static HWND XDNDLastTargetWnd;
|
||||
/* might be a ancestor of XDNDLastTargetWnd */
|
||||
/* might be an ancestor of XDNDLastTargetWnd */
|
||||
static HWND XDNDLastDropTargetWnd;
|
||||
|
||||
static void X11DRV_XDND_InsertXDNDData(int property, int format, void* data, unsigned int len);
|
||||
|
|
|
@ -1378,7 +1378,7 @@ static unsigned int ws_sockaddr_ws2u(const struct WS_sockaddr* wsaddr, int wsadd
|
|||
case WS_AF_UNSPEC: {
|
||||
/* Try to determine the needed space by the passed windows sockaddr space */
|
||||
switch (wsaddrlen) {
|
||||
default: /* likely a ipv4 address */
|
||||
default: /* likely an ipv4 address */
|
||||
case sizeof(struct WS_sockaddr_in):
|
||||
uaddrlen = sizeof(struct sockaddr_in);
|
||||
break;
|
||||
|
|
|
@ -7107,7 +7107,7 @@ START_TEST( sock )
|
|||
|
||||
test_completion_port();
|
||||
|
||||
/* this is a io heavy test, do it at the end so the kernel doesn't start dropping packets */
|
||||
/* this is an io heavy test, do it at the end so the kernel doesn't start dropping packets */
|
||||
test_send();
|
||||
test_synchronous_WSAIoctl();
|
||||
|
||||
|
|
|
@ -322,7 +322,7 @@ static void make_explorer_window(IShellFolder* startFolder)
|
|||
info = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(explorer_info));
|
||||
if(!info)
|
||||
{
|
||||
WINE_ERR("Could not allocate a explorer_info struct\n");
|
||||
WINE_ERR("Could not allocate an explorer_info struct\n");
|
||||
return;
|
||||
}
|
||||
hres = CoCreateInstance(&CLSID_ExplorerBrowser,NULL,CLSCTX_INPROC_SERVER,
|
||||
|
|
|
@ -589,7 +589,7 @@ static unsigned WCCURSES_FillSimpleChar(INPUT_RECORD* ir, unsigned real_inchar)
|
|||
*/
|
||||
if ((inchar = wgetch(stdscr)) != ERR)
|
||||
{
|
||||
/* we got a alt-something key... */
|
||||
/* we got an alt-something key... */
|
||||
cks = LEFT_ALT_PRESSED;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -2005,7 +2005,7 @@ static BOOL activate_drive_window(LPCWSTR path)
|
|||
|
||||
_wsplitpath(path, drv1, 0, 0, 0);
|
||||
|
||||
/* search for a already open window for the same drive */
|
||||
/* search for an already open window for the same drive */
|
||||
for(child_wnd=GetNextWindow(Globals.hmdiclient,GW_CHILD); child_wnd; child_wnd=GetNextWindow(child_wnd, GW_HWNDNEXT)) {
|
||||
ChildWnd* child = (ChildWnd*)GetWindowLongPtrW(child_wnd, GWLP_USERDATA);
|
||||
|
||||
|
@ -2030,7 +2030,7 @@ static BOOL activate_fs_window(LPCWSTR filesys)
|
|||
{
|
||||
HWND child_wnd;
|
||||
|
||||
/* search for a already open window of the given file system name */
|
||||
/* search for an already open window of the given file system name */
|
||||
for(child_wnd=GetNextWindow(Globals.hmdiclient,GW_CHILD); child_wnd; child_wnd=GetNextWindow(child_wnd, GW_HWNDNEXT)) {
|
||||
ChildWnd* child = (ChildWnd*) GetWindowLongPtrW(child_wnd, GWLP_USERDATA);
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ Mode options depend on the mode given as the first argument.
|
|||
.B Help mode:
|
||||
.nf
|
||||
No options are used.
|
||||
The program prints the help info and than exits.
|
||||
The program prints the help info and then exits.
|
||||
.PP
|
||||
.B Dump mode:
|
||||
.IP \fIfile\fR
|
||||
|
|
Loading…
Reference in a new issue