Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
eb5bf7dd
Commit
eb5bf7dd
authored
Feb 25, 2005
by
Jon Griffiths
Committed by
Alexandre Julliard
Feb 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation spelling fixes.
parent
b1aad5d8
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
73 additions
and
73 deletions
+73
-73
string.c
dlls/comctl32/string.c
+4
-4
cdlg32.c
dlls/commdlg/cdlg32.c
+2
-2
comm.c
dlls/kernel/comm.c
+2
-2
editline.c
dlls/kernel/editline.c
+1
-1
process.c
dlls/kernel/process.c
+2
-2
thunk.c
dlls/kernel/thunk.c
+1
-1
time.c
dlls/kernel/time.c
+5
-5
msi.c
dlls/msi/msi.c
+1
-1
mbcs.c
dlls/msvcrt/mbcs.c
+1
-1
heap.c
dlls/ntdll/heap.c
+1
-1
large_int.c
dlls/ntdll/large_int.c
+2
-2
rtlbitmap.c
dlls/ntdll/rtlbitmap.c
+2
-2
rtlstr.c
dlls/ntdll/rtlstr.c
+6
-6
sec.c
dlls/ntdll/sec.c
+2
-2
ole2.c
dlls/ole32/ole2.c
+1
-1
olepicture.c
dlls/oleaut32/olepicture.c
+2
-2
vartype.c
dlls/oleaut32/tests/vartype.c
+1
-1
typelib.c
dlls/oleaut32/typelib.c
+4
-4
typelib2.c
dlls/oleaut32/typelib2.c
+2
-2
varformat.c
dlls/oleaut32/varformat.c
+1
-1
shell32_main.c
dlls/shell32/shell32_main.c
+2
-2
assoc.c
dlls/shlwapi/assoc.c
+1
-1
string.c
dlls/shlwapi/string.c
+5
-5
w32sys.c
dlls/win32s/w32sys.c
+3
-3
graphics.c
dlls/wineps/graphics.c
+1
-1
netconnection.c
dlls/wininet/netconnection.c
+2
-2
regproc.c
programs/regedit/regproc.c
+6
-6
rundll32.c
programs/rundll32/rundll32.c
+2
-2
winefile.c
programs/winefile/winefile.c
+2
-2
write_msft.c
tools/widl/write_msft.c
+1
-1
newstruc.c
tools/wrc/newstruc.c
+2
-2
cursoricon.c
windows/cursoricon.c
+1
-1
spy.c
windows/spy.c
+1
-1
user.c
windows/user.c
+1
-1
No files found.
dlls/comctl32/string.c
View file @
eb5bf7dd
...
...
@@ -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 occur
r
ence 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 occur
r
ence 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 occur
r
ence 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 occur
r
ence of a character in string, ignoring case.
*
* PARAMS
* lpszStr [I] String to search in
...
...
dlls/commdlg/cdlg32.c
View file @
eb5bf7dd
...
...
@@ -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 */
...
...
dlls/kernel/comm.c
View file @
eb5bf7dd
...
...
@@ -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 communic
a
tions 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
:
/* wil
l
be selected if bytesize is 5 */
case
TWOSTOPBITS
:
port
.
c_cflag
|=
CSTOPB
;
break
;
...
...
dlls/kernel/editline.c
View file @
eb5bf7dd
...
...
@@ -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 begin
n
ing of line until last pos on last line */
CONSOLE_FillLineUniform
(
ctx
->
hConOut
,
0
,
cend
.
Y
,
cend
.
X
,
&
ci
);
}
ctx
->
len
-=
str_len
;
...
...
dlls/kernel/process.c
View file @
eb5bf7dd
...
...
@@ -1271,14 +1271,14 @@ static char **build_argv( const WCHAR *cmdlineW, int reserved )
}
else
if
(
*
s
==
'"'
)
{
/* '"' */
if
((
bcount
&
1
)
==
0
)
{
/* Prece
e
ded 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
{
/* Prece
e
ded 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
;
...
...
dlls/kernel/thunk.c
View file @
eb5bf7dd
...
...
@@ -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 execut
e
able */
LPSTR
fn
,
/* [in] Filename to the executable */
HFILE16
hf16
)
/* [in] An open file handle */
{
BOOL
ret
=
FALSE
;
...
...
dlls/kernel/time.c
View file @
eb5bf7dd
...
...
@@ -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 cal
c
ulated 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 inter
r
upt in 100's of nanoseconds. */
PDWORD
lpTimeIncrement
,
/* [out] The time between clock inter
r
upts in 100's of nanoseconds. */
PBOOL
lpTimeAdjustmentDisabled
)
/* [out] The clock synch
r
onisation 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 kern
a
l routines in 100's of nanoseconds. */
LPFILETIME
lpKernelTime
,
/* [out] The time spent in kern
e
l routines in 100's of nanoseconds. */
LPFILETIME
lpUserTime
)
/* [out] The time spent in user routines in 100's of nanoseconds. */
{
struct
tms
tms
;
...
...
dlls/msi/msi.c
View file @
eb5bf7dd
...
...
@@ -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 prefer
r
ed language for the string
*
* RETURNS
*
...
...
dlls/msvcrt/mbcs.c
View file @
eb5bf7dd
...
...
@@ -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 prece
e
ded by one */
/* Must not be a lead, and must be preceded by one */
return
!
_ismbslead
(
start
,
str
)
&&
MSVCRT_isleadbyte
(
str
[
-
1
]);
}
...
...
dlls/ntdll/heap.c
View file @
eb5bf7dd
...
...
@@ -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 alloc
a
tion from a heap.
*
* PARAMS
* heap [I] Heap that block was allocated from
...
...
dlls/ntdll/large_int.c
View file @
eb5bf7dd
...
...
@@ -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 allow
e
s it.
* When str fits exactly in length characters the '\0' is om
m
itted.
* 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
...
...
dlls/ntdll/rtlbitmap.c
View file @
eb5bf7dd
...
...
@@ -742,7 +742,7 @@ static ULONG NTDLL_FindSetRun(PCRTL_BITMAP lpBits, ULONG ulStart, PULONG lpSize)
lpOut
++
;
}
/* Count remaining contig
i
ous bits, if any */
/* Count remaining contig
u
ous 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 contig
i
ous bits, if any */
/* Count remaining contig
u
ous bits, if any */
if
(
!
(
*
lpOut
&
1
))
{
ULONG
ulOffset
=
0
;
...
...
dlls/ntdll/rtlstr.c
View file @
eb5bf7dd
...
...
@@ -1353,8 +1353,8 @@ NTSTATUS WINAPI RtlAppendStringToString(
*
* NOTES
* if src is NULL dest is unchanged.
* dest is '\0' terminated when the MaximumLength allow
e
s it.
* When dest fits exactly in MaximumLength characters the '\0' is om
m
itted.
* 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 allow
e
s it.
* When dest fits exactly in MaximumLength characters the '\0' is om
m
itted.
* 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 allow
e
s it.
* When str fits exactly in length characters the '\0' is om
m
itted.
* 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 */
...
...
dlls/ntdll/sec.c
View file @
eb5bf7dd
...
...
@@ -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 ge
t
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 with
e
the details given.
* Success: TRUE. pSid is initialised with the details given.
* Failure: FALSE, if nSubAuthorityCount is >= SID_MAX_SUB_AUTHORITIES.
*/
BOOL
WINAPI
RtlInitializeSid
(
...
...
dlls/ole32/ole2.c
View file @
eb5bf7dd
...
...
@@ -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
* FA
L
SE if the popup menu is part of a container owned group
*/
BOOL
OLEMenu_SetIsServerMenu
(
HMENU
hmenu
,
OleMenuDescriptor
*
pOleMenuDescriptor
)
{
...
...
dlls/oleaut32/olepicture.c
View file @
eb5bf7dd
...
...
@@ -106,7 +106,7 @@ typedef struct OLEPictureImpl {
IPersistStreamVtbl
*
lpvtbl3
;
IConnectionPointContainerVtbl
*
lpvtbl4
;
/* Object referen
e
ce 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 'tru
e
ly' 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
;
...
...
dlls/oleaut32/tests/vartype.c
View file @
eb5bf7dd
...
...
@@ -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 compar
a
sons ignore case */
/* Regardless of case - from this we assume locale text compar
i
sons ignore case */
CONVERT_STR
(
VarBoolFromStr
,
"Faux"
,
VARIANT_LOCALBOOL
);
EXPECT
(
VARIANT_FALSE
);
/* Changing the locale prevents the localised text from being compared -
...
...
dlls/oleaut32/typelib.c
View file @
eb5bf7dd
...
...
@@ -866,7 +866,7 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength);
/*======================= ITypeInfo implementation =======================*/
/* data for refernced types */
/* data for refer
e
nced 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 refer
e
nced 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 painful
l
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 bec
o
use
/* We don't release ITypeLib when ref=0 bec
a
use
it means that funtion is called by ITypeLi2_Release */
ITypeLib2_Release
((
ITypeLib2
*
)
This
->
pTypeLib
);
}
else
{
...
...
dlls/oleaut32/typelib2.c
View file @
eb5bf7dd
...
...
@@ -140,7 +140,7 @@ typedef struct tagMSFT_ImpFile {
int
guid
;
LCID
lcid
;
int
version
;
char
filename
[
0
];
/* prece
e
ded 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 param
e
ter 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. */
{
...
...
dlls/oleaut32/varformat.c
View file @
eb5bf7dd
...
...
@@ -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 occur
r
ence of
* 'mm' indicates minutes, not months.
*/
fmt_state
|=
FMT_STATE_SEEN_HOURS
;
...
...
dlls/shell32/shell32_main.c
View file @
eb5bf7dd
...
...
@@ -199,7 +199,7 @@ LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR lpCmdline, int* numargs)
/* '"' */
if
((
bcount
&
1
)
==
0
)
{
/* Prece
e
ded 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
{
/* Prece
e
ded 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
;
...
...
dlls/shlwapi/assoc.c
View file @
eb5bf7dd
...
...
@@ -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 tran
s
parently 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
...
...
dlls/shlwapi/string.c
View file @
eb5bf7dd
...
...
@@ -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 occur
r
ence 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 occur
r
ence 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
* prece
e
ded 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 occur
r
ence 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 occur
r
ence of a character in string, ignoring case.
*
* PARAMS
* lpszStr [I] String to search in
...
...
dlls/win32s/w32sys.c
View file @
eb5bf7dd
...
...
@@ -74,7 +74,7 @@ WORD WINAPI GetW32SysVersion16(void)
* dunno what.
*/
WORD
WINAPI
GetPEResourceTable16
(
HFILE16
hf
/* [in]
filedescriptor to opened executeab
le */
HFILE16
hf
/* [in]
Handle of executable fi
le */
)
{
return
0
;
}
...
...
@@ -90,12 +90,12 @@ DWORD WINAPI LoadPeResource16(WORD x,SEGPTR y) {
/**********************************************************************
* IsPeFormat (W32SYS.2)
* Check
s 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 execute
able */
BOOL16
WINAPI
IsPeFormat16
(
LPSTR
fn
,
/* [in] filename
of execut
able */
HFILE16
hf16
)
/* [in] open file, if filename is NULL */
{
BOOL16
ret
=
FALSE
;
...
...
dlls/wineps/graphics.c
View file @
eb5bf7dd
...
...
@@ -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 tru
e
ly 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
)
{
...
...
dlls/wininet/netconnection.c
View file @
eb5bf7dd
...
...
@@ -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 fun
c
tions 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 fun
c
tions that we use */
MAKE_FUNCPTR
(
SSL_library_init
);
MAKE_FUNCPTR
(
SSL_load_error_strings
);
MAKE_FUNCPTR
(
SSLv23_method
);
...
...
programs/regedit/regproc.c
View file @
eb5bf7dd
...
...
@@ -609,7 +609,7 @@ void doSetValue(LPSTR stdInput)
}
/******************************************************************************
* This funtion is the main entry point to the queryValue type of action. It
* This fun
c
tion 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 fun
tion is the main entry point to the deletet
Value type of action. It
* This fun
ction is the main entry point to the delete
Value 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 fun
c
tion 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 fun
c
tion 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 fun
c
tion 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 fun
c
tion 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
)
...
...
programs/rundll32/rundll32.c
View file @
eb5bf7dd
...
...
@@ -179,14 +179,14 @@ static LPWSTR GetNextArg(LPWSTR *cmdline)
}
else
if
(
*
s
==
'"'
)
{
/* '"' */
if
((
bcount
&
1
)
==
0
)
{
/* Prece
e
ded 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
{
/* Prece
e
ded 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
;
...
...
programs/winefile/winefile.c
View file @
eb5bf7dd
...
...
@@ -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 prefer
r
ed 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 prefer
r
ed column width */
static
void
calc_single_width
(
Pane
*
pane
,
int
col
)
{
...
...
tools/widl/write_msft.c
View file @
eb5bf7dd
...
...
@@ -76,7 +76,7 @@ typedef struct tagMSFT_ImpFile {
int
guid
;
LCID
lcid
;
int
version
;
char
filename
[
0
];
/* prece
e
ded 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
...
...
tools/wrc/newstruc.c
View file @
eb5bf7dd
...
...
@@ -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 om
m
itted, in which case the sequence is equal to the sequence
* of "icon"s found in the file. Also "rate" may be om
m
itted, 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,
...
...
windows/cursoricon.c
View file @
eb5bf7dd
...
...
@@ -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
i
nimated icons
/* FIXME: test for
a
nimated icons
* hack to load the first icon from the *.ani file
*/
if
(
*
(
LPDWORD
)
bits
==
0x46464952
)
/* "RIFF" */
...
...
windows/spy.c
View file @
eb5bf7dd
...
...
@@ -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 prefer
r
ed.) */
#define RB_GETBANDINFO_OLD (WM_USER+5)
/* obsoleted after IE3, but we have to support it anyway */
...
...
windows/user.c
View file @
eb5bf7dd
...
...
@@ -303,7 +303,7 @@ static HANDLE *USER_GetProcessHandleList(void)
if
(
!
r
)
break
;
/* don't kill ou
t
selves */
/* don't kill ou
r
selves */
if
(
GetCurrentProcessId
()
==
pe
.
th32ProcessID
)
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment