Fixed some common spelling errors.
This commit is contained in:
parent
d27b8c96eb
commit
14a5d168e9
|
@ -62,7 +62,7 @@ static HBITMAP hComboBmp = 0;
|
|||
static UINT CBitHeight, CBitWidth;
|
||||
|
||||
/*
|
||||
* Look and feel dependant "constants"
|
||||
* Look and feel dependent "constants"
|
||||
*/
|
||||
|
||||
#define COMBO_YBORDERGAP 5
|
||||
|
|
|
@ -2004,7 +2004,7 @@ BOOL __cdecl FDICopy(
|
|||
|
||||
TRACE("Extracting file %s as requested by callee.\n", debugstr_a(file->filename));
|
||||
|
||||
/* set up decomp_state (unneccesary?); at least
|
||||
/* set up decomp_state (unnecessary?); at least
|
||||
ignore trailing three pointers in the struct */
|
||||
ZeroMemory(decomp_state, sizeof(fdi_decomp_state) - sizeof(void*) * 3);
|
||||
CAB(hfdi) = hfdi;
|
||||
|
|
|
@ -413,12 +413,12 @@ static HRESULT WINAPI IDirectSound3DBufferImpl_GetAllParameters(
|
|||
TRACE("(%p,%p)\n",This,lpDs3dBuffer);
|
||||
|
||||
if (lpDs3dBuffer == NULL) {
|
||||
WARN("invalid paramater: lpDs3dBuffer == NULL\n");
|
||||
WARN("invalid parameter: lpDs3dBuffer == NULL\n");
|
||||
return DSERR_INVALIDPARAM;
|
||||
}
|
||||
|
||||
if (lpDs3dBuffer->dwSize < sizeof(*lpDs3dBuffer)) {
|
||||
WARN("invalid paramater: lpDs3dBuffer->dwSize = %ld < %d\n",lpDs3dBuffer->dwSize, sizeof(*lpDs3dBuffer));
|
||||
WARN("invalid parameter: lpDs3dBuffer->dwSize = %ld < %d\n",lpDs3dBuffer->dwSize, sizeof(*lpDs3dBuffer));
|
||||
return DSERR_INVALIDPARAM;
|
||||
}
|
||||
|
||||
|
@ -881,12 +881,12 @@ static HRESULT WINAPI IDirectSound3DListenerImpl_GetAllParameter(
|
|||
TRACE("(%p,%p)\n",This,lpDS3DL);
|
||||
|
||||
if (lpDS3DL == NULL) {
|
||||
WARN("invalid paramater: lpDS3DL == NULL\n");
|
||||
WARN("invalid parameter: lpDS3DL == NULL\n");
|
||||
return DSERR_INVALIDPARAM;
|
||||
}
|
||||
|
||||
if (lpDS3DL->dwSize < sizeof(*lpDS3DL)) {
|
||||
WARN("invalid paramater: lpDS3DL->dwSize = %ld < %d\n",lpDS3DL->dwSize, sizeof(*lpDS3DL));
|
||||
WARN("invalid parameter: lpDS3DL->dwSize = %ld < %d\n",lpDS3DL->dwSize, sizeof(*lpDS3DL));
|
||||
return DSERR_INVALIDPARAM;
|
||||
}
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ DWORD WINAPI FormatMessageA(
|
|||
{
|
||||
LPDWORD args=(LPDWORD)_args;
|
||||
#if defined(__i386__) || defined(__sparc__)
|
||||
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
|
||||
/* This implementation is completely dependent on the format of the va_list on x86 CPUs */
|
||||
LPSTR target,t;
|
||||
DWORD talloced;
|
||||
LPSTR from,f;
|
||||
|
@ -361,7 +361,7 @@ DWORD WINAPI FormatMessageW(
|
|||
{
|
||||
LPDWORD args=(LPDWORD)_args;
|
||||
#if defined(__i386__) || defined(__sparc__)
|
||||
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
|
||||
/* This implementation is completely dependent on the format of the va_list on x86 CPUs */
|
||||
LPSTR target,t;
|
||||
DWORD talloced;
|
||||
LPSTR from,f;
|
||||
|
|
|
@ -402,7 +402,7 @@ VOID WINAPI RtlTimeToTimeFields(
|
|||
* Time [O] Converted time.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE: Successfull
|
||||
* TRUE: Successful.
|
||||
* FALSE: Failure.
|
||||
*/
|
||||
BOOLEAN WINAPI RtlTimeFieldsToTime(
|
||||
|
@ -508,7 +508,7 @@ NTSTATUS WINAPI RtlSystemTimeToLocalTime( const LARGE_INTEGER *SystemTime,
|
|||
* res [O] Pointer to a LONG to receive the seconds since 1970.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE: Successfull.
|
||||
* TRUE: Successful.
|
||||
* FALSE: Failure.
|
||||
*/
|
||||
BOOLEAN WINAPI RtlTimeToSecondsSince1970( const LARGE_INTEGER *time, PULONG res )
|
||||
|
@ -531,7 +531,7 @@ BOOLEAN WINAPI RtlTimeToSecondsSince1970( const LARGE_INTEGER *time, PULONG res
|
|||
* res [O] Pointer to a integer to receive the time since 1980.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE: Successfull
|
||||
* TRUE: Successful.
|
||||
* FALSE: Failure.
|
||||
*/
|
||||
BOOLEAN WINAPI RtlTimeToSecondsSince1980( const LARGE_INTEGER *time, LPDWORD res )
|
||||
|
|
|
@ -1832,7 +1832,7 @@ static HRESULT WINAPI DataCache_GetExtent(
|
|||
FIXME("Unimplemented flag lindex = %ld\n", lindex);
|
||||
|
||||
/*
|
||||
* Right now, we suport only the callback from
|
||||
* Right now, we support only the callback from
|
||||
* the default handler.
|
||||
*/
|
||||
if (ptd!=NULL)
|
||||
|
|
|
@ -211,7 +211,7 @@ HRESULT WINAPI RunningObjectTableImpl_Initialize()
|
|||
runningObjectTableInstance->lpVtbl = &VT_RunningObjectTableImpl;
|
||||
|
||||
/* the initial reference is set to "1" ! because if set to "0" it will be not practis when */
|
||||
/* the ROT refered many times not in the same time (all the objects in the ROT will */
|
||||
/* the ROT referred many times not in the same time (all the objects in the ROT will */
|
||||
/* be removed every time the ROT is removed ) */
|
||||
runningObjectTableInstance->ref = 1;
|
||||
|
||||
|
|
|
@ -917,7 +917,7 @@ static void OLEMenu_UnInitialize()
|
|||
* OLEMenu_InstallHooks
|
||||
* Install thread scope message hooks for WH_GETMESSAGE and WH_CALLWNDPROC
|
||||
*
|
||||
* RETURNS: TRUE if message hooks were succesfully installed
|
||||
* RETURNS: TRUE if message hooks were successfully installed
|
||||
* FALSE on failure
|
||||
*/
|
||||
BOOL OLEMenu_InstallHooks( DWORD tid )
|
||||
|
@ -966,7 +966,7 @@ CLEANUP:
|
|||
* OLEMenu_UnInstallHooks
|
||||
* UnInstall thread scope message hooks for WH_GETMESSAGE and WH_CALLWNDPROC
|
||||
*
|
||||
* RETURNS: TRUE if message hooks were succesfully installed
|
||||
* RETURNS: TRUE if message hooks were successfully installed
|
||||
* FALSE on failure
|
||||
*/
|
||||
BOOL OLEMenu_UnInstallHooks( DWORD tid )
|
||||
|
|
|
@ -658,7 +658,7 @@ static HRESULT WINAPI FilterMapper2_RegisterFilter(
|
|||
pclsidCategory = &CLSID_ActiveMovieCategories;
|
||||
|
||||
/* sizeof... will include null terminator and
|
||||
* the + 1 is for the seperator ('\\'). The -1 is
|
||||
* the + 1 is for the separator ('\\'). The -1 is
|
||||
* because CHARS_IN_GUID includes the null terminator
|
||||
*/
|
||||
nameLen = sizeof(wszDevice)/sizeof(wszDevice[0]) + CHARS_IN_GUID - 1 + 1;
|
||||
|
|
|
@ -2555,8 +2555,8 @@ BOOL WINAPI PathMakePrettyW(LPWSTR lpszPath)
|
|||
*
|
||||
* NOTES
|
||||
* A common prefix of 2 is always returned as 3. It is thus possible for
|
||||
* the length returned to be invalid (i.e. Longer than one or both of the
|
||||
* strings given as parameters). This Win32 behaviour has been implimented
|
||||
* the length returned to be invalid (i.e. longer than one or both of the
|
||||
* strings given as parameters). This Win32 behaviour has been implemented
|
||||
* here, and cannot be changed (fixed?) without breaking other SHLWAPI calls.
|
||||
* To work around this when using this function, always check that the byte
|
||||
* at [common_prefix_len-1] is not a NUL. If it is, deduct 1 from the prefix.
|
||||
|
|
|
@ -484,7 +484,7 @@ typedef struct {
|
|||
char Reserved[512]; /**/
|
||||
} TW_FILESYSTEM, FAR * pTW_FILESYSTEM;
|
||||
|
||||
/* DAT_PASSTHRU, device dependant data to pass through Data Source */
|
||||
/* DAT_PASSTHRU, device dependent data to pass through Data Source */
|
||||
typedef struct {
|
||||
TW_MEMREF pCommand; /* Pointer to Command buffer */
|
||||
TW_UINT32 CommandBytes; /* Number of bytes in Command buffer */
|
||||
|
@ -1684,8 +1684,8 @@ typedef struct {
|
|||
#define TWCC_BUMMER 1 /* Failure due to unknown causes */
|
||||
#define TWCC_LOWMEMORY 2 /* Not enough memory to perform operation */
|
||||
#define TWCC_NODS 3 /* No Data Source */
|
||||
#define TWCC_MAXCONNECTIONS 4 /* DS is connected to max possible applications */
|
||||
#define TWCC_OPERATIONERROR 5 /* DS or DSM reported error, application shouldn't */
|
||||
#define TWCC_MAXCONNECTIONS 4 /* DS is connected to max possible applications */
|
||||
#define TWCC_OPERATIONERROR 5 /* DS or DSM reported error, application shouldn't */
|
||||
#define TWCC_BADCAP 6 /* Unknown capability */
|
||||
#define TWCC_BADPROTOCOL 9 /* Unrecognized MSG DG DAT combination */
|
||||
#define TWCC_BADVALUE 10 /* Data parameter out of range */
|
||||
|
@ -1693,7 +1693,7 @@ typedef struct {
|
|||
#define TWCC_BADDEST 12 /* Unknown destination Application/Source in DSM_Entry */
|
||||
#define TWCC_CAPUNSUPPORTED 13 /* Capability not supported by source */
|
||||
#define TWCC_CAPBADOPERATION 14 /* Operation not supported by capability */
|
||||
#define TWCC_CAPSEQERROR 15 /* Capability has dependancy on other capability */
|
||||
#define TWCC_CAPSEQERROR 15 /* Capability has dependency on other capability */
|
||||
/* Added 1.8 */
|
||||
#define TWCC_DENIED 16 /* File System operation is denied (file is protected) */
|
||||
#define TWCC_FILEEXISTS 17 /* Operation failed because file already exists. */
|
||||
|
|
|
@ -596,7 +596,7 @@ DWORD WINAPI FormatMessage16(
|
|||
LPDWORD args /* [in] NOTE: va_list *args */
|
||||
) {
|
||||
#ifdef __i386__
|
||||
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
|
||||
/* This implementation is completely dependent on the format of the va_list on x86 CPUs */
|
||||
LPSTR target,t;
|
||||
DWORD talloced;
|
||||
LPSTR from,f;
|
||||
|
|
|
@ -2317,7 +2317,7 @@ BOOL WINAPI InternetQueryDataAvailable( HINTERNET hFile,
|
|||
break;
|
||||
|
||||
default:
|
||||
FIXME("unsuported file type\n");
|
||||
FIXME("unsupported file type\n");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -1554,7 +1554,7 @@ static DWORD modReset(WORD wDevID)
|
|||
if (!MidiOutDev[wDevID].bEnabled) return MIDIERR_NODEVICE;
|
||||
|
||||
/* stop all notes */
|
||||
/* FIXME: check if 0x78B0 is channel dependant or not. I coded it so that
|
||||
/* FIXME: check if 0x78B0 is channel dependent or not. I coded it so that
|
||||
* it's channel dependent...
|
||||
*/
|
||||
for (chn = 0; chn < 16; chn++) {
|
||||
|
|
|
@ -1131,7 +1131,7 @@ Kernel space | Client applications
|
|||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
all hardware (or most of it) dependant code reside in the kernel
|
||||
all hardware (or most of it) dependent code reside in the kernel
|
||||
space (which is not surprising)
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
|
@ -194,7 +194,7 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
|
|||
|
||||
NULL_TEST_AND_ADD2(ppfd->cAlphaBits, GLX_ALPHA_SIZE, 8);
|
||||
ADD2(GLX_ACCUM_SIZE, ppfd->cAccumBits); */
|
||||
ADD2(GLX_STENCIL_SIZE, ppfd->cStencilBits); /* now suported */
|
||||
ADD2(GLX_STENCIL_SIZE, ppfd->cStencilBits); /* now supported */
|
||||
/* ADD2(GLX_AUX_BUFFERS, ppfd->cAuxBuffers); */
|
||||
att_list[att_pos] = None;
|
||||
|
||||
|
|
|
@ -846,7 +846,7 @@ VOID WINAPI SetMagicColors16(HDC16 hDC, COLORREF color, UINT16 index)
|
|||
* for that DC.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE if name copied succesfully OR lpszFilename is NULL
|
||||
* TRUE if name copied successfully OR lpszFilename is NULL
|
||||
* FALSE if the buffer length pointed to by lpcbName is too small
|
||||
*
|
||||
* NOTE
|
||||
|
|
|
@ -118,7 +118,7 @@ int RegisterDll(char* strDll)
|
|||
return -1;
|
||||
}
|
||||
if(!Silent)
|
||||
printf("Succesfully registered dll %s\n", strDll);
|
||||
printf("Successfully registered dll %s\n", strDll);
|
||||
|
||||
if(DllHandle)
|
||||
FreeLibrary(DllHandle);
|
||||
|
@ -141,7 +141,7 @@ int UnregisterDll(char* strDll)
|
|||
return -1;
|
||||
}
|
||||
if(!Silent)
|
||||
printf("Succesfully unregistered dll %s\n", strDll);
|
||||
printf("Successfully unregistered dll %s\n", strDll);
|
||||
|
||||
if(DllHandle)
|
||||
FreeLibrary(DllHandle);
|
||||
|
@ -164,7 +164,7 @@ int InstallDll(BOOL install, char *strDll, WCHAR *command_line)
|
|||
return -1;
|
||||
}
|
||||
if(!Silent)
|
||||
printf("Succesfully %s dll %s\n", install ? "installed" : "uninstalled",
|
||||
printf("Successfully %s dll %s\n", install ? "installed" : "uninstalled",
|
||||
strDll);
|
||||
|
||||
if(DllHandle)
|
||||
|
|
Loading…
Reference in New Issue