Spelling fixes.
This commit is contained in:
parent
f296a8ca6c
commit
0e4adae973
|
@ -1,9 +1,9 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Michael Hipp and other authors of the mpglib project.
|
* Copyright (c) Michael Hipp and other authors of the mpglib project.
|
||||||
*
|
*
|
||||||
* Discrete Cosine Tansform (DCT) for subband synthesis
|
* Discrete Cosine Transform (DCT) for subband synthesis
|
||||||
* optimized for machines with no auto-increment.
|
* optimized for machines with no auto-increment.
|
||||||
* The performance is highly compiler dependend. Maybe
|
* The performance is highly compiler dependent. Maybe
|
||||||
* the dct64.c version for 'normal' processor may be faster
|
* the dct64.c version for 'normal' processor may be faster
|
||||||
* even for Intel processors.
|
* even for Intel processors.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
* copyright (c) 1995,1996,1997 by Michael Hipp, All rights reserved.
|
* copyright (c) 1995,1996,1997 by Michael Hipp, All rights reserved.
|
||||||
* See also 'README'
|
* See also 'README'
|
||||||
*
|
*
|
||||||
* slighlty optimized for machines without autoincrement/decrement.
|
* Slightly optimized for machines without autoincrement/decrement.
|
||||||
* The performance is highly compiler dependend. Maybe
|
* The performance is highly compiler dependent. Maybe
|
||||||
* the decode.c version for 'normal' processor may be faster
|
* the decode.c version for 'normal' processor may be faster
|
||||||
* even for Intel processors.
|
* even for Intel processors.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) Michael Hipp and other authors of the mpglib project.
|
* Copyright (c) Michael Hipp and other authors of the mpglib project.
|
||||||
*
|
*
|
||||||
* huffman tables ... recalcualted to work with my optimzed
|
* huffman tables ... recalculated to work with my optimized
|
||||||
* decoder scheme (MH)
|
* decoder scheme (MH)
|
||||||
*
|
*
|
||||||
* probably we could save a few bytes of memory, because the
|
* probably we could save a few bytes of memory, because the
|
||||||
* smaller tables are often the part of a bigger table
|
* smaller tables are often part of a bigger table
|
||||||
*
|
*
|
||||||
* 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
|
||||||
|
|
|
@ -1571,7 +1571,7 @@ static void III_antialias(real xr[SBLIMIT][SSLIMIT],struct gr_info_s *gr_info)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DCT insipired by Jeff Tsay's DCT from the maplay package
|
DCT inspired by Jeff Tsay's DCT from the maplay package
|
||||||
this is an optimized version with manual unroll.
|
this is an optimized version with manual unroll.
|
||||||
|
|
||||||
References:
|
References:
|
||||||
|
|
|
@ -484,7 +484,7 @@ static int NAS_DestroyRingMessage(MSG_RING* mr)
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
* NAS_AddRingMessage
|
* NAS_AddRingMessage
|
||||||
*
|
*
|
||||||
* Inserts a new message into the ring (should be called from DriverProc derivated routines)
|
* Inserts a new message into the ring (should be called from DriverProc derived routines)
|
||||||
*/
|
*/
|
||||||
static int NAS_AddRingMessage(MSG_RING* mr, enum win_wm_message msg, DWORD param, BOOL wait)
|
static int NAS_AddRingMessage(MSG_RING* mr, enum win_wm_message msg, DWORD param, BOOL wait)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1299,7 +1299,7 @@ static int OSS_DestroyRingMessage(OSS_MSG_RING* omr)
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
* OSS_AddRingMessage
|
* OSS_AddRingMessage
|
||||||
*
|
*
|
||||||
* Inserts a new message into the ring (should be called from DriverProc derivated routines)
|
* Inserts a new message into the ring (should be called from DriverProc derived routines)
|
||||||
*/
|
*/
|
||||||
static int OSS_AddRingMessage(OSS_MSG_RING* omr, enum win_wm_message msg, DWORD param, BOOL wait)
|
static int OSS_AddRingMessage(OSS_MSG_RING* omr, enum win_wm_message msg, DWORD param, BOOL wait)
|
||||||
{
|
{
|
||||||
|
|
|
@ -109,7 +109,7 @@ static WINE_MIDIOUT MidiOutDev[MAX_MIDIOUTDRV];
|
||||||
|
|
||||||
/* this is the total number of MIDI out devices found (synth and port) */
|
/* this is the total number of MIDI out devices found (synth and port) */
|
||||||
static int MODM_NumDevs = 0;
|
static int MODM_NumDevs = 0;
|
||||||
/* this is the number of FM synthetizers (index from 0 to NUMFMSYNTHDEVS - 1) */
|
/* this is the number of FM synthesizers (index from 0 to NUMFMSYNTHDEVS - 1) */
|
||||||
static int MODM_NumFMSynthDevs = 0;
|
static int MODM_NumFMSynthDevs = 0;
|
||||||
/* the Midi ports have index from NUMFMSYNTHDEVS to NumDevs - 1 */
|
/* the Midi ports have index from NUMFMSYNTHDEVS to NumDevs - 1 */
|
||||||
|
|
||||||
|
@ -299,9 +299,9 @@ LRESULT OSS_MidiInit(void)
|
||||||
|
|
||||||
/* This whole part is somewhat obscure to me. I'll keep trying to dig
|
/* This whole part is somewhat obscure to me. I'll keep trying to dig
|
||||||
info about it. If you happen to know, please tell us. The very
|
info about it. If you happen to know, please tell us. The very
|
||||||
descritive minfo.dev_type was not used here.
|
descriptive minfo.dev_type was not used here.
|
||||||
*/
|
*/
|
||||||
/* Manufac ID. We do not have access to this with soundcard.h
|
/* Manufacturer ID. We do not have access to this with soundcard.h
|
||||||
Does not seem to be a problem, because in mmsystem.h only
|
Does not seem to be a problem, because in mmsystem.h only
|
||||||
Microsoft's ID is listed */
|
Microsoft's ID is listed */
|
||||||
MidiOutDev[numsynthdevs + i].caps.wMid = 0x00FF;
|
MidiOutDev[numsynthdevs + i].caps.wMid = 0x00FF;
|
||||||
|
@ -980,7 +980,7 @@ typedef struct sChannel {
|
||||||
|
|
||||||
int bender;
|
int bender;
|
||||||
int benderRange;
|
int benderRange;
|
||||||
/* controlers */
|
/* controllers */
|
||||||
int bank; /* CTL_BANK_SELECT */
|
int bank; /* CTL_BANK_SELECT */
|
||||||
int volume; /* CTL_MAIN_VOLUME */
|
int volume; /* CTL_MAIN_VOLUME */
|
||||||
int balance; /* CTL_BALANCE */
|
int balance; /* CTL_BALANCE */
|
||||||
|
|
|
@ -126,7 +126,7 @@ const unsigned char midiFMInstrumentPatches[128 * 16] = {
|
||||||
/* 96 Synth SFX 1 - Ice Rain */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
/* 96 Synth SFX 1 - Ice Rain */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
/* 97 Synth SFX 2 - Soundtrack */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
/* 97 Synth SFX 2 - Soundtrack */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
/* 98 Synth SFX 3 - Crystal */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
/* 98 Synth SFX 3 - Crystal */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
/* 99 Synth SFX 4 - Athmosphere */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
/* 99 Synth SFX 4 - Atmosphere */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
/* 100 Synth SFX 5 - Brightness */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
/* 100 Synth SFX 5 - Brightness */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
/* 101 Synth SFX 6 - Goblin */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
/* 101 Synth SFX 6 - Goblin */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
/* 102 Synth SFX 7 - Echo drops */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
/* 102 Synth SFX 7 - Echo drops */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
|
|
@ -928,7 +928,7 @@ static int BITBLT_GetSrcArea( X11DRV_PDEVICE *physDevSrc, X11DRV_PDEVICE *physDe
|
||||||
if (physDevDst->depth == 1)
|
if (physDevDst->depth == 1)
|
||||||
{
|
{
|
||||||
/* MSDN says if StretchBlt must convert a bitmap from monochrome
|
/* MSDN says if StretchBlt must convert a bitmap from monochrome
|
||||||
to color or vice versa, the forground and background color of
|
to color or vice versa, the foreground and background color of
|
||||||
the device context are used. In fact, it also applies to the
|
the device context are used. In fact, it also applies to the
|
||||||
case when it is converted from mono to mono. */
|
case when it is converted from mono to mono. */
|
||||||
XSetBackground( gdi_display, gc, physDevDst->textPixel );
|
XSetBackground( gdi_display, gc, physDevDst->textPixel );
|
||||||
|
|
|
@ -124,7 +124,7 @@ static LONG X11DRV_desktop_SetCurrentMode(int mode)
|
||||||
if (dwBpp != dd_modes[mode].dwBPP)
|
if (dwBpp != dd_modes[mode].dwBPP)
|
||||||
{
|
{
|
||||||
FIXME("Cannot change screen BPP from %d to %d\n", dwBpp, dd_modes[mode].dwBPP);
|
FIXME("Cannot change screen BPP from %d to %d\n", dwBpp, dd_modes[mode].dwBPP);
|
||||||
/* Ignore the depth missmatch
|
/* Ignore the depth mismatch
|
||||||
*
|
*
|
||||||
* Some (older) applications require a specific bit depth, this will allow them
|
* Some (older) applications require a specific bit depth, this will allow them
|
||||||
* to run. X11drv performs a color depth conversion if needed.
|
* to run. X11drv performs a color depth conversion if needed.
|
||||||
|
|
|
@ -2636,7 +2636,7 @@ static void X11DRV_DIB_SetImageBits_24( int lines, const BYTE *srcbits,
|
||||||
case 4:
|
case 4:
|
||||||
case 8:
|
case 8:
|
||||||
{
|
{
|
||||||
/* ==== rgb 888 dib -> any bmp bormat ==== */
|
/* ==== rgb 888 dib -> any bmp format ==== */
|
||||||
const BYTE* srcbyte;
|
const BYTE* srcbyte;
|
||||||
|
|
||||||
/* Windows only supports one 24bpp DIB format: RGB888 */
|
/* Windows only supports one 24bpp DIB format: RGB888 */
|
||||||
|
@ -3652,7 +3652,7 @@ static int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
|
||||||
|
|
||||||
/* We must save and restore the bmpImage's masks in order
|
/* We must save and restore the bmpImage's masks in order
|
||||||
* to preserve them across the call to XShmGetImage, which
|
* to preserve them across the call to XShmGetImage, which
|
||||||
* decides to eleminate them since it doesn't happen to know
|
* decides to eliminate them since it doesn't happen to know
|
||||||
* what the format of the image is supposed to be, even though
|
* what the format of the image is supposed to be, even though
|
||||||
* we do. */
|
* we do. */
|
||||||
saveRed = bmpImage->red_mask;
|
saveRed = bmpImage->red_mask;
|
||||||
|
|
|
@ -651,7 +651,7 @@ static HWND find_drop_window( HWND hQueryWnd, LPPOINT lpPt )
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* EVENT_DropFromOffix
|
* EVENT_DropFromOffix
|
||||||
*
|
*
|
||||||
* don't know if it still works (last Changlog is from 96/11/04)
|
* don't know if it still works (last Changelog is from 96/11/04)
|
||||||
*/
|
*/
|
||||||
static void EVENT_DropFromOffiX( HWND hWnd, XClientMessageEvent *event )
|
static void EVENT_DropFromOffiX( HWND hWnd, XClientMessageEvent *event )
|
||||||
{
|
{
|
||||||
|
|
|
@ -2623,8 +2623,8 @@ static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribivARB(HDC hdc, int iPixelF
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert the WGL pixelformat to a GLX one, if this fails then most likely the iPixelFormat isn't supoprted.
|
/* Convert the WGL pixelformat to a GLX one, if this fails then most likely the iPixelFormat isn't supported.
|
||||||
* We don't have to fail yet as a program can specify an invaled iPixelFormat (lets say 0) if it wants to query
|
* We don't have to fail yet as a program can specify an invalid iPixelFormat (lets say 0) if it wants to query
|
||||||
* the number of supported WGL formats. Whether the iPixelFormat is valid is handled in the for-loop below. */
|
* the number of supported WGL formats. Whether the iPixelFormat is valid is handled in the for-loop below. */
|
||||||
fmt = ConvertPixelFormatWGLtoGLX(gdi_display, iPixelFormat, TRUE /* Offscreen */, &nWGLFormats);
|
fmt = ConvertPixelFormatWGLtoGLX(gdi_display, iPixelFormat, TRUE /* Offscreen */, &nWGLFormats);
|
||||||
if(!fmt) {
|
if(!fmt) {
|
||||||
|
|
|
@ -1052,7 +1052,7 @@ static void draw_moving_frame( HDC hdc, RECT *rect, BOOL thickframe )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* start_size_move
|
* start_size_move
|
||||||
*
|
*
|
||||||
* Initialisation of a move or resize, when initiatied from a menu choice.
|
* Initialization of a move or resize, when initiated from a menu choice.
|
||||||
* Return hit test code for caption or sizing border.
|
* Return hit test code for caption or sizing border.
|
||||||
*/
|
*/
|
||||||
static LONG start_size_move( HWND hwnd, WPARAM wParam, POINT *capturePoint, LONG style )
|
static LONG start_size_move( HWND hwnd, WPARAM wParam, POINT *capturePoint, LONG style )
|
||||||
|
@ -1069,7 +1069,7 @@ static LONG start_size_move( HWND hwnd, WPARAM wParam, POINT *capturePoint, LONG
|
||||||
/* Move pointer at the center of the caption */
|
/* Move pointer at the center of the caption */
|
||||||
RECT rect = rectWindow;
|
RECT rect = rectWindow;
|
||||||
/* Note: to be exactly centered we should take the different types
|
/* Note: to be exactly centered we should take the different types
|
||||||
* of border into account, but it shouldn't make more that a few pixels
|
* of border into account, but it shouldn't make more than a few pixels
|
||||||
* of difference so let's not bother with that */
|
* of difference so let's not bother with that */
|
||||||
rect.top += GetSystemMetrics(SM_CYBORDER);
|
rect.top += GetSystemMetrics(SM_CYBORDER);
|
||||||
if (style & WS_SYSMENU)
|
if (style & WS_SYSMENU)
|
||||||
|
|
|
@ -459,13 +459,13 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault)
|
||||||
|
|
||||||
if (!X11DRV_XInput_Init())
|
if (!X11DRV_XInput_Init())
|
||||||
{
|
{
|
||||||
ERR("Unable to initialized the XInput library.\n");
|
ERR("Unable to initialize the XInput library.\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
hwndTabletDefault = hwnddefault;
|
hwndTabletDefault = hwnddefault;
|
||||||
|
|
||||||
/* Do base initializaion */
|
/* Do base initialization */
|
||||||
strcpyW(gSysContext.lcName, SZ_CONTEXT_NAME);
|
strcpyW(gSysContext.lcName, SZ_CONTEXT_NAME);
|
||||||
strcpyW(gSysDevice.NAME, SZ_DEVICE_NAME);
|
strcpyW(gSysDevice.NAME, SZ_DEVICE_NAME);
|
||||||
|
|
||||||
|
|
|
@ -443,7 +443,7 @@ static int X11DRV_XDND_DeconstructTextPlain(int property, void* data, int len)
|
||||||
{
|
{
|
||||||
char* dostext;
|
char* dostext;
|
||||||
|
|
||||||
/* Always suppply plain text */
|
/* Always supply plain text */
|
||||||
X11DRV_XDND_UnixToDos(&dostext, (char*)data, len);
|
X11DRV_XDND_UnixToDos(&dostext, (char*)data, len);
|
||||||
X11DRV_XDND_InsertXDNDData(property, CF_TEXT, dostext, strlen(dostext));
|
X11DRV_XDND_InsertXDNDData(property, CF_TEXT, dostext, strlen(dostext));
|
||||||
|
|
||||||
|
|
|
@ -1050,7 +1050,7 @@ static void SmoothGlyphGray(XImage *image, int x, int y, void *bitmap, XGlyphInf
|
||||||
/*************************************************************
|
/*************************************************************
|
||||||
* get_tile_pict
|
* get_tile_pict
|
||||||
*
|
*
|
||||||
* Returns an appropiate Picture for tiling the text colour.
|
* Returns an appropriate Picture for tiling the text colour.
|
||||||
* Call and use result within the xrender_cs
|
* Call and use result within the xrender_cs
|
||||||
*/
|
*/
|
||||||
static Picture get_tile_pict(enum drawable_depth_type type, int text_pixel)
|
static Picture get_tile_pict(enum drawable_depth_type type, int text_pixel)
|
||||||
|
|
|
@ -2354,7 +2354,7 @@ INT FTP_ReceiveResponse(LPWININETFTPSESSIONW lpwfs, DWORD_PTR dwContext)
|
||||||
if(lpszResponse[3] != '-')
|
if(lpszResponse[3] != '-')
|
||||||
break;
|
break;
|
||||||
else
|
else
|
||||||
{ /* Start of multiline repsonse. Loop until we get "nnn " */
|
{ /* Start of multiline response. Loop until we get "nnn " */
|
||||||
multiline = TRUE;
|
multiline = TRUE;
|
||||||
memcpy(firstprefix, lpszResponse, 3);
|
memcpy(firstprefix, lpszResponse, 3);
|
||||||
firstprefix[3] = ' ';
|
firstprefix[3] = ' ';
|
||||||
|
@ -3430,7 +3430,7 @@ static BOOL FTP_ParseDirectory(LPWININETFTPSESSIONW lpwfs, INT nSocket, LPCWSTR
|
||||||
|
|
||||||
TRACE("\n");
|
TRACE("\n");
|
||||||
|
|
||||||
/* Allocate intial file properties array */
|
/* Allocate initial file properties array */
|
||||||
*lpafp = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(FILEPROPERTIESW)*(sizeFilePropArray));
|
*lpafp = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(FILEPROPERTIESW)*(sizeFilePropArray));
|
||||||
if (!*lpafp)
|
if (!*lpafp)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -281,7 +281,7 @@ static LPWSTR HTTP_BuildHeaderRequestString( LPWININETHTTPREQW lpwhr, LPCWSTR ve
|
||||||
req[n++] = path;
|
req[n++] = path;
|
||||||
req[n++] = http1_1 ? g_szHttp1_1 : g_szHttp1_0;
|
req[n++] = http1_1 ? g_szHttp1_1 : g_szHttp1_0;
|
||||||
|
|
||||||
/* Append custom request heades */
|
/* Append custom request headers */
|
||||||
for (i = 0; i < lpwhr->nCustHeaders; i++)
|
for (i = 0; i < lpwhr->nCustHeaders; i++)
|
||||||
{
|
{
|
||||||
if (lpwhr->pCustHeaders[i].wFlags & HDR_ISREQUEST)
|
if (lpwhr->pCustHeaders[i].wFlags & HDR_ISREQUEST)
|
||||||
|
@ -723,7 +723,7 @@ BOOL WINAPI HttpAddRequestHeadersA(HINTERNET hHttpRequest,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* read any content returned by the server so that the connection can be
|
/* read any content returned by the server so that the connection can be
|
||||||
* resued */
|
* reused */
|
||||||
static void HTTP_DrainContent(LPWININETHTTPREQW lpwhr)
|
static void HTTP_DrainContent(LPWININETHTTPREQW lpwhr)
|
||||||
{
|
{
|
||||||
DWORD bytes_read;
|
DWORD bytes_read;
|
||||||
|
@ -1768,7 +1768,7 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev
|
||||||
if (index >= 0)
|
if (index >= 0)
|
||||||
lphttpHdr = &lpwhr->pCustHeaders[index];
|
lphttpHdr = &lpwhr->pCustHeaders[index];
|
||||||
|
|
||||||
/* Ensure header satisifies requested attributes */
|
/* Ensure header satisfies requested attributes */
|
||||||
if (!lphttpHdr ||
|
if (!lphttpHdr ||
|
||||||
((dwInfoLevel & HTTP_QUERY_FLAG_REQUEST_HEADERS) &&
|
((dwInfoLevel & HTTP_QUERY_FLAG_REQUEST_HEADERS) &&
|
||||||
(~lphttpHdr->wFlags & HDR_ISREQUEST)))
|
(~lphttpHdr->wFlags & HDR_ISREQUEST)))
|
||||||
|
@ -1780,7 +1780,7 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev
|
||||||
if (lpdwIndex)
|
if (lpdwIndex)
|
||||||
(*lpdwIndex)++;
|
(*lpdwIndex)++;
|
||||||
|
|
||||||
/* coalesce value to reuqested type */
|
/* coalesce value to requested type */
|
||||||
if (dwInfoLevel & HTTP_QUERY_FLAG_NUMBER)
|
if (dwInfoLevel & HTTP_QUERY_FLAG_NUMBER)
|
||||||
{
|
{
|
||||||
*(int *)lpBuffer = atoiW(lphttpHdr->lpszValue);
|
*(int *)lpBuffer = atoiW(lphttpHdr->lpszValue);
|
||||||
|
|
|
@ -2808,7 +2808,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe
|
||||||
if (lpszUrl == NULL)
|
if (lpszUrl == NULL)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* According to the doc we are supost to use the ip for the next
|
* According to the doc we are supposed to use the ip for the next
|
||||||
* server in the WnInet internal server database. I have
|
* server in the WnInet internal server database. I have
|
||||||
* no idea what that is or how to get it.
|
* no idea what that is or how to get it.
|
||||||
*
|
*
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "wine/test.h"
|
#include "wine/test.h"
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* Compability macros
|
* Compatibility macros
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DWORD_PTR UINT_PTR
|
#define DWORD_PTR UINT_PTR
|
||||||
|
|
|
@ -241,7 +241,7 @@ static void InternetCrackUrl_test(void)
|
||||||
ok(GLE != 0xdeadbeef && GLE != ERROR_SUCCESS, "Expected GLE to represent a failure\n");
|
ok(GLE != 0xdeadbeef && GLE != ERROR_SUCCESS, "Expected GLE to represent a failure\n");
|
||||||
|
|
||||||
/* Invalid Call: must set size of components structure (Windows only
|
/* Invalid Call: must set size of components structure (Windows only
|
||||||
* inforces this on the InternetCrackUrlA version of the call) */
|
* enforces this on the InternetCrackUrlA version of the call) */
|
||||||
copy_compsA(&urlSrc, &urlComponents, 0, 1024, 1024, 1024, 2048, 1024);
|
copy_compsA(&urlSrc, &urlComponents, 0, 1024, 1024, 1024, 2048, 1024);
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
urlComponents.dwStructSize = 0;
|
urlComponents.dwStructSize = 0;
|
||||||
|
@ -250,7 +250,7 @@ static void InternetCrackUrl_test(void)
|
||||||
ok(GLE != 0xdeadbeef && GLE != ERROR_SUCCESS, "Expected GLE to represent a failure\n");
|
ok(GLE != 0xdeadbeef && GLE != ERROR_SUCCESS, "Expected GLE to represent a failure\n");
|
||||||
|
|
||||||
/* Invalid Call: size of dwStructSize must be one of the "standard" sizes
|
/* Invalid Call: size of dwStructSize must be one of the "standard" sizes
|
||||||
* of the URL_COMPONENTS structure (Windows only inforces this on the
|
* of the URL_COMPONENTS structure (Windows only enforces this on the
|
||||||
* InternetCrackUrlA version of the call) */
|
* InternetCrackUrlA version of the call) */
|
||||||
copy_compsA(&urlSrc, &urlComponents, 0, 1024, 1024, 1024, 2048, 1024);
|
copy_compsA(&urlSrc, &urlComponents, 0, 1024, 1024, 1024, 2048, 1024);
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
|
@ -461,7 +461,7 @@ static void InternetCreateUrlA_test(void)
|
||||||
"Expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
|
"Expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
|
||||||
ok(len == -1, "Expected len -1, got %d\n", len);
|
ok(len == -1, "Expected len -1, got %d\n", len);
|
||||||
|
|
||||||
/* test valid lpUrlComponets, emptry szUrl
|
/* test valid lpUrlComponets, empty szUrl
|
||||||
* lpdwUrlLength is size of buffer required on exit, including
|
* lpdwUrlLength is size of buffer required on exit, including
|
||||||
* the terminating null when GLE == ERROR_INSUFFICIENT_BUFFER
|
* the terminating null when GLE == ERROR_INSUFFICIENT_BUFFER
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -113,7 +113,7 @@ typedef struct _URL_CACHEFILE_ENTRY
|
||||||
/* packing to dword align start of next field */
|
/* packing to dword align start of next field */
|
||||||
/* CHAR szSourceUrlName[]; (url) */
|
/* CHAR szSourceUrlName[]; (url) */
|
||||||
/* packing to dword align start of next field */
|
/* packing to dword align start of next field */
|
||||||
/* CHAR szLocalFileName[]; (local file name exluding path) */
|
/* CHAR szLocalFileName[]; (local file name excluding path) */
|
||||||
/* packing to dword align start of next field */
|
/* packing to dword align start of next field */
|
||||||
/* CHAR szHeaderInfo[]; (header info) */
|
/* CHAR szHeaderInfo[]; (header info) */
|
||||||
} URL_CACHEFILE_ENTRY;
|
} URL_CACHEFILE_ENTRY;
|
||||||
|
@ -171,7 +171,7 @@ typedef struct _URLCACHECONTAINER
|
||||||
LPWSTR path; /* path to url container directory */
|
LPWSTR path; /* path to url container directory */
|
||||||
HANDLE hMapping; /* handle of file mapping */
|
HANDLE hMapping; /* handle of file mapping */
|
||||||
DWORD file_size; /* size of file when mapping was opened */
|
DWORD file_size; /* size of file when mapping was opened */
|
||||||
HANDLE hMutex; /* hande of mutex */
|
HANDLE hMutex; /* handle of mutex */
|
||||||
} URLCACHECONTAINER;
|
} URLCACHECONTAINER;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue