Typos/spelling fixes.
This commit is contained in:
parent
9d0fa2f02e
commit
c5f775a9c7
|
@ -2009,7 +2009,7 @@ struct cabinet *find_cabs_in_file(LPCSTR name, cab_UBYTE search_buf[])
|
|||
case 17: foffset |= *p++ << 8; state++; break;
|
||||
case 18: foffset |= *p++ << 16; state++; break;
|
||||
case 19: foffset |= *p++ << 24;
|
||||
/* now we have recieved 20 bytes of potential cab header. */
|
||||
/* now we have received 20 bytes of potential cab header. */
|
||||
/* work out the offset in the file of this potential cabinet */
|
||||
caboff = offset + (p-pstart) - 20;
|
||||
|
||||
|
|
|
@ -313,7 +313,7 @@ BOOL FDI_read_entries(
|
|||
num_folders = EndGetI16(buf+cfhead_NumFolders);
|
||||
if (num_folders == 0) {
|
||||
/* PONDERME: is this really invalid? */
|
||||
WARN("wierd cabinet detect failure: no folders in cabinet\n");
|
||||
WARN("weird cabinet detect failure: no folders in cabinet\n");
|
||||
PFDI_INT(hfdi)->perf->erfOper = FDIERROR_NOT_A_CABINET;
|
||||
PFDI_INT(hfdi)->perf->erfType = 0;
|
||||
PFDI_INT(hfdi)->perf->fError = TRUE;
|
||||
|
@ -324,7 +324,7 @@ BOOL FDI_read_entries(
|
|||
num_files = EndGetI16(buf+cfhead_NumFiles);
|
||||
if (num_files == 0) {
|
||||
/* PONDERME: is this really invalid? */
|
||||
WARN("wierd cabinet detect failure: no files in cabinet\n");
|
||||
WARN("weird cabinet detect failure: no files in cabinet\n");
|
||||
PFDI_INT(hfdi)->perf->erfOper = FDIERROR_NOT_A_CABINET;
|
||||
PFDI_INT(hfdi)->perf->erfType = 0;
|
||||
PFDI_INT(hfdi)->perf->fError = TRUE;
|
||||
|
|
|
@ -1117,7 +1117,7 @@ TOOLBAR_CalcStrings (HWND hwnd, LPSIZE lpSize)
|
|||
/***********************************************************************
|
||||
* TOOLBAR_WrapToolbar
|
||||
*
|
||||
* This function walks through the buttons and seperators in the
|
||||
* This function walks through the buttons and separators in the
|
||||
* toolbar, and sets the TBSTATE_WRAP flag only on those items where
|
||||
* wrapping should occur based on the width of the toolbar window.
|
||||
* It does *not* calculate button placement itself. That task
|
||||
|
|
|
@ -317,7 +317,7 @@ static BOOL UPDOWN_SetBuddyInt (UPDOWN_INFO *infoPtr)
|
|||
len = wsprintfW(txt, fmt, infoPtr->CurVal);
|
||||
|
||||
|
||||
/* Do thousands seperation if necessary */
|
||||
/* Do thousands separation if necessary */
|
||||
if (!(GetWindowLongW (infoPtr->Self, GWL_STYLE) & UDS_NOTHOUSANDS) && (len > 3)) {
|
||||
WCHAR tmp[COUNT_OF(txt)], *src = tmp, *dst = txt;
|
||||
WCHAR sep = UPDOWN_GetThousandSep();
|
||||
|
|
|
@ -422,11 +422,11 @@ static BOOL PRINTDLG_CreateDevNames16(HGLOBAL16 *hmem, char* DeviceDriverName,
|
|||
* PRINTDLG_UpdatePrintDlg [internal]
|
||||
*
|
||||
*
|
||||
* updates the PrintDlg structure for returnvalues.
|
||||
* updates the PrintDlg structure for return values.
|
||||
*
|
||||
* RETURNS
|
||||
* FALSE if user is not allowed to close (i.e. wrong nTo or nFrom values)
|
||||
* TRUE if succesful.
|
||||
* TRUE if successful.
|
||||
*/
|
||||
static BOOL PRINTDLG_UpdatePrintDlgA(HWND hDlg,
|
||||
PRINT_PTRA* PrintStructures)
|
||||
|
|
|
@ -848,7 +848,7 @@ HRESULT DPLAYX_SetConnectionSettingsA
|
|||
{
|
||||
LPDPLAYX_LOBBYDATA lpDplData;
|
||||
|
||||
/* Paramater check */
|
||||
/* Parameter check */
|
||||
if( dwFlags || !lpConn )
|
||||
{
|
||||
ERR("invalid parameters.\n");
|
||||
|
@ -912,7 +912,7 @@ HRESULT DPLAYX_SetConnectionSettingsW
|
|||
{
|
||||
LPDPLAYX_LOBBYDATA lpDplData;
|
||||
|
||||
/* Paramater check */
|
||||
/* Parameter check */
|
||||
if( dwFlags || !lpConn )
|
||||
{
|
||||
ERR("invalid parameters.\n");
|
||||
|
|
|
@ -183,7 +183,7 @@ static void test_SplitShortPathA(CHAR *path,CHAR *dir,CHAR *eight,CHAR *three) {
|
|||
int len,i;
|
||||
len=lstrlenA(path);
|
||||
ext=len; fil=len; done=0; error=0;
|
||||
/* walk backwards over path looking for '.' or '\\' seperators */
|
||||
/* walk backwards over path looking for '.' or '\\' separators */
|
||||
for(i=len-1;(i>=0) && (!done);i--) {
|
||||
if(path[i]=='.')
|
||||
if(ext!=len) error=1; else ext=i;
|
||||
|
|
|
@ -537,10 +537,10 @@ VOID test_thread_processor()
|
|||
if (GetLastError()!=ERROR_CALL_NOT_IMPLEMENTED) {
|
||||
error=pSetThreadIdealProcessor(curthread,MAXIMUM_PROCESSORS+1);
|
||||
ok(error==-1,
|
||||
"SetThreadIdealProccesor succeeded with an illegal processor #");
|
||||
"SetThreadIdealProcessor succeeded with an illegal processor #");
|
||||
todo_wine {
|
||||
error=pSetThreadIdealProcessor(curthread,MAXIMUM_PROCESSORS);
|
||||
ok(error==0, "SetThreadIdealProccesor returned an incorrect value");
|
||||
ok(error==0, "SetThreadIdealProcessor returned an incorrect value");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -505,7 +505,7 @@ NTSTATUS WINAPI RtlSystemTimeToLocalTime( const LARGE_INTEGER *SystemTime,
|
|||
*
|
||||
* PARAMS
|
||||
* time [I] Time to convert.
|
||||
* res [O] Pointer to a LONG to recieve the seconds since 1970.
|
||||
* res [O] Pointer to a LONG to receive the seconds since 1970.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE: Successfull.
|
||||
|
@ -528,7 +528,7 @@ BOOLEAN WINAPI RtlTimeToSecondsSince1970( const LARGE_INTEGER *time, PULONG res
|
|||
*
|
||||
* PARAMS
|
||||
* time [I] Time to convert.
|
||||
* res [O] Pointer to a integer to recieve the time since 1980.
|
||||
* res [O] Pointer to a integer to receive the time since 1980.
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE: Successfull
|
||||
|
|
|
@ -264,7 +264,7 @@ HRESULT WINAPI AntiMonikerImpl_Save(IMoniker* iface,IStream* pStm,BOOL fClearDir
|
|||
DWORD constant=1;
|
||||
HRESULT res;
|
||||
|
||||
/* data writen by this function is only a DWORD constant seted to 1 ! */
|
||||
/* data written by this function is only a DWORD constant set to 1 ! */
|
||||
res=IStream_Write(pStm,&constant,sizeof(constant),NULL);
|
||||
|
||||
return res;
|
||||
|
|
|
@ -1281,7 +1281,7 @@ HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid)
|
|||
|
||||
TRACE("%s, %p\n", debugstr_w(filePathName), pclsid);
|
||||
|
||||
/* if the file contain a storage object the return the CLSID writen by IStorage_SetClass method*/
|
||||
/* if the file contain a storage object the return the CLSID written by IStorage_SetClass method*/
|
||||
if((StgIsStorageFile(filePathName))==S_OK){
|
||||
|
||||
res=StgOpenStorage(filePathName,NULL,STGM_READ | STGM_SHARE_DENY_WRITE,NULL,0,&pstg);
|
||||
|
|
|
@ -317,7 +317,7 @@ HRESULT WINAPI CompositeMonikerImpl_Load(IMoniker* iface,IStream* pStm)
|
|||
|
||||
/* this function call OleLoadFromStream function for each moniker within this object */
|
||||
|
||||
/* read the a constant writen by CompositeMonikerImpl_Save (see CompositeMonikerImpl_Save for more details)*/
|
||||
/* read the a constant written by CompositeMonikerImpl_Save (see CompositeMonikerImpl_Save for more details)*/
|
||||
res=IStream_Read(pStm,&constant,sizeof(DWORD),NULL);
|
||||
|
||||
if (SUCCEEDED(res)&& constant!=3)
|
||||
|
|
|
@ -323,7 +323,7 @@ HRESULT WINAPI ItemMonikerImpl_Save(IMoniker* iface,
|
|||
HRESULT res;
|
||||
CHAR *itemNameA,*itemDelimiterA;
|
||||
|
||||
/* data writen by this function are : 1) DWORD : size of item delimiter string ('\0' included ) */
|
||||
/* data written by this function are : 1) DWORD : size of item delimiter string ('\0' included ) */
|
||||
/* 2) String (type A): item delimiter string ('\0' included) */
|
||||
/* 3) DWORD : size of item name string ('\0' included) */
|
||||
/* 4) String (type A): item name string ('\0' included) */
|
||||
|
|
|
@ -367,7 +367,7 @@ HRESULT WINAPI SafeArrayPutElement(
|
|||
{
|
||||
ULONG stepCountInSAData = 0; /* Number of array item to skip to get to
|
||||
the desired one... */
|
||||
PVOID elementStorageAddress = NULL; /* Adress to store the data */
|
||||
PVOID elementStorageAddress = NULL; /* Address to store the data */
|
||||
|
||||
/* Validate the index given */
|
||||
if(! validCoordinate(rgIndices, psa))
|
||||
|
@ -415,7 +415,7 @@ HRESULT WINAPI SafeArrayPutElement(
|
|||
return E_UNEXPECTED; /* UNDOC error condition */
|
||||
}
|
||||
|
||||
TRACE("SafeArray: item put at adress %p.\n",elementStorageAddress);
|
||||
TRACE("SafeArray: item put at address %p.\n",elementStorageAddress);
|
||||
return SafeArrayUnlock(psa);
|
||||
}
|
||||
|
||||
|
@ -431,7 +431,7 @@ HRESULT WINAPI SafeArrayGetElement(
|
|||
{
|
||||
ULONG stepCountInSAData = 0; /* Number of array item to skip to get to
|
||||
the desired one... */
|
||||
PVOID elementStorageAddress = NULL; /* Adress to store the data */
|
||||
PVOID elementStorageAddress = NULL; /* Address to store the data */
|
||||
|
||||
if(! validArg(psa))
|
||||
return E_INVALIDARG;
|
||||
|
|
|
@ -4489,7 +4489,7 @@ HRESULT WINAPI VarCyFromDate(DATE dateIn, CY* pcyOut) {
|
|||
|
||||
/**********************************************************************
|
||||
* VarCyFromStr [OLEAUT32.104]
|
||||
* FIXME: Never tested with decimal seperator other than '.'
|
||||
* FIXME: Never tested with decimal separator other than '.'
|
||||
*/
|
||||
HRESULT WINAPI VarCyFromStr(OLECHAR *strIn, LCID lcid, ULONG dwFlags, CY *pcyOut) {
|
||||
|
||||
|
@ -4503,19 +4503,19 @@ HRESULT WINAPI VarCyFromStr(OLECHAR *strIn, LCID lcid, ULONG dwFlags, CY *pcyOut
|
|||
pNewString = HEAP_strdupWtoA( GetProcessHeap(), 0, strIn );
|
||||
TRACE("( '%s', 0x%08lx, 0x%08lx, %p )\n", pNewString, lcid, dwFlags, pcyOut );
|
||||
|
||||
/* Get locale information - Decimal Seperator (size includes 0x00) */
|
||||
/* Get locale information - Decimal Separator (size includes 0x00) */
|
||||
size = GetLocaleInfoA(lcid, LOCALE_SDECIMAL, NULL, 0);
|
||||
decSep = (char *) malloc(size);
|
||||
rc = GetLocaleInfoA(lcid, LOCALE_SDECIMAL, decSep, size);
|
||||
TRACE("Decimal Seperator is '%s'\n", decSep);
|
||||
TRACE("Decimal Separator is '%s'\n", decSep);
|
||||
|
||||
/* Now copy to temporary buffer, skipping any character except 0-9 and
|
||||
the decimal seperator */
|
||||
the decimal separator */
|
||||
curPtr = pBuffer; /* Current position in string being built */
|
||||
strPtr = pNewString; /* Current position in supplied currenct string */
|
||||
|
||||
while (*strPtr) {
|
||||
/* If decimal seperator, skip it and put '.' in string */
|
||||
/* If decimal separator, skip it and put '.' in string */
|
||||
if (strncmp(strPtr, decSep, (size-1)) == 0) {
|
||||
strPtr = strPtr + (size-1);
|
||||
*curPtr = '.';
|
||||
|
@ -5961,19 +5961,19 @@ HRESULT WINAPI VarFormatFromTokens(LPVARIANT varIn, LPOLESTR format,
|
|||
break;
|
||||
|
||||
case TOK_COLON :
|
||||
/* Get locale information - Time Seperator */
|
||||
/* Get locale information - Time Separator */
|
||||
size = GetLocaleInfoA(lcid, LOCALE_STIME, NULL, 0);
|
||||
GetLocaleInfoA(lcid, LOCALE_STIME, pNextPos, size);
|
||||
TRACE("TOK_COLON Time seperator is '%s'\n", pNextPos);
|
||||
TRACE("TOK_COLON Time separator is '%s'\n", pNextPos);
|
||||
pNextPos = pNextPos + size;
|
||||
pData = pData + 1;
|
||||
break;
|
||||
|
||||
case TOK_SLASH :
|
||||
/* Get locale information - Date Seperator */
|
||||
/* Get locale information - Date Separator */
|
||||
size = GetLocaleInfoA(lcid, LOCALE_SDATE, NULL, 0);
|
||||
GetLocaleInfoA(lcid, LOCALE_SDATE, pNextPos, size);
|
||||
TRACE("TOK_COLON Time seperator is '%s'\n", pNextPos);
|
||||
TRACE("TOK_COLON Time separator is '%s'\n", pNextPos);
|
||||
pNextPos = pNextPos + size;
|
||||
pData = pData + 1;
|
||||
break;
|
||||
|
|
|
@ -57,7 +57,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(exec);
|
|||
* %2 printer
|
||||
* %3 driver
|
||||
* %4 port
|
||||
* %I adress of a global item ID (explorer switch /idlist)
|
||||
* %I address of a global item ID (explorer switch /idlist)
|
||||
* %L seems to be %1 as long filename followed by the 8+3 variation
|
||||
* %S ???
|
||||
* %* all following parameters (see batfile)
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
WINE_DEFAULT_DEBUG_CHANNEL (shell);
|
||||
|
||||
/***************************************************************************
|
||||
* debughelper: print out the return adress
|
||||
* debughelper: print out the return address
|
||||
* helps especially to track down unbalanced AddRef/Release
|
||||
*/
|
||||
#define MEM_DEBUG 0
|
||||
|
|
|
@ -693,7 +693,7 @@ static HMENU ShellView_BuildFileMenu(IShellViewImpl * This)
|
|||
mii.cbSize = sizeof(mii);
|
||||
mii.fMask = MIIM_TYPE | MIIM_ID | MIIM_STATE;
|
||||
|
||||
if(TBSTYLE_SEP != Tools[i].bStyle) /* no seperator*/
|
||||
if(TBSTYLE_SEP != Tools[i].bStyle) /* no separator*/
|
||||
{
|
||||
mii.fType = MFT_STRING;
|
||||
mii.fState = MFS_ENABLED;
|
||||
|
|
|
@ -141,7 +141,7 @@ HRESULT WINAPI SHLWAPI_17(IStream* lpStream, LPSHLWAPI_CLIST lpList)
|
|||
*
|
||||
* PARAMS
|
||||
* lpStream [I] Stream to read the list from
|
||||
* lppList [0] Pointer to recieve the new List
|
||||
* lppList [0] Pointer to receive the new List
|
||||
*
|
||||
* RETURNS
|
||||
* Success: S_OK
|
||||
|
|
|
@ -1426,7 +1426,7 @@ BOOL WINAPI PathCompactPathExW(LPWSTR lpszDest, LPCWSTR lpszPath,
|
|||
return TRUE;
|
||||
}
|
||||
/* We have a root in the path */
|
||||
lpszFile--; /* Start compacted filename with the path seperator */
|
||||
lpszFile--; /* Start compacted filename with the path separator */
|
||||
dwFileLen++;
|
||||
|
||||
if (dwFileLen + 3 > cchMax)
|
||||
|
@ -1776,7 +1776,7 @@ static BOOL PathMatchSingleMaskW(LPCWSTR name, LPCWSTR mask)
|
|||
* FALSE Otherwise
|
||||
*
|
||||
* NOTES
|
||||
* Multiple search masks may be given if they are seperated by ";". The
|
||||
* Multiple search masks may be given if they are separated by ";". The
|
||||
* pattern "*.*" is treated specially in that it matches all paths (for
|
||||
* backwards compatibility with DOS).
|
||||
*/
|
||||
|
|
|
@ -104,7 +104,7 @@ WINAPI _CreateAllAccessSecurityAttributes(
|
|||
* Get an interface to the shell explorer.
|
||||
*
|
||||
* PARAMS
|
||||
* lppUnknown [O] pointer to recieve IUnknown interface.
|
||||
* lppUnknown [O] pointer to receive IUnknown interface.
|
||||
*
|
||||
* RETURNS
|
||||
* Success: S_OK. lppUnknown contains the explorer interface.
|
||||
|
|
|
@ -453,7 +453,7 @@ void seqbuf_dump(void)
|
|||
}
|
||||
|
||||
/**************************************************************************
|
||||
* midRecieveChar [internal]
|
||||
* midReceiveChar [internal]
|
||||
*/
|
||||
static void midReceiveChar(WORD wDevID, unsigned char value, DWORD dwTime)
|
||||
{
|
||||
|
|
|
@ -422,7 +422,7 @@ typedef !!!struct!!! _TEB* P_TEB;
|
|||
extern inline P_TEB WINAPI NtCurrentTeb(void);
|
||||
<<
|
||||
|
||||
Those conversions are semanticaly the same as above but g++ compile
|
||||
Those conversions are semantically the same as above but g++ compile
|
||||
them and generate proper code to invoke __stdcall kind of functions
|
||||
|
||||
in some of Wine/obj_XXX.h files: Wine/obj_base.h - there are a lot of
|
||||
|
|
|
@ -162,7 +162,7 @@ WINE COMPONENTS
|
|||
* Shared Object Library Files
|
||||
To obtain a current list of DLLs, run:
|
||||
ls dlls/*.so
|
||||
it the root of the Wine _build_ tree, after a sucessful build.
|
||||
it the root of the Wine _build_ tree, after a successful build.
|
||||
|
||||
* Man Pages
|
||||
To obtain a current list of man files that need to be installed, run:
|
||||
|
@ -412,7 +412,7 @@ Example (split this into %build and %install section for rpm:
|
|||
install -d $BR/etc/wine/
|
||||
install -m 644 wine.ini $BR/etc/wine/wine.conf
|
||||
|
||||
# Put all our DLLs in a seperate directory. (this works only if you have a buildroot)
|
||||
# Put all our DLLs in a separate directory. (this works only if you have a buildroot)
|
||||
install -d $BR/usr/X11R6/lib/wine
|
||||
mv $BR/usr/X11R6/lib/lib* $BR/usr/X11R6/lib/wine/
|
||||
|
||||
|
@ -432,7 +432,7 @@ FIXME: this needs to be done better.
|
|||
install -m 644 wine.userreg $BR/etc/wine/
|
||||
|
||||
There are now a lot of libraries generated by the build process, so a
|
||||
seperate library directory should be used.
|
||||
separate library directory should be used.
|
||||
|
||||
install -d 755 $BR/usr/X11R6/lib/
|
||||
mv $BR/
|
||||
|
|
|
@ -1505,7 +1505,7 @@ g => GUID
|
|||
<sect2>
|
||||
<title>Debug channels</title>
|
||||
<para>
|
||||
It is possible to turn on and off debug messages as you are debuging using
|
||||
It is possible to turn on and off debug messages as you are debugging using
|
||||
the set command.
|
||||
</para>
|
||||
<screen>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<note>
|
||||
<para>
|
||||
It is possible to turn on and of debugging output from
|
||||
within the debuger using the set command. Please see the
|
||||
within the debugger using the set command. Please see the
|
||||
WineDbg Command Reference section for how to do this.
|
||||
</para>
|
||||
</note>
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<title>2.1 Structure sizes of different common control versions</title>
|
||||
|
||||
<para>
|
||||
The common controls have been continously improved in the
|
||||
The common controls have been continuously improved in the
|
||||
past. Some of the orignal structures had to be extended
|
||||
and their size changed. Most of the common control
|
||||
structures include their size as the first parameter. If a
|
||||
|
|
|
@ -145,10 +145,10 @@ code
|
|||
<title>Inline attachments with Outlook Express</title>
|
||||
<para>
|
||||
Outlook Express is notorious for mangleing attachements. Giving the
|
||||
patch a <filename>.txt</filename> extention and attaching will solve
|
||||
patch a <filename>.txt</filename> extension and attaching will solve
|
||||
the problem for most mailers including Outlook. Also, there is a way
|
||||
to enable Outlook Express send <filename>.diff</filename>
|
||||
attachmnets.
|
||||
attachments.
|
||||
</para>
|
||||
<para>
|
||||
You need following two things to make it work.
|
||||
|
|
|
@ -17,10 +17,10 @@ The missing parts are:
|
|||
- many build-in icons are missing
|
||||
|
||||
- shell notifications
|
||||
- not aware of seperated addressspaces
|
||||
- not aware of separated address spaces
|
||||
|
||||
- iconcache
|
||||
- not aware of seperated addressspaces
|
||||
- not aware of separated address spaces
|
||||
- shell extensions
|
||||
|
||||
- BrowseForFolder
|
||||
|
@ -99,4 +99,3 @@ needed Registry keys:
|
|||
@="shell32.dll"
|
||||
"ThreadingModel"="Apartment"
|
||||
----------------------------
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ TODO:
|
|||
- (done) Header files for DP4 and DPL3
|
||||
- (done) Add stub functions for all DP4 and DPL3 interfaces
|
||||
- (done) Correct naming of the parameters for DP3 and DPL2
|
||||
- (done) Seperate out DP and DPL into multiple .c files
|
||||
- (done) Separate out DP and DPL into multiple .c files
|
||||
- (done) Allow CoCreateInstance to create the new interfaces
|
||||
- (started)Implement mutual exclusion on object data for existing functions
|
||||
- (done) Create and move to correct dll directories (dplay and dplayx)
|
||||
|
@ -123,7 +123,7 @@ TODO:
|
|||
- Need to implement lobby session spawning.
|
||||
|
||||
ENHANCEMENTS:
|
||||
- Improve footprint and realtime blocking by setting up a seperate data share
|
||||
- Improve footprint and realtime blocking by setting up a separate data share
|
||||
between lobby application and client since there can be multiple apps per
|
||||
client. Also get rid of offset dependency by making data offset independent
|
||||
somehow.
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
* classical comment / *...* / (note: no comments within comments,
|
||||
* therefore spaces) is considered to be a line-continuation
|
||||
* (according to gcc and egcs AFAIK, ANSI is a bit vague).
|
||||
* Comments have not been added to the above grammer for simplicity
|
||||
* Comments have not been added to the above grammar for simplicity
|
||||
* reasons. However, it is allowed to enter comment anywhere within
|
||||
* the directives as long as they do not interfere with the context.
|
||||
* All comments are considered to be deletable whitespace (both
|
||||
|
@ -1068,7 +1068,7 @@ static void expand_macro(macexpstackentry_t *mep)
|
|||
|
||||
/*
|
||||
* We must add *one* whitespace to make sure that there
|
||||
* is a token-seperation after the expansion.
|
||||
* is a token-separation after the expansion.
|
||||
*/
|
||||
*(++cptr) = ' ';
|
||||
*(++cptr) = '\0';
|
||||
|
|
|
@ -1945,7 +1945,7 @@ GetCharacterPlacementA(HDC hdc, LPCSTR lpString, INT uCount,
|
|||
*
|
||||
* RETURNS
|
||||
*
|
||||
* The width and height of the string if succesful, 0 if failed.
|
||||
* The width and height of the string if successful, 0 if failed.
|
||||
*
|
||||
* BUGS
|
||||
*
|
||||
|
|
|
@ -227,7 +227,7 @@ void HandleCommandLine(LPSTR cmdline)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* try to find file with ".txt" extention */
|
||||
/* try to find file with ".txt" extension */
|
||||
if (!strcmp(".txt", cmdline + strlen(cmdline) - strlen(".txt")))
|
||||
{
|
||||
file_exists = FALSE;
|
||||
|
|
|
@ -144,7 +144,7 @@ LRESULT CALLBACK WndProc(HWND hwnd,
|
|||
PostQuitMessage(0);
|
||||
break;
|
||||
|
||||
default: /* Passes it on if unproccessed */
|
||||
default: /* Passes it on if unprocessed */
|
||||
return DefWindowProc(hwnd, uMessage, wparam, lparam);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -257,7 +257,7 @@ doPropertySheet (HINSTANCE hInstance, HWND hOwner)
|
|||
/*****************************************************************************
|
||||
* Name : WinMain
|
||||
* Description: Main windows entry point
|
||||
* Paramaters : hInstance
|
||||
* Parameters : hInstance
|
||||
* hPrev
|
||||
* szCmdLine
|
||||
* nShow
|
||||
|
|
|
@ -71,9 +71,9 @@ BEGIN
|
|||
BS_AUTOCHECKBOX | WS_TABSTOP,17,62,91,10
|
||||
CONTROL "Favor correctness over speed",IDC_PERFECTGRAPH,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,17,76,117,10
|
||||
CONTROL "Use XFree DGA extention",IDC_XDGA,"Button",
|
||||
CONTROL "Use XFree DGA extension",IDC_XDGA,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,141,62,97,10
|
||||
CONTROL "Use XFree Shm extention",IDC_XSHM,"Button",
|
||||
CONTROL "Use XFree Shm extension",IDC_XSHM,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,141,76,96,10
|
||||
CONTROL "Enable Wine desktop",IDC_MANAGED,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,17,143,84,10
|
||||
|
|
|
@ -59,9 +59,9 @@ static char *DEBUG_Flags( DWORD flag, char *buf )
|
|||
if ( buf >= pt-- ) return( buf );
|
||||
if ( flag & 0x00000800 ) *pt = 'O'; /* Overflow Flag */
|
||||
if ( buf >= pt-- ) return( buf );
|
||||
if ( flag & 0x00001000 ) *pt = '1'; /* I/O Privilage Level */
|
||||
if ( flag & 0x00001000 ) *pt = '1'; /* I/O Privilege Level */
|
||||
if ( buf >= pt-- ) return( buf );
|
||||
if ( flag & 0x00002000 ) *pt = '1'; /* I/O Privilage Level */
|
||||
if ( flag & 0x00002000 ) *pt = '1'; /* I/O Privilege Level */
|
||||
if ( buf >= pt-- ) return( buf );
|
||||
if ( flag & 0x00004000 ) *pt = 'N'; /* Nested Task Flag */
|
||||
if ( buf >= pt-- ) return( buf );
|
||||
|
|
|
@ -203,7 +203,7 @@ To build your stub DLL as part of Wine, do the following:
|
|||
|
||||
Your application can now link with the DLL.
|
||||
|
||||
If you recieve the following error when running autoconf:
|
||||
If you receive the following error when running autoconf:
|
||||
|
||||
autoconf: configure.in: No such file or directory
|
||||
|
||||
|
@ -466,13 +466,13 @@ The definition for the _complex struct needs to be given. Since it is passed
|
|||
by value, its size also needs to be correct in order to forward the call
|
||||
correctly to a native DLL. In this case the structure is 8 bytes in size, which
|
||||
means that the gcc compile flag -freg-struct-return must be given when
|
||||
compiling the function in order to be compatable with the native DLL. (In
|
||||
compiling the function in order to be compatible with the native DLL. (In
|
||||
general this is not an issue, but you need to be aware of such issues if you
|
||||
encounter problems with your forwarding DLL).
|
||||
|
||||
For third party (non C++) DLL's, the header(s) supplied with the DLL can
|
||||
normally be added as an include to the generated DLL header. For other DLLs
|
||||
I suggest creating a seperate header in the DLL directory and adding any
|
||||
I suggest creating a separate header in the DLL directory and adding any
|
||||
needed types to that. This allows you to rebuild the DLL at whim, for example
|
||||
if a new version of winedump brings increased functionality, then you
|
||||
only have to overwrite the generated files and re-include the header to take
|
||||
|
@ -551,14 +551,14 @@ Finally, we must tell Wine to only use the builtin msvcrt.dll and to only use
|
|||
the native (Win32) ms_msvcrt.dll. Add the following two lines to ~/.wine/config
|
||||
under the [DllOverrides] section:
|
||||
|
||||
;Use our implmentation of msvcrt
|
||||
;Use our implementation of msvcrt
|
||||
"msvcrt" = "builtin, so"
|
||||
;Use only the Win32 ms_msvcrt
|
||||
"ms_msvcrt" = "native"
|
||||
|
||||
At this point, when any call is made to msvcrt.dll, Our libmsvcrt.so recieves
|
||||
At this point, when any call is made to msvcrt.dll, Our libmsvcrt.so receives
|
||||
the call. It then forwards or calls ms_msvcrt.dll, which is the native dll. We
|
||||
recieve a return value and pass it back to our caller, having TRACEd the
|
||||
receive a return value and pass it back to our caller, having TRACEd the
|
||||
arguments on the way.
|
||||
|
||||
At this point you are ready to start reimplementing the calls.
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
* - Parser now emits a warning when compiling win32
|
||||
* extensions in win16 mode.
|
||||
*
|
||||
* 16-Apr-1998 BS - Raw data elements are now *optionally* seperated
|
||||
* 16-Apr-1998 BS - Raw data elements are now *optionally* separated
|
||||
* by commas. Read the comments in file sq2dq.l.
|
||||
* - FIXME: there are instances in the source that rely
|
||||
* on the fact that int==32bit and pointers are int size.
|
||||
|
|
|
@ -369,7 +369,7 @@
|
|||
[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{B196B28D-BAB4-101A-B69C-00AA00341D07}\ProxyStubClsid32]
|
||||
@="{B196B286-BAB4-101A-B69C-00AA00341D07}"
|
||||
|
||||
#IPropertyPage2 - an extention of IPropertyPage to support initial selection on a property page
|
||||
#IPropertyPage2 - an extension of IPropertyPage to support initial selection on a property page
|
||||
[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{01E44665-24AC-101B-84ED-08002B2EC713}]
|
||||
@="IPropertyPage2"
|
||||
|
||||
|
@ -449,7 +449,7 @@
|
|||
[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{376BD3AA-3845-101B-84ED-08002B2EC713}\ProxyStubClsid32]
|
||||
@="{B196B286-BAB4-101A-B69C-00AA00341D07}"
|
||||
|
||||
#IAdviseSinkEx - an extention of IAdviseSink which provides notifications about object status changes
|
||||
#IAdviseSinkEx - an extension of IAdviseSink which provides notifications about object status changes
|
||||
[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{3AF24290-0C96-11CE-A0CF-00AA00600AB8}]
|
||||
@="IAdviseSinkEx"
|
||||
|
||||
|
@ -589,7 +589,7 @@
|
|||
[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{B196B283-BAB4-101A-B69C-00AA00341D07}\ProxyStubClsid32]
|
||||
@="{B196B286-BAB4-101A-B69C-00AA00341D07}"
|
||||
|
||||
#IProvideClassInfo2 - extention of class IProvideClassInfo
|
||||
#IProvideClassInfo2 - extension of class IProvideClassInfo
|
||||
[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851}]
|
||||
@="IProvideClassInfo2"
|
||||
|
||||
|
@ -599,7 +599,7 @@
|
|||
[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851}\ProxyStubClsid32]
|
||||
@="{B196B286-BAB4-101A-B69C-00AA00341D07}"
|
||||
|
||||
#IProvideMultipleClassInfo - an extention of IProvideClassInfo2 which can provide information about
|
||||
#IProvideMultipleClassInfo - an extension of IProvideClassInfo2 which can provide information about
|
||||
#a few implemented classes
|
||||
[HKEY_LOCAL_MACHINE\Software\Classes\Interface\{A7ABA9C1-8983-11CF-8F20-00805F2CD064}]
|
||||
@="IProvideMultipleClassInfo"
|
||||
|
|
Loading…
Reference in New Issue