mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
Documentation spelling fixes.
This commit is contained in:
parent
b1aad5d86f
commit
eb5bf7dd38
@ -421,7 +421,7 @@ INT WINAPI StrCmpNW(LPCWSTR lpszStr, LPCWSTR lpszComp, INT iLen)
|
||||
/**************************************************************************
|
||||
* StrRChrA [COMCTL32.351]
|
||||
*
|
||||
* Find the last occurence of a character in string.
|
||||
* Find the last occurrence of a character in string.
|
||||
*
|
||||
* PARAMS
|
||||
* lpszStr [I] String to search in
|
||||
@ -572,7 +572,7 @@ LPWSTR WINAPI StrChrIW(LPCWSTR lpszStr, WCHAR ch)
|
||||
/*************************************************************************
|
||||
* StrRStrIA [COMCTL32.372]
|
||||
*
|
||||
* Find the last occurence of a substring within a string.
|
||||
* Find the last occurrence of a substring within a string.
|
||||
*
|
||||
* PARAMS
|
||||
* lpszStr [I] String to search in
|
||||
@ -580,7 +580,7 @@ LPWSTR WINAPI StrChrIW(LPCWSTR lpszStr, WCHAR ch)
|
||||
* lpszSearch [I] String to look for
|
||||
*
|
||||
* RETURNS
|
||||
* The last occurence lpszSearch within lpszStr, or NULL if not found.
|
||||
* The last occurrence lpszSearch within lpszStr, or NULL if not found.
|
||||
*/
|
||||
LPSTR WINAPI StrRStrIA(LPCSTR lpszStr, LPCSTR lpszEnd, LPCSTR lpszSearch)
|
||||
{
|
||||
@ -709,7 +709,7 @@ int WINAPI StrCSpnIW(LPCWSTR lpszStr, LPCWSTR lpszMatch)
|
||||
/**************************************************************************
|
||||
* StrRChrIA [COMCTL32.368]
|
||||
*
|
||||
* Find the last occurence of a character in string, ignoring case.
|
||||
* Find the last occurrence of a character in string, ignoring case.
|
||||
*
|
||||
* PARAMS
|
||||
* lpszStr [I] String to search in
|
||||
|
@ -131,8 +131,8 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
|
||||
* COMDLG32_AllocMem (internal)
|
||||
* Get memory for internal datastructure plus stringspace etc.
|
||||
* RETURNS
|
||||
* Pointer to a heap block: Succes
|
||||
* NULL: Failure
|
||||
* Success: Pointer to a heap block
|
||||
* Failure: null
|
||||
*/
|
||||
LPVOID COMDLG32_AllocMem(
|
||||
int size /* [in] Block size to allocate */
|
||||
|
@ -692,7 +692,7 @@ static BOOL COMM_GetCommError(HANDLE handle, LPDWORD lperror)
|
||||
* Only TIOCSBRK and TIOCCBRK are supported.
|
||||
*/
|
||||
BOOL WINAPI SetCommBreak(
|
||||
HANDLE handle) /* [in] The communictions device to suspend. */
|
||||
HANDLE handle) /* [in] The communications device to suspend. */
|
||||
{
|
||||
#if defined(TIOCSBRK) && defined(TIOCCBRK) /* check if available for compilation */
|
||||
int fd,result;
|
||||
@ -1395,7 +1395,7 @@ BOOL WINAPI SetCommState(
|
||||
case ONESTOPBIT:
|
||||
port.c_cflag &= ~CSTOPB;
|
||||
break;
|
||||
case ONE5STOPBITS: /* wil be selected if bytesize is 5 */
|
||||
case ONE5STOPBITS: /* will be selected if bytesize is 5 */
|
||||
case TWOSTOPBITS:
|
||||
port.c_cflag |= CSTOPB;
|
||||
break;
|
||||
|
@ -192,7 +192,7 @@ static void WCEL_DeleteString(WCEL_Context* ctx, int beg, int end)
|
||||
/* completely erase all the others (full lines) */
|
||||
for (i = cbeg.Y + 1; i < cend.Y; i++)
|
||||
CONSOLE_FillLineUniform(ctx->hConOut, 0, i, ctx->csbi.dwSize.X, &ci);
|
||||
/* erase from begining of line until last pos on last line */
|
||||
/* erase from beginning of line until last pos on last line */
|
||||
CONSOLE_FillLineUniform(ctx->hConOut, 0, cend.Y, cend.X, &ci);
|
||||
}
|
||||
ctx->len -= str_len;
|
||||
|
@ -1271,14 +1271,14 @@ static char **build_argv( const WCHAR *cmdlineW, int reserved )
|
||||
} else if (*s=='"') {
|
||||
/* '"' */
|
||||
if ((bcount & 1)==0) {
|
||||
/* Preceeded by an even number of '\', this is half that
|
||||
/* Preceded by an even number of '\', this is half that
|
||||
* number of '\', plus a '"' which we discard.
|
||||
*/
|
||||
d-=bcount/2;
|
||||
s++;
|
||||
in_quotes=!in_quotes;
|
||||
} else {
|
||||
/* Preceeded by an odd number of '\', this is half that
|
||||
/* Preceded by an odd number of '\', this is half that
|
||||
* number of '\' followed by a '"'
|
||||
*/
|
||||
d=d-bcount/2-1;
|
||||
|
@ -1216,7 +1216,7 @@ void WINAPI GetTEBSelectorFS16(void)
|
||||
* If fn is given as NULL then the function expects hf16 to be valid.
|
||||
*/
|
||||
BOOL16 WINAPI IsPeFormat16(
|
||||
LPSTR fn, /* [in] Filename to the executeable */
|
||||
LPSTR fn, /* [in] Filename to the executable */
|
||||
HFILE16 hf16) /* [in] An open file handle */
|
||||
{
|
||||
BOOL ret = FALSE;
|
||||
|
@ -239,7 +239,7 @@ static BOOL TIME_GetTimezoneBias(
|
||||
*pTZinfo, /* [in] The time zone data. */
|
||||
FILETIME *lpFileTime, /* [in] The system or local time. */
|
||||
BOOL islocal, /* [in] it is local time */
|
||||
LONG *pBias /* [out] The calulated bias in minutes */
|
||||
LONG *pBias /* [out] The calculated bias in minutes */
|
||||
)
|
||||
{
|
||||
LONG bias = pTZinfo->Bias;
|
||||
@ -299,9 +299,9 @@ BOOL WINAPI SetLocalTime(
|
||||
* Only the special case of disabled time adjustments is supported.
|
||||
*/
|
||||
BOOL WINAPI GetSystemTimeAdjustment(
|
||||
PDWORD lpTimeAdjustment, /* [out] The clock adjustment per interupt in 100's of nanoseconds. */
|
||||
PDWORD lpTimeIncrement, /* [out] The time between clock interupts in 100's of nanoseconds. */
|
||||
PBOOL lpTimeAdjustmentDisabled) /* [out] The clock synchonisation has been disabled. */
|
||||
PDWORD lpTimeAdjustment, /* [out] The clock adjustment per interrupt in 100's of nanoseconds. */
|
||||
PDWORD lpTimeIncrement, /* [out] The time between clock interrupts in 100's of nanoseconds. */
|
||||
PBOOL lpTimeAdjustmentDisabled) /* [out] The clock synchronisation has been disabled. */
|
||||
{
|
||||
*lpTimeAdjustment = 0;
|
||||
*lpTimeIncrement = 0;
|
||||
@ -536,7 +536,7 @@ BOOL WINAPI GetProcessTimes(
|
||||
HANDLE hprocess, /* [in] The process to be queried (obtained from PROCESS_QUERY_INFORMATION). */
|
||||
LPFILETIME lpCreationTime, /* [out] The creation time of the process. */
|
||||
LPFILETIME lpExitTime, /* [out] The exit time of the process if exited. */
|
||||
LPFILETIME lpKernelTime, /* [out] The time spent in kernal routines in 100's of nanoseconds. */
|
||||
LPFILETIME lpKernelTime, /* [out] The time spent in kernel routines in 100's of nanoseconds. */
|
||||
LPFILETIME lpUserTime) /* [out] The time spent in user routines in 100's of nanoseconds. */
|
||||
{
|
||||
struct tms tms;
|
||||
|
@ -862,7 +862,7 @@ INSTALLUI_HANDLERW WINAPI MsiSetExternalUIW(INSTALLUI_HANDLERW puiHandler,
|
||||
* id [I] id of the string to be loaded
|
||||
* lpBuffer [O] buffer for the string to be written to
|
||||
* nBufferMax [I] maximum size of the buffer in characters
|
||||
* lang [I] the prefered language for the string
|
||||
* lang [I] the preferred language for the string
|
||||
*
|
||||
* RETURNS
|
||||
*
|
||||
|
@ -796,7 +796,7 @@ int _ismbslead(const unsigned char* start, const unsigned char* str)
|
||||
*/
|
||||
int _ismbstrail(const unsigned char* start, const unsigned char* str)
|
||||
{
|
||||
/* Must not be a lead, and must be preceeded by one */
|
||||
/* Must not be a lead, and must be preceded by one */
|
||||
return !_ismbslead(start, str) && MSVCRT_isleadbyte(str[-1]);
|
||||
}
|
||||
|
||||
|
@ -1452,7 +1452,7 @@ ULONG WINAPI RtlSizeHeap( HANDLE heap, ULONG flags, PVOID ptr )
|
||||
/***********************************************************************
|
||||
* RtlValidateHeap (NTDLL.@)
|
||||
*
|
||||
* Determine if a block is a valid alloction from a heap.
|
||||
* Determine if a block is a valid allocation from a heap.
|
||||
*
|
||||
* PARAMS
|
||||
* heap [I] Heap that block was allocated from
|
||||
|
@ -389,8 +389,8 @@ LONGLONG WINAPI RtlExtendedMagicDivide(
|
||||
* NOTES
|
||||
* Instead of base 0 it uses 10 as base.
|
||||
* Writes at most length characters to the string str.
|
||||
* Str is '\0' terminated when length allowes it.
|
||||
* When str fits exactly in length characters the '\0' is ommitted.
|
||||
* Str is '\0' terminated when length allows it.
|
||||
* When str fits exactly in length characters the '\0' is omitted.
|
||||
* If value_ptr is NULL it crashes, as the native function does.
|
||||
*
|
||||
* DIFFERENCES
|
||||
|
@ -742,7 +742,7 @@ static ULONG NTDLL_FindSetRun(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpSize)
|
||||
lpOut++;
|
||||
}
|
||||
|
||||
/* Count remaining contigious bits, if any */
|
||||
/* Count remaining contiguous bits, if any */
|
||||
if (*lpOut & 1)
|
||||
{
|
||||
ULONG ulOffset = 0;
|
||||
@ -833,7 +833,7 @@ static ULONG NTDLL_FindClearRun(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpSiz
|
||||
lpOut++;
|
||||
}
|
||||
|
||||
/* Count remaining contigious bits, if any */
|
||||
/* Count remaining contiguous bits, if any */
|
||||
if (!(*lpOut & 1))
|
||||
{
|
||||
ULONG ulOffset = 0;
|
||||
|
@ -1353,8 +1353,8 @@ NTSTATUS WINAPI RtlAppendStringToString(
|
||||
*
|
||||
* NOTES
|
||||
* if src is NULL dest is unchanged.
|
||||
* dest is '\0' terminated when the MaximumLength allowes it.
|
||||
* When dest fits exactly in MaximumLength characters the '\0' is ommitted.
|
||||
* dest is '\0' terminated when the MaximumLength allows it.
|
||||
* When dest fits exactly in MaximumLength characters the '\0' is omitted.
|
||||
*
|
||||
* DIFFERENCES
|
||||
* Does not write in the src->Buffer beyond MaximumLength when
|
||||
@ -1392,8 +1392,8 @@ NTSTATUS WINAPI RtlAppendUnicodeToString(
|
||||
*
|
||||
* NOTES
|
||||
* if src->length is zero dest is unchanged.
|
||||
* dest is '\0' terminated when the MaximumLength allowes it.
|
||||
* When dest fits exactly in MaximumLength characters the '\0' is ommitted.
|
||||
* dest is '\0' terminated when the MaximumLength allows it.
|
||||
* When dest fits exactly in MaximumLength characters the '\0' is omitted.
|
||||
*
|
||||
* DIFFERENCES
|
||||
* Does not write in the src->Buffer beyond MaximumLength when
|
||||
@ -1692,8 +1692,8 @@ NTSTATUS WINAPI RtlCharToInteger(
|
||||
* NOTES
|
||||
* Instead of base 0 it uses 10 as base.
|
||||
* Writes at most length characters to the string str.
|
||||
* Str is '\0' terminated when length allowes it.
|
||||
* When str fits exactly in length characters the '\0' is ommitted.
|
||||
* Str is '\0' terminated when length allows it.
|
||||
* When str fits exactly in length characters the '\0' is omitted.
|
||||
*/
|
||||
NTSTATUS WINAPI RtlIntegerToChar(
|
||||
ULONG value, /* [I] Value to be converted */
|
||||
|
@ -190,7 +190,7 @@ DWORD WINAPI RtlLengthRequiredSid(DWORD nrofsubauths)
|
||||
* Determine the amount of memory a SID is using
|
||||
*
|
||||
* PARAMS
|
||||
* pSid [I] SID to ge the size of.
|
||||
* pSid [I] SID to get the size of.
|
||||
*
|
||||
* RETURNS
|
||||
* The size, in bytes, of pSid.
|
||||
@ -213,7 +213,7 @@ DWORD WINAPI RtlLengthSid(PSID pSid)
|
||||
* nSubAuthorityCount [I] Number of Sub Authorities
|
||||
*
|
||||
* RETURNS
|
||||
* Success: TRUE. pSid is initialised withe the details given.
|
||||
* Success: TRUE. pSid is initialised with the details given.
|
||||
* Failure: FALSE, if nSubAuthorityCount is >= SID_MAX_SUB_AUTHORITIES.
|
||||
*/
|
||||
BOOL WINAPI RtlInitializeSid(
|
||||
|
@ -1036,7 +1036,7 @@ static BOOL OLEMenu_FindMainMenuIndex( HMENU hMainMenu, HMENU hPopupMenu, UINT *
|
||||
* All menu messages from these groups should be routed to the server.
|
||||
*
|
||||
* RETURNS: TRUE if the popup menu is part of a server owned group
|
||||
* FASE if the popup menu is part of a container owned group
|
||||
* FALSE if the popup menu is part of a container owned group
|
||||
*/
|
||||
BOOL OLEMenu_SetIsServerMenu( HMENU hmenu, OleMenuDescriptor *pOleMenuDescriptor )
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ typedef struct OLEPictureImpl {
|
||||
IPersistStreamVtbl *lpvtbl3;
|
||||
IConnectionPointContainerVtbl *lpvtbl4;
|
||||
|
||||
/* Object referenece count */
|
||||
/* Object reference count */
|
||||
DWORD ref;
|
||||
|
||||
/* We own the object and must destroy it ourselves */
|
||||
@ -705,7 +705,7 @@ static HRESULT WINAPI OLEPictureImpl_get_Attributes(IPicture *iface,
|
||||
TRACE("(%p)->(%p).\n", This, pdwAttr);
|
||||
*pdwAttr = 0;
|
||||
switch (This->desc.picType) {
|
||||
case PICTYPE_BITMAP: break; /* not 'truely' scalable, see MSDN. */
|
||||
case PICTYPE_BITMAP: break; /* not 'truly' scalable, see MSDN. */
|
||||
case PICTYPE_ICON: *pdwAttr = PICTURE_TRANSPARENT;break;
|
||||
case PICTYPE_METAFILE: *pdwAttr = PICTURE_TRANSPARENT|PICTURE_SCALABLE;break;
|
||||
default:FIXME("Unknown pictype %d\n",This->desc.picType);break;
|
||||
|
@ -4498,7 +4498,7 @@ static void test_VarBoolFromStr(void)
|
||||
CONVERT_STR(VarBoolFromStr,"faux",0); EXPECT_MISMATCH;
|
||||
/* But accepted if this flag is given */
|
||||
CONVERT_STR(VarBoolFromStr,"faux",VARIANT_LOCALBOOL); EXPECT(VARIANT_FALSE);
|
||||
/* Regardless of case - from this we assume locale text comparasons ignore case */
|
||||
/* Regardless of case - from this we assume locale text comparisons ignore case */
|
||||
CONVERT_STR(VarBoolFromStr,"Faux",VARIANT_LOCALBOOL); EXPECT(VARIANT_FALSE);
|
||||
|
||||
/* Changing the locale prevents the localised text from being compared -
|
||||
|
@ -866,7 +866,7 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength);
|
||||
|
||||
/*======================= ITypeInfo implementation =======================*/
|
||||
|
||||
/* data for refernced types */
|
||||
/* data for referenced types */
|
||||
typedef struct tagTLBRefType
|
||||
{
|
||||
INT index; /* Type index for internal ref or for external ref
|
||||
@ -1925,7 +1925,7 @@ static void MSFT_DoVars(TLBContext *pcx, ITypeInfoImpl *pTI, int cFuncs,
|
||||
recoffset += reclength;
|
||||
}
|
||||
}
|
||||
/* fill in data for a hreftype (offset). When the refernced type is contained
|
||||
/* fill in data for a hreftype (offset). When the referenced type is contained
|
||||
* in the typelib, it's just an (file) offset in the type info base dir.
|
||||
* If comes from import, it's an offset+1 in the ImpInfo table
|
||||
* */
|
||||
@ -3081,7 +3081,7 @@ static SLTG_TypeInfoTail *SLTG_ProcessEnum(char *pBlk, ITypeInfoImpl *pTI,
|
||||
return (SLTG_TypeInfoTail*)(pFirstItem + pMemHeader->cbExtra);
|
||||
}
|
||||
|
||||
/* Because SLTG_OtherTypeInfo is such a painfull struct, we make a more
|
||||
/* Because SLTG_OtherTypeInfo is such a painful struct, we make a more
|
||||
managable copy of it into this */
|
||||
typedef struct {
|
||||
WORD small_no;
|
||||
@ -4116,7 +4116,7 @@ static ULONG WINAPI ITypeInfo_fnRelease(ITypeInfo2 *iface)
|
||||
TRACE("(%p)->(%lu)\n",This, ref);
|
||||
|
||||
if (ref) {
|
||||
/* We don't release ITypeLib when ref=0 becouse
|
||||
/* We don't release ITypeLib when ref=0 because
|
||||
it means that funtion is called by ITypeLi2_Release */
|
||||
ITypeLib2_Release((ITypeLib2*)This->pTypeLib);
|
||||
} else {
|
||||
|
@ -140,7 +140,7 @@ typedef struct tagMSFT_ImpFile {
|
||||
int guid;
|
||||
LCID lcid;
|
||||
int version;
|
||||
char filename[0]; /* preceeded by two bytes of encoded (length << 2) + flags in the low two bits. */
|
||||
char filename[0]; /* preceded by two bytes of encoded (length << 2) + flags in the low two bits. */
|
||||
} MSFT_ImpFile;
|
||||
|
||||
typedef struct tagICreateTypeLib2Impl
|
||||
@ -2055,7 +2055,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnSetFuncCustData(
|
||||
static HRESULT WINAPI ICreateTypeInfo2_fnSetParamCustData(
|
||||
ICreateTypeInfo2* iface, /* [I] The typeinfo in which to set the custom data. */
|
||||
UINT indexFunc, /* [I] The index of the function on which the parameter resides. */
|
||||
UINT indexParam, /* [I] The index of the paramter on which to set the custom data. */
|
||||
UINT indexParam, /* [I] The index of the parameter on which to set the custom data. */
|
||||
REFGUID guid, /* [I] The GUID used as a key to retrieve the custom data. */
|
||||
VARIANT* pVarVal) /* [I] The custom data. */
|
||||
{
|
||||
|
@ -885,7 +885,7 @@ HRESULT WINAPI VarTokenizeFormatString(LPOLESTR lpszFormat, LPBYTE rgbTok,
|
||||
TRACE("h\n");
|
||||
}
|
||||
fmt_state &= ~FMT_STATE_OPEN_COPY;
|
||||
/* Note that now we have seen an hours token, the next occurence of
|
||||
/* Note that now we have seen an hours token, the next occurrence of
|
||||
* 'mm' indicates minutes, not months.
|
||||
*/
|
||||
fmt_state |= FMT_STATE_SEEN_HOURS;
|
||||
|
@ -199,7 +199,7 @@ LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
|
||||
/* '"' */
|
||||
if ((bcount & 1)==0)
|
||||
{
|
||||
/* Preceeded by an even number of '\', this is half that
|
||||
/* Preceded by an even number of '\', this is half that
|
||||
* number of '\', plus a quote which we erase.
|
||||
*/
|
||||
d-=bcount/2;
|
||||
@ -208,7 +208,7 @@ LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Preceeded by an odd number of '\', this is half that
|
||||
/* Preceded by an odd number of '\', this is half that
|
||||
* number of '\' followed by a '"'
|
||||
*/
|
||||
d=d-bcount/2-1;
|
||||
|
@ -43,7 +43,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||
* when you right-click on a file).
|
||||
*
|
||||
* HELPERS
|
||||
* You can use this object tranparently by calling the helper functions
|
||||
* You can use this object transparently by calling the helper functions
|
||||
* AssocQueryKeyA(), AssocQueryStringA() and AssocQueryStringByKeyA(). These
|
||||
* create an IQueryAssociations object, perform the requested actions
|
||||
* and then dispose of the object. Alternatively, you can create an instance
|
||||
|
@ -534,7 +534,7 @@ LPWSTR WINAPI StrStrW(LPCWSTR lpszStr, LPCWSTR lpszSearch)
|
||||
/*************************************************************************
|
||||
* StrRStrIA [SHLWAPI.@]
|
||||
*
|
||||
* Find the last occurence of a substring within a string.
|
||||
* Find the last occurrence of a substring within a string.
|
||||
*
|
||||
* PARAMS
|
||||
* lpszStr [I] String to search in
|
||||
@ -542,7 +542,7 @@ LPWSTR WINAPI StrStrW(LPCWSTR lpszStr, LPCWSTR lpszSearch)
|
||||
* lpszSearch [I] String to look for
|
||||
*
|
||||
* RETURNS
|
||||
* The last occurence lpszSearch within lpszStr, or NULL if not found.
|
||||
* The last occurrence lpszSearch within lpszStr, or NULL if not found.
|
||||
*/
|
||||
LPSTR WINAPI StrRStrIA(LPCSTR lpszStr, LPCSTR lpszEnd, LPCSTR lpszSearch)
|
||||
{
|
||||
@ -711,7 +711,7 @@ int WINAPI StrToIntW(LPCWSTR lpszStr)
|
||||
* NOTES
|
||||
* Leading whitespace, '-' and '+' are allowed before the number. If
|
||||
* dwFlags includes STIF_SUPPORT_HEX, hexadecimal numbers are allowed, if
|
||||
* preceeded by '0x'. If this flag is not set, or there is no '0x' prefix,
|
||||
* preceded by '0x'. If this flag is not set, or there is no '0x' prefix,
|
||||
* the string is treated as a decimal string. A leading '-' is ignored for
|
||||
* hexadecimal numbers.
|
||||
*/
|
||||
@ -1171,7 +1171,7 @@ static LPWSTR WINAPI SHLWAPI_StrRChrHelperW(LPCWSTR lpszStr,
|
||||
/**************************************************************************
|
||||
* StrRChrA [SHLWAPI.@]
|
||||
*
|
||||
* Find the last occurence of a character in string.
|
||||
* Find the last occurrence of a character in string.
|
||||
*
|
||||
* PARAMS
|
||||
* lpszStr [I] String to search in
|
||||
@ -1205,7 +1205,7 @@ LPWSTR WINAPI StrRChrW(LPCWSTR lpszStr, LPCWSTR lpszEnd, WORD ch)
|
||||
/**************************************************************************
|
||||
* StrRChrIA [SHLWAPI.@]
|
||||
*
|
||||
* Find the last occurence of a character in string, ignoring case.
|
||||
* Find the last occurrence of a character in string, ignoring case.
|
||||
*
|
||||
* PARAMS
|
||||
* lpszStr [I] String to search in
|
||||
|
@ -74,7 +74,7 @@ WORD WINAPI GetW32SysVersion16(void)
|
||||
* dunno what.
|
||||
*/
|
||||
WORD WINAPI GetPEResourceTable16(
|
||||
HFILE16 hf /* [in] filedescriptor to opened executeable */
|
||||
HFILE16 hf /* [in] Handle of executable file */
|
||||
) {
|
||||
return 0;
|
||||
}
|
||||
@ -90,12 +90,12 @@ DWORD WINAPI LoadPeResource16(WORD x,SEGPTR y) {
|
||||
|
||||
/**********************************************************************
|
||||
* IsPeFormat (W32SYS.2)
|
||||
* Checks the passed filename if it is a PE format executeable
|
||||
* Check if a file is a PE format executable.
|
||||
* RETURNS
|
||||
* TRUE, if it is.
|
||||
* FALSE if not.
|
||||
*/
|
||||
BOOL16 WINAPI IsPeFormat16( LPSTR fn, /* [in] filename to executeable */
|
||||
BOOL16 WINAPI IsPeFormat16( LPSTR fn, /* [in] filename of executable */
|
||||
HFILE16 hf16 ) /* [in] open file, if filename is NULL */
|
||||
{
|
||||
BOOL16 ret = FALSE;
|
||||
|
@ -124,7 +124,7 @@ BOOL PSDRV_Rectangle( PSDRV_PDEVICE *physDev, INT left, INT top, INT right, INT
|
||||
rect.bottom = bottom;
|
||||
LPtoDP( physDev->hdc, (POINT *)&rect, 2 );
|
||||
|
||||
/* Windows does something truely hacky here. If we're in passthrough mode
|
||||
/* Windows does something truly hacky here. If we're in passthrough mode
|
||||
and our rop is R2_NOP, then we output the string below. This is used in
|
||||
Office 2k when inserting eps files */
|
||||
if(physDev->job.in_passthrough && !physDev->job.had_passthrough_rect && GetROP2(physDev->hdc) == R2_NOP) {
|
||||
|
@ -52,7 +52,7 @@
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wininet);
|
||||
|
||||
/* FIXME!!!!!!
|
||||
* This should use winsock - To use winsock the funtions will have to change a bit
|
||||
* This should use winsock - To use winsock the functions will have to change a bit
|
||||
* as they are designed for unix sockets.
|
||||
* SSL stuff should use crypt32.dll
|
||||
*/
|
||||
@ -74,7 +74,7 @@ static SSL_CTX *ctx;
|
||||
|
||||
#define MAKE_FUNCPTR(f) static typeof(f) * p##f
|
||||
|
||||
/* OpenSSL funtions that we use */
|
||||
/* OpenSSL functions that we use */
|
||||
MAKE_FUNCPTR(SSL_library_init);
|
||||
MAKE_FUNCPTR(SSL_load_error_strings);
|
||||
MAKE_FUNCPTR(SSLv23_method);
|
||||
|
@ -609,7 +609,7 @@ void doSetValue(LPSTR stdInput)
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* This funtion is the main entry point to the queryValue type of action. It
|
||||
* This function is the main entry point to the queryValue type of action. It
|
||||
* receives the currently read line and dispatch the work depending on the
|
||||
* context.
|
||||
*/
|
||||
@ -647,7 +647,7 @@ void doQueryValue(LPSTR stdInput)
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* This funtion is the main entry point to the deletetValue type of action. It
|
||||
* This function is the main entry point to the deleteValue type of action. It
|
||||
* receives the currently read line and dispatch the work depending on the
|
||||
* context.
|
||||
*/
|
||||
@ -657,7 +657,7 @@ void doDeleteValue(LPSTR line)
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* This funtion is the main entry point to the deleteKey type of action. It
|
||||
* This function is the main entry point to the deleteKey type of action. It
|
||||
* receives the currently read line and dispatch the work depending on the
|
||||
* context.
|
||||
*/
|
||||
@ -667,7 +667,7 @@ void doDeleteKey(LPSTR line)
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* This funtion is the main entry point to the createKey type of action. It
|
||||
* This function is the main entry point to the createKey type of action. It
|
||||
* receives the currently read line and dispatch the work depending on the
|
||||
* context.
|
||||
*/
|
||||
@ -975,7 +975,7 @@ void processRegLines(FILE *in, CommandAPI command)
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* This funtion is the main entry point to the registerDLL action. It
|
||||
* This function is the main entry point to the registerDLL action. It
|
||||
* receives the currently read line, then loads and registers the requested DLLs
|
||||
*/
|
||||
void doRegisterDLL(LPSTR stdInput)
|
||||
@ -1008,7 +1008,7 @@ void doRegisterDLL(LPSTR stdInput)
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* This funtion is the main entry point to the unregisterDLL action. It
|
||||
* This function is the main entry point to the unregisterDLL action. It
|
||||
* receives the currently read line, then loads and unregisters the requested DLLs
|
||||
*/
|
||||
void doUnregisterDLL(LPSTR stdInput)
|
||||
|
@ -179,14 +179,14 @@ static LPWSTR GetNextArg(LPWSTR *cmdline)
|
||||
} else if (*s=='"') {
|
||||
/* '"' */
|
||||
if ((bcount & 1)==0) {
|
||||
/* Preceeded by an even number of '\', this is half that
|
||||
/* Preceded by an even number of '\', this is half that
|
||||
* number of '\', plus a quote which we erase.
|
||||
*/
|
||||
d-=bcount/2;
|
||||
in_quotes=!in_quotes;
|
||||
s++;
|
||||
} else {
|
||||
/* Preceeded by an odd number of '\', this is half that
|
||||
/* Preceded by an odd number of '\', this is half that
|
||||
* number of '\' followed by a '"'
|
||||
*/
|
||||
d=d-bcount/2-1;
|
||||
|
@ -2158,7 +2158,7 @@ static void init_output(HWND hwnd)
|
||||
static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWidthCol);
|
||||
|
||||
|
||||
/* calculate prefered width for all visible columns */
|
||||
/* calculate preferred width for all visible columns */
|
||||
|
||||
static BOOL calc_widths(Pane* pane, BOOL anyway)
|
||||
{
|
||||
@ -2245,7 +2245,7 @@ static BOOL calc_widths(Pane* pane, BOOL anyway)
|
||||
}
|
||||
|
||||
|
||||
/* calculate one prefered column width */
|
||||
/* calculate one preferred column width */
|
||||
|
||||
static void calc_single_width(Pane* pane, int col)
|
||||
{
|
||||
|
@ -76,7 +76,7 @@ typedef struct tagMSFT_ImpFile {
|
||||
int guid;
|
||||
LCID lcid;
|
||||
int version;
|
||||
char filename[0]; /* preceeded by two bytes of encoded (length << 2) + flags in the low two bits. */
|
||||
char filename[0]; /* preceded by two bytes of encoded (length << 2) + flags in the low two bits. */
|
||||
} MSFT_ImpFile;
|
||||
|
||||
typedef struct _msft_typelib_t
|
||||
|
@ -679,8 +679,8 @@ cursor_group_t *new_cursor_group(raw_data_t *rd, int *memopt)
|
||||
* The "LIST" tag may occur several times and may encapsulate different
|
||||
* tags. The `steps' is the number of "icon" tags found (actually the
|
||||
* number of steps specified in the aniheader_t structure). The "seq "uence
|
||||
* tag can be ommitted, in which case the sequence is equal to the sequence
|
||||
* of "icon"s found in the file. Also "rate" may be ommitted, in which case
|
||||
* tag can be omitted, in which case the sequence is equal to the sequence
|
||||
* of "icon"s found in the file. Also "rate" may be omitted, in which case
|
||||
* the default from the aniheader_t structure is used.
|
||||
*
|
||||
* An animated cursor puts `.cur' formatted files into each "icon" tag,
|
||||
|
@ -586,7 +586,7 @@ static BOOL CURSORICON_SimulateLoadingFromResourceW( LPCWSTR filename, BOOL fCur
|
||||
*ptr = NULL;
|
||||
if (!(bits = map_fileW( filename, &filesize ))) return FALSE;
|
||||
|
||||
/* FIXME: test for inimated icons
|
||||
/* FIXME: test for animated icons
|
||||
* hack to load the first icon from the *.ani file
|
||||
*/
|
||||
if ( *(LPDWORD)bits==0x46464952 ) /* "RIFF" */
|
||||
|
@ -1325,7 +1325,7 @@ const USER_MSG *lastmsg; /* pointer to last USER_MSG for class */
|
||||
|
||||
/* To dump memory at the lParam for any of these messages, */
|
||||
/* replace the "0" with a "SZOF(structure)", or with a */
|
||||
/* number. (First method prefered.) */
|
||||
/* number. (First method preferred.) */
|
||||
|
||||
#define RB_GETBANDINFO_OLD (WM_USER+5) /* obsoleted after IE3, but we have to support it anyway */
|
||||
|
||||
|
@ -303,7 +303,7 @@ static HANDLE *USER_GetProcessHandleList(void)
|
||||
if (!r)
|
||||
break;
|
||||
|
||||
/* don't kill outselves */
|
||||
/* don't kill ourselves */
|
||||
if (GetCurrentProcessId() == pe.th32ProcessID )
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user