Commit f803e2a9 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Fix miscellaneous spelling errors and typos.

parent d93f0814
...@@ -629,7 +629,7 @@ static HRESULT WINAPI ACMStream_fnDelete(IAVIStream *iface, LONG start, ...@@ -629,7 +629,7 @@ static HRESULT WINAPI ACMStream_fnDelete(IAVIStream *iface, LONG start,
if ((This->sInfo.dwCaps & AVIFILECAPS_CANWRITE) == 0) if ((This->sInfo.dwCaps & AVIFILECAPS_CANWRITE) == 0)
return AVIERR_READONLY; return AVIERR_READONLY;
/* A compressor is also neccessary */ /* A compressor is also necessary */
if (This->has == NULL) if (This->has == NULL)
return AVIERR_NOCOMPRESSOR; return AVIERR_NOCOMPRESSOR;
......
...@@ -1047,7 +1047,7 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving) ...@@ -1047,7 +1047,7 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
if (cbFilter > size) { if (cbFilter > size) {
int i; int i;
/* replace '@' with \000 to seperate description of filter */ /* replace '@' with \000 to separate description of filter */
for (i = 0; i < size && szAllFiles[i] != 0; i++) { for (i = 0; i < size && szAllFiles[i] != 0; i++) {
if (szAllFiles[i] == '@') { if (szAllFiles[i] == '@') {
szAllFiles[i] = 0; szAllFiles[i] = 0;
......
...@@ -1372,7 +1372,7 @@ static HRESULT AVIFILE_AddFrame(IAVIStreamImpl *This, DWORD ckid, DWORD size, DW ...@@ -1372,7 +1372,7 @@ static HRESULT AVIFILE_AddFrame(IAVIStreamImpl *This, DWORD ckid, DWORD size, DW
This->idxFrames[This->lLastFrame].dwChunkOffset = offset; This->idxFrames[This->lLastFrame].dwChunkOffset = offset;
This->idxFrames[This->lLastFrame].dwChunkLength = size; This->idxFrames[This->lLastFrame].dwChunkLength = size;
/* update AVISTREAMINFO structure if neccessary */ /* update AVISTREAMINFO structure if necessary */
if (This->sInfo.dwLength < This->lLastFrame) if (This->sInfo.dwLength < This->lLastFrame)
This->sInfo.dwLength = This->lLastFrame; This->sInfo.dwLength = This->lLastFrame;
...@@ -2046,7 +2046,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This) ...@@ -2046,7 +2046,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
if (mmioAscend(This->hmmio, &ck, 0) != S_OK) if (mmioAscend(This->hmmio, &ck, 0) != S_OK)
return AVIERR_FILEWRITE; return AVIERR_FILEWRITE;
/* write the headers of each stream into a seperate streamheader list */ /* write the headers of each stream into a separate streamheader list */
for (nStream = 0; nStream < This->fInfo.dwStreams; nStream++) { for (nStream = 0; nStream < This->fInfo.dwStreams; nStream++) {
AVIStreamHeader strHdr; AVIStreamHeader strHdr;
...@@ -2087,7 +2087,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This) ...@@ -2087,7 +2087,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
if (mmioAscend(This->hmmio, &ck, 0) != S_OK) if (mmioAscend(This->hmmio, &ck, 0) != S_OK)
return AVIERR_FILEWRITE; return AVIERR_FILEWRITE;
/* ... the hopefull ever present streamformat ... */ /* ... the hopefully ever present streamformat ... */
ck.ckid = ckidSTREAMFORMAT; ck.ckid = ckidSTREAMFORMAT;
ck.cksize = pStream->cbFormat; ck.cksize = pStream->cbFormat;
if (mmioCreateChunk(This->hmmio, &ck, 0) != S_OK) if (mmioCreateChunk(This->hmmio, &ck, 0) != S_OK)
......
...@@ -647,7 +647,7 @@ GL_IDirect3DDeviceImpl_3_2T_SetLightState(LPDIRECT3DDEVICE3 iface, ...@@ -647,7 +647,7 @@ GL_IDirect3DDeviceImpl_3_2T_SetLightState(LPDIRECT3DDEVICE3 iface,
} else if (dwLightStateType == D3DLIGHTSTATE_COLORMODEL /* 3 */) { } else if (dwLightStateType == D3DLIGHTSTATE_COLORMODEL /* 3 */) {
switch (dwLightState) { switch (dwLightState) {
case D3DCOLOR_MONO: case D3DCOLOR_MONO:
ERR("DDCOLOR_MONO should not happend!\n"); ERR("DDCOLOR_MONO should not happen!\n");
break; break;
case D3DCOLOR_RGB: case D3DCOLOR_RGB:
/* We are already in this mode */ /* We are already in this mode */
......
...@@ -158,7 +158,7 @@ void NS_AddRemoteComputerAsNameServer( LPCVOID lpcNSAddrHdr, ...@@ -158,7 +158,7 @@ void NS_AddRemoteComputerAsNameServer( LPCVOID lpcNSAddrHdr,
lpCache->present = lpCacheNode; lpCache->present = lpCacheNode;
/* Use this message as an oportunity to weed out any old sessions so /* Use this message as an opportunity to weed out any old sessions so
* that we don't enum them again * that we don't enum them again
*/ */
NS_PruneSessionCache( lpNSInfo ); NS_PruneSessionCache( lpNSInfo );
...@@ -236,7 +236,7 @@ HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid, ...@@ -236,7 +236,7 @@ HRESULT NS_SendSessionRequestBroadcast( LPCGUID lpcGuid,
lpMsg = (LPDPMSG_ENUMSESSIONSREQUEST)(((BYTE*)data.lpMessage)+lpSpData->dwSPHeaderSize); lpMsg = (LPDPMSG_ENUMSESSIONSREQUEST)(((BYTE*)data.lpMessage)+lpSpData->dwSPHeaderSize);
/* Setup EnumSession reqest message */ /* Setup EnumSession request message */
lpMsg->envelope.dwMagic = DPMSGMAGIC_DPLAYMSG; lpMsg->envelope.dwMagic = DPMSGMAGIC_DPLAYMSG;
lpMsg->envelope.wCommandId = DPMSGCMD_ENUMSESSIONSREQUEST; lpMsg->envelope.wCommandId = DPMSGCMD_ENUMSESSIONSREQUEST;
lpMsg->envelope.wVersion = DPMSGVER_DP6; lpMsg->envelope.wVersion = DPMSGVER_DP6;
...@@ -267,7 +267,7 @@ void NS_InvalidateSessionCache( LPVOID lpNSInfo ) ...@@ -267,7 +267,7 @@ void NS_InvalidateSessionCache( LPVOID lpNSInfo )
if( lpCache == NULL ) if( lpCache == NULL )
{ {
ERR( ": invalidate non existant cache\n" ); ERR( ": invalidate non existent cache\n" );
return; return;
} }
...@@ -362,7 +362,7 @@ void NS_PruneSessionCache( LPVOID lpNSInfo ) ...@@ -362,7 +362,7 @@ void NS_PruneSessionCache( LPVOID lpNSInfo )
break; break;
} }
/* Deal with time in a wrap around safe manner - unsigned arithmatic. /* Deal with time in a wrap around safe manner - unsigned arithmetic.
* Check the difference in time */ * Check the difference in time */
if( (dwPresentTime - (DPQ_FIRST(lpCache->first)->dwTime)) < dwPrunePeriod ) if( (dwPresentTime - (DPQ_FIRST(lpCache->first)->dwTime)) < dwPrunePeriod )
{ {
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#define SHORTDIR "shortdir" #define SHORTDIR "shortdir"
#define LONGDIR "Long Directory" #define LONGDIR "Long Directory"
#define NONFILE_SHORT "noexist.pth" #define NONFILE_SHORT "noexist.pth"
#define NONFILE_LONG "Non Existant File" #define NONFILE_LONG "Non Existent File"
#define NONDIR_SHORT "notadir" #define NONDIR_SHORT "notadir"
#define NONDIR_LONG "Non Existant Directory" #define NONDIR_LONG "Non Existent Directory"
#define NOT_A_VALID_DRIVE '@' #define NOT_A_VALID_DRIVE '@'
...@@ -198,7 +198,7 @@ static void test_SplitShortPathA(CHAR *path,CHAR *dir,CHAR *eight,CHAR *three) { ...@@ -198,7 +198,7 @@ static void test_SplitShortPathA(CHAR *path,CHAR *dir,CHAR *eight,CHAR *three) {
} }
/* Check that we didn't find a trailing '\\' or multiple '.' */ /* Check that we didn't find a trailing '\\' or multiple '.' */
ok(!error,"Illegal file found in 8.3 path '%s'",path); ok(!error,"Illegal file found in 8.3 path '%s'",path);
/* Seperate dir, root, and extension */ /* Separate dir, root, and extension */
if(ext!=len) lstrcpyA(three,path+ext+1); else lstrcpyA(three,""); if(ext!=len) lstrcpyA(three,path+ext+1); else lstrcpyA(three,"");
if(fil!=len) { if(fil!=len) {
lstrcpynA(eight,path+fil+1,ext-fil); lstrcpynA(eight,path+fil+1,ext-fil);
...@@ -228,7 +228,7 @@ static void test_LongtoShortA(CHAR *teststr,CHAR *goodstr, ...@@ -228,7 +228,7 @@ static void test_LongtoShortA(CHAR *teststr,CHAR *goodstr,
characters in the filename. characters in the filename.
'valid' indicates whether this would be an allowed filename 'valid' indicates whether this would be an allowed filename
'todo' indictaes that wine doesn't get this right yet. 'todo' indictaes that wine doesn't get this right yet.
NOTE: We always call this routine with a non-existant filename, so NOTE: We always call this routine with a non-existent filename, so
Get(Short|Long)PathNameA should never pass, but GetFullPathNameA Get(Short|Long)PathNameA should never pass, but GetFullPathNameA
should. should.
*/ */
...@@ -438,10 +438,10 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir) ...@@ -438,10 +438,10 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir)
so why check it again. so why check it again.
*/ */
SetCurrentDirectoryA(newdir); SetCurrentDirectoryA(newdir);
/* Check that SetCurrentDirectory fails when a non-existant dir is specified */ /* Check that SetCurrentDirectory fails when a non-existent dir is specified */
sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_SHORT); sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_SHORT);
test_setdir(newdir,tmpstr,NULL,0,"check 3"); test_setdir(newdir,tmpstr,NULL,0,"check 3");
/* Check that SetCurrentDirectory fails for a non-existant lond directory */ /* Check that SetCurrentDirectory fails for a non-existent lond directory */
sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_LONG); sprintf(tmpstr,"%s\\%s\\%s",newdir,SHORTDIR,NONDIR_LONG);
test_setdir(newdir,tmpstr,NULL,0,"check 4"); test_setdir(newdir,tmpstr,NULL,0,"check 4");
/* Check that SetCurrentDirectory passes with a long directory */ /* Check that SetCurrentDirectory passes with a long directory */
...@@ -653,7 +653,7 @@ static void test_PathNameA(CHAR *curdir, CHAR curDrive, CHAR otherDrive) ...@@ -653,7 +653,7 @@ static void test_PathNameA(CHAR *curdir, CHAR curDrive, CHAR otherDrive)
test_ValidPathA(curdir,"",tmpstr,tmpstr1,NULL,"test13"); test_ValidPathA(curdir,"",tmpstr,tmpstr1,NULL,"test13");
sprintf(tmpstr,"%s\\",LONGDIR); sprintf(tmpstr,"%s\\",LONGDIR);
test_ValidPathA(curdir,"",tmpstr,tmpstr1,NULL,"test14"); test_ValidPathA(curdir,"",tmpstr,tmpstr1,NULL,"test14");
/* Non-existant directories */ /* Non-existent directories */
sprintf(tmpstr,"%s\\",NONDIR_SHORT); sprintf(tmpstr,"%s\\",NONDIR_SHORT);
test_ValidPathA(curdir,"",tmpstr,tmpstr1,&passfail,"test15"); test_ValidPathA(curdir,"",tmpstr,tmpstr1,&passfail,"test15");
sprintf(tmpstr2,"%s\\%s",curdir,tmpstr); sprintf(tmpstr2,"%s\\%s",curdir,tmpstr);
......
...@@ -107,7 +107,7 @@ int _XcptFilter(int ex, PEXCEPTION_POINTERS ptr) ...@@ -107,7 +107,7 @@ int _XcptFilter(int ex, PEXCEPTION_POINTERS ptr)
* _EH_prolog (MSVCRT.@) * _EH_prolog (MSVCRT.@)
*/ */
#ifdef __i386__ #ifdef __i386__
/* Provided for VC++ binary compatability only */ /* Provided for VC++ binary compatibility only */
__ASM_GLOBAL_FUNC(_EH_prolog, __ASM_GLOBAL_FUNC(_EH_prolog,
"pushl $-1\n\t" "pushl $-1\n\t"
"pushl %eax\n\t" "pushl %eax\n\t"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
* but are also available to applications that need this functionality. * but are also available to applications that need this functionality.
* *
* Bits are set LSB to MSB in each consecutive byte, making this implementation * Bits are set LSB to MSB in each consecutive byte, making this implementation
* binary compatable with Win32. * binary compatible with Win32.
* *
* Note that to avoid unexpected behaviour, the size of a bitmap should be set * Note that to avoid unexpected behaviour, the size of a bitmap should be set
* to a multiple of 32. * to a multiple of 32.
......
...@@ -63,7 +63,7 @@ const CLSID CLSID_StdGlobalInterfaceTable = { 0x00000323, 0, 0, {0xc0, 0, 0, 0, ...@@ -63,7 +63,7 @@ const CLSID CLSID_StdGlobalInterfaceTable = { 0x00000323, 0, 0, {0xc0, 0, 0, 0,
static void* StdGlobalInterfaceTableInstance; static void* StdGlobalInterfaceTableInstance;
/***************************************************************************** /*****************************************************************************
* Appartment management stuff * Apartment management stuff
* *
* NOTE: * NOTE:
* per Thread values are stored in the TEB on offset 0xF80 * per Thread values are stored in the TEB on offset 0xF80
...@@ -75,22 +75,22 @@ static void* StdGlobalInterfaceTableInstance; ...@@ -75,22 +75,22 @@ static void* StdGlobalInterfaceTableInstance;
typedef struct { typedef struct {
unsigned char threadingModell; /* we use the COINIT flags */ unsigned char threadingModell; /* we use the COINIT flags */
unsigned long threadID; unsigned long threadID;
long AppartmentLockCount; long ApartmentLockCount;
} OleAppartmentData; } OleApartmentData;
typedef struct { typedef struct {
OleAppartmentData *AppartmentData; OleApartmentData *ApartmentData;
} OleThreadData; } OleThreadData;
/* not jet used /* not jet used
static CRITICAL_SECTION csAppartmentData = CRITICAL_SECTION_INIT("csAppartmentData"); static CRITICAL_SECTION csApartmentData = CRITICAL_SECTION_INIT("csApartmentData");
*/ */
/* /*
* the first STA created in a process is the main STA * the first STA created in a process is the main STA
*/ */
/* not jet used /* not jet used
static OleAppartmentData * mainSTA; static OleApartmentData * mainSTA;
*/ */
/* /*
...@@ -98,7 +98,7 @@ static OleAppartmentData * mainSTA; ...@@ -98,7 +98,7 @@ static OleAppartmentData * mainSTA;
*/ */
/* not jet used /* not jet used
static OleAppartmentData * processMTA; static OleApartmentData * processMTA;
*/ */
......
...@@ -45,7 +45,7 @@ get_facbuf_for_iid(REFIID riid,IPSFactoryBuffer **facbuf) { ...@@ -45,7 +45,7 @@ get_facbuf_for_iid(REFIID riid,IPSFactoryBuffer **facbuf) {
#define PIPEPREF "\\\\.\\pipe\\" #define PIPEPREF "\\\\.\\pipe\\"
#define OLESTUBMGR PIPEPREF"WINE_OLE_StubMgr" #define OLESTUBMGR PIPEPREF"WINE_OLE_StubMgr"
/* Standard Marshaling definitions */ /* Standard Marshalling definitions */
typedef struct _wine_marshal_id { typedef struct _wine_marshal_id {
DWORD processid; DWORD processid;
DWORD objectid; /* unique value corresp. IUnknown of object */ DWORD objectid; /* unique value corresp. IUnknown of object */
......
/* /*
* free threaded marshaler * free threaded marshaller
* *
* Copyright 2002 Juergen Schmied * Copyright 2002 Juergen Schmied
* *
...@@ -141,14 +141,14 @@ HRESULT WINAPI FTMarshalImpl_GetMarshalSizeMax (LPMARSHAL iface, REFIID riid, vo ...@@ -141,14 +141,14 @@ HRESULT WINAPI FTMarshalImpl_GetMarshalSizeMax (LPMARSHAL iface, REFIID riid, vo
FIXME ("(), stub!\n"); FIXME ("(), stub!\n");
/* if the marshaling happends inside the same process the interface pointer is /* if the marshalling happens inside the same process the interface pointer is
copied between the appartments */ copied between the apartments */
if (dwDestContext == MSHCTX_INPROC || dwDestContext == MSHCTX_CROSSCTX) { if (dwDestContext == MSHCTX_INPROC || dwDestContext == MSHCTX_CROSSCTX) {
*pSize = sizeof (This); *pSize = sizeof (This);
return S_OK; return S_OK;
} }
/* use the standard marshaler to handle all other cases */ /* use the standard marshaller to handle all other cases */
CoGetStandardMarshal (riid, pv, dwDestContext, pvDestContext, mshlflags, &pMarshal); CoGetStandardMarshal (riid, pv, dwDestContext, pvDestContext, mshlflags, &pMarshal);
hres = IMarshal_GetMarshalSizeMax (pMarshal, riid, pv, dwDestContext, pvDestContext, mshlflags, pSize); hres = IMarshal_GetMarshalSizeMax (pMarshal, riid, pv, dwDestContext, pvDestContext, mshlflags, pSize);
IMarshal_Release (pMarshal); IMarshal_Release (pMarshal);
...@@ -168,8 +168,8 @@ HRESULT WINAPI FTMarshalImpl_MarshalInterface (LPMARSHAL iface, IStream * pStm, ...@@ -168,8 +168,8 @@ HRESULT WINAPI FTMarshalImpl_MarshalInterface (LPMARSHAL iface, IStream * pStm,
FIXME ("(), stub!\n"); FIXME ("(), stub!\n");
/* if the marshaling happends inside the same process the interface pointer is /* if the marshalling happens inside the same process the interface pointer is
copied between the appartments */ copied between the apartments */
if (dwDestContext == MSHCTX_INPROC || dwDestContext == MSHCTX_CROSSCTX) { if (dwDestContext == MSHCTX_INPROC || dwDestContext == MSHCTX_CROSSCTX) {
return IStream_Write (pStm, This, sizeof (This), 0); return IStream_Write (pStm, This, sizeof (This), 0);
} }
......
/* /*
* Marshaling library * Marshalling library
* *
* Copyright 2002 Marcus Meissner * Copyright 2002 Marcus Meissner
* *
...@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole); ...@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
extern const CLSID CLSID_DfMarshal; extern const CLSID CLSID_DfMarshal;
/* Marshaling just passes a unique identifier to the remote client, /* Marshalling just passes a unique identifier to the remote client,
* that makes it possible to find the passed interface again. * that makes it possible to find the passed interface again.
* *
* So basically we need a set of values that make it unique. * So basically we need a set of values that make it unique.
...@@ -350,9 +350,9 @@ ICOM_VTABLE(IMarshal) stdmvtbl = { ...@@ -350,9 +350,9 @@ ICOM_VTABLE(IMarshal) stdmvtbl = {
/*********************************************************************** /***********************************************************************
* CoGetStandardMarshal [OLE32.23] * CoGetStandardMarshal [OLE32.23]
* *
* When the COM library in the client process receives a marshaled * When the COM library in the client process receives a marshalled
* interface pointer, it looks for a CLSID to be used in creating a proxy * interface pointer, it looks for a CLSID to be used in creating a proxy
* for the purposes of unmarshaling the packet. If the packet does not * for the purposes of unmarshalling the packet. If the packet does not
* contain a CLSID for the proxy, COM calls CoGetStandardMarshal, passing a * contain a CLSID for the proxy, COM calls CoGetStandardMarshal, passing a
* NULL pUnk value. * NULL pUnk value.
* This function creates a standard proxy in the client process and returns * This function creates a standard proxy in the client process and returns
......
...@@ -252,7 +252,7 @@ CFStub_Construct(LPRPCSTUBBUFFER *ppv) { ...@@ -252,7 +252,7 @@ CFStub_Construct(LPRPCSTUBBUFFER *ppv) {
} }
/* Since we create proxy buffers and classfactory in a pair, there is /* Since we create proxy buffers and classfactory in a pair, there is
* no need for 2 seperate structs. Just put them in one, but remember * no need for 2 separate structs. Just put them in one, but remember
* the refcount. * the refcount.
*/ */
typedef struct _CFProxy { typedef struct _CFProxy {
...@@ -313,7 +313,7 @@ CFProxy_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) { ...@@ -313,7 +313,7 @@ CFProxy_QueryInterface(LPCLASSFACTORY iface,REFIID riid, LPVOID *ppv) {
IClassFactory_AddRef(iface); IClassFactory_AddRef(iface);
return S_OK; return S_OK;
} }
if (IsEqualIID(riid,&IID_IMarshal)) /* just to avoid debugoutput */ if (IsEqualIID(riid,&IID_IMarshal)) /* just to avoid debug output */
return E_NOINTERFACE; return E_NOINTERFACE;
FIXME("Unhandled interface: %s\n",debugstr_guid(riid)); FIXME("Unhandled interface: %s\n",debugstr_guid(riid));
return E_NOINTERFACE; return E_NOINTERFACE;
...@@ -371,7 +371,7 @@ static HRESULT WINAPI CFProxy_CreateInstance( ...@@ -371,7 +371,7 @@ static HRESULT WINAPI CFProxy_CreateInstance(
if (!msg.cbBuffer) /* interface not found on remote */ if (!msg.cbBuffer) /* interface not found on remote */
return srstatus; return srstatus;
/* We got back: [Marshaled Interface data] */ /* We got back: [Marshalled Interface data] */
TRACE("got %ld bytes data.\n",msg.cbBuffer); TRACE("got %ld bytes data.\n",msg.cbBuffer);
hGlobal = GlobalAlloc(GMEM_MOVEABLE|GMEM_NODISCARD|GMEM_SHARE,msg.cbBuffer); hGlobal = GlobalAlloc(GMEM_MOVEABLE|GMEM_NODISCARD|GMEM_SHARE,msg.cbBuffer);
memcpy(GlobalLock(hGlobal),msg.Buffer,msg.cbBuffer); memcpy(GlobalLock(hGlobal),msg.Buffer,msg.cbBuffer);
......
...@@ -6503,7 +6503,7 @@ DWORD OLECONVERT_WriteOLE20ToBuffer(LPSTORAGE pStorage, BYTE **pData) ...@@ -6503,7 +6503,7 @@ DWORD OLECONVERT_WriteOLE20ToBuffer(LPSTORAGE pStorage, BYTE **pData)
/************************************************************************* /*************************************************************************
* OLECONVERT_CreateOleStream [Internal] * OLECONVERT_CreateOleStream [Internal]
* *
* Creates the "\001OLE" stream in the IStorage if neccessary. * Creates the "\001OLE" stream in the IStorage if necessary.
* *
* PARAMS * PARAMS
* pStorage [I] Dest storage to create the stream in * pStorage [I] Dest storage to create the stream in
......
...@@ -117,7 +117,7 @@ _unmarshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN *pUnk) { ...@@ -117,7 +117,7 @@ _unmarshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN *pUnk) {
if (hres) { FIXME("Failed Seek %lx\n",hres); return hres;} if (hres) { FIXME("Failed Seek %lx\n",hres); return hres;}
hres = CoUnmarshalInterface(pStm,riid,(LPVOID*)pUnk); hres = CoUnmarshalInterface(pStm,riid,(LPVOID*)pUnk);
if (hres) { if (hres) {
FIXME("Marshaling interface %s failed with %lx\n",debugstr_guid(riid),hres); FIXME("Marshalling interface %s failed with %lx\n",debugstr_guid(riid),hres);
return hres; return hres;
} }
IStream_Release(pStm); IStream_Release(pStm);
...@@ -154,7 +154,7 @@ _marshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN pUnk) { ...@@ -154,7 +154,7 @@ _marshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN pUnk) {
hres = CoMarshalInterface(pStm,riid,newiface,0,NULL,0); hres = CoMarshalInterface(pStm,riid,newiface,0,NULL,0);
IUnknown_Release(newiface); IUnknown_Release(newiface);
if (hres) { if (hres) {
FIXME("Marshaling interface %s failed with %lx\n", FIXME("Marshalling interface %s failed with %lx\n",
debugstr_guid(riid),hres debugstr_guid(riid),hres
); );
goto fail; goto fail;
......
...@@ -4762,7 +4762,7 @@ static HRESULT WINAPI ITypeInfo_fnCreateInstance( ITypeInfo2 *iface, ...@@ -4762,7 +4762,7 @@ static HRESULT WINAPI ITypeInfo_fnCreateInstance( ITypeInfo2 *iface,
/* ITypeInfo::GetMops /* ITypeInfo::GetMops
* *
* Retrieves marshaling information. * Retrieves marshalling information.
*/ */
static HRESULT WINAPI ITypeInfo_fnGetMops( ITypeInfo2 *iface, MEMBERID memid, static HRESULT WINAPI ITypeInfo_fnGetMops( ITypeInfo2 *iface, MEMBERID memid,
BSTR *pBstrMops) BSTR *pBstrMops)
......
...@@ -277,7 +277,7 @@ unsigned char * WINAPI VARIANT_UserMarshal(unsigned long *pFlags, unsigned char ...@@ -277,7 +277,7 @@ unsigned char * WINAPI VARIANT_UserMarshal(unsigned long *pFlags, unsigned char
break; break;
} }
var->clSize = Pos - Buffer; var->clSize = Pos - Buffer;
TRACE("marshaled size=%ld\n", var->clSize); TRACE("marshalled size=%ld\n", var->clSize);
return Pos; return Pos;
} }
...@@ -290,7 +290,7 @@ unsigned char * WINAPI VARIANT_UserUnmarshal(unsigned long *pFlags, unsigned cha ...@@ -290,7 +290,7 @@ unsigned char * WINAPI VARIANT_UserUnmarshal(unsigned long *pFlags, unsigned cha
TRACE("(%lx,%p,%p)\n", *pFlags, Buffer, pvar); TRACE("(%lx,%p,%p)\n", *pFlags, Buffer, pvar);
VariantInit(pvar); VariantInit(pvar);
pvar->n1.n2.vt = var->rpcReserved; pvar->n1.n2.vt = var->rpcReserved;
TRACE("marshaled: clSize=%ld, vt=%04x\n", var->clSize, var->vt); TRACE("marshalled: clSize=%ld, vt=%04x\n", var->clSize, var->vt);
TRACE("vt=%04x\n", V_VT(pvar)); TRACE("vt=%04x\n", V_VT(pvar));
TRACE("reserved: %d, %d, %d\n", var->wReserved1, var->wReserved2, var->wReserved3); TRACE("reserved: %d, %d, %d\n", var->wReserved1, var->wReserved2, var->wReserved3);
TRACE("val: %ld\n", var->u.lVal); TRACE("val: %ld\n", var->u.lVal);
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* - widl is like MIDL for wine. For wine to be a useful RPC platform, quite * - widl is like MIDL for wine. For wine to be a useful RPC platform, quite
* a bit of work needs to be done here. widl currently doesn't generate stubs * a bit of work needs to be done here. widl currently doesn't generate stubs
* for RPC invocation -- it will need to; this is tricky because the MIDL compiler * for RPC invocation -- it will need to; this is tricky because the MIDL compiler
* does some really wierd stuff. Then again, we don't neccesarily have to * does some really weird stuff. Then again, we don't necessarily have to
* make widl work like MIDL, so it could be worse. Lately Ove has been working on * make widl work like MIDL, so it could be worse. Lately Ove has been working on
* some widl enhancements. * some widl enhancements.
* *
......
...@@ -118,7 +118,7 @@ BOOL RPCRT4_SendReceiveNPMsg(HANDLE np, PRPCSS_NP_MESSAGE msg, char *vardata, PR ...@@ -118,7 +118,7 @@ BOOL RPCRT4_SendReceiveNPMsg(HANDLE np, PRPCSS_NP_MESSAGE msg, char *vardata, PR
return FALSE; return FALSE;
} }
/* process the vardata payload if neccesary */ /* process the vardata payload if necessary */
vardata_payload_msg.message_type = RPCSS_NP_MESSAGE_TYPEID_VARDATAPAYLOADMSG; vardata_payload_msg.message_type = RPCSS_NP_MESSAGE_TYPEID_VARDATAPAYLOADMSG;
vardata_payload_msg.vardata_payload_size = 0; /* meaningless */ vardata_payload_msg.vardata_payload_size = 0; /* meaningless */
for ( payload_offset = 0; payload_offset < msg->vardata_payload_size; for ( payload_offset = 0; payload_offset < msg->vardata_payload_size;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
/*--------------------- FIXME -------------------------- /*--------------------- FIXME --------------------------
* *
* These must be seperated into the language files * These must be separated into the language files
* and translated. The language 0,0 is a hack to get it * and translated. The language 0,0 is a hack to get it
* loaded properly for all languages by pretending that * loaded properly for all languages by pretending that
* they are neutral. * they are neutral.
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
/*--------------------- FIXME -------------------------- /*--------------------- FIXME --------------------------
* *
* These must be seperated into the language files * These must be separated into the language files
* and translated. The language 0,0 is a hack to get it * and translated. The language 0,0 is a hack to get it
* loaded properly for all languages by pretending that * loaded properly for all languages by pretending that
* they are neutral. * they are neutral.
......
...@@ -682,7 +682,7 @@ BOOL WINAPI PathStripToRootW(LPWSTR lpszPath) ...@@ -682,7 +682,7 @@ BOOL WINAPI PathStripToRootW(LPWSTR lpszPath)
/************************************************************************* /*************************************************************************
* PathRemoveArgsA [SHLWAPI.@] * PathRemoveArgsA [SHLWAPI.@]
* *
* Strip space seperated arguments from a path. * Strip space separated arguments from a path.
* *
* PARAMS * PARAMS
* lpszPath [I] Path to remove arguments from * lpszPath [I] Path to remove arguments from
...@@ -1778,7 +1778,7 @@ static BOOL PathMatchSingleMaskW(LPCWSTR name, LPCWSTR mask) ...@@ -1778,7 +1778,7 @@ static BOOL PathMatchSingleMaskW(LPCWSTR name, LPCWSTR mask)
* NOTES * NOTES
* Multiple search masks may be given if they are seperated by ";". The * Multiple search masks may be given if they are seperated by ";". The
* pattern "*.*" is treated specially in that it matches all paths (for * pattern "*.*" is treated specially in that it matches all paths (for
* backwards compatability with DOS). * backwards compatibility with DOS).
*/ */
BOOL WINAPI PathMatchSpecA(LPCSTR lpszPath, LPCSTR lpszMask) BOOL WINAPI PathMatchSpecA(LPCSTR lpszPath, LPCSTR lpszMask)
{ {
...@@ -2601,7 +2601,7 @@ int WINAPI PathCommonPrefixA(LPCSTR lpszFile1, LPCSTR lpszFile2, LPSTR achPath) ...@@ -2601,7 +2601,7 @@ int WINAPI PathCommonPrefixA(LPCSTR lpszFile1, LPCSTR lpszFile2, LPSTR achPath)
} while (1); } while (1);
if (iLen == 2) if (iLen == 2)
iLen++; /* Feature/Bug compatable with Win32 */ iLen++; /* Feature/Bug compatible with Win32 */
if (iLen && achPath) if (iLen && achPath)
{ {
...@@ -2656,7 +2656,7 @@ int WINAPI PathCommonPrefixW(LPCWSTR lpszFile1, LPCWSTR lpszFile2, LPWSTR achPat ...@@ -2656,7 +2656,7 @@ int WINAPI PathCommonPrefixW(LPCWSTR lpszFile1, LPCWSTR lpszFile2, LPWSTR achPat
} while (1); } while (1);
if (iLen == 2) if (iLen == 2)
iLen++; /* Feature/Bug compatable with Win32 */ iLen++; /* Feature/Bug compatible with Win32 */
if (iLen && achPath) if (iLen && achPath)
{ {
...@@ -2871,7 +2871,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch) ...@@ -2871,7 +2871,7 @@ UINT WINAPI PathGetCharTypeW(WCHAR ch)
flags |= GCT_SHORTCHAR; /* All these are valid for DOS */ flags |= GCT_SHORTCHAR; /* All these are valid for DOS */
} }
else else
flags |= GCT_SHORTCHAR; /* Bug compatable with win32 */ flags |= GCT_SHORTCHAR; /* Bug compatible with win32 */
flags |= GCT_LFNCHAR; /* Valid for long file names */ flags |= GCT_LFNCHAR; /* Valid for long file names */
} }
return flags; return flags;
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
<listItem><para> <listItem><para>
Additional notes such as interaction with other parts of the system, differences Additional notes such as interaction with other parts of the system, differences
between Wines implementation and Win32s, errors in MSDN documentation, between Wines implementation and Win32s, errors in MSDN documentation,
undocumented cases and bugs that Wine corrects or is compatable with. undocumented cases and bugs that Wine corrects or is compatible with.
</para></listitem> </para></listitem>
</itemizedlist> </itemizedlist>
...@@ -340,7 +340,7 @@ BOOL WINAPI PathRelativePathToA( ...@@ -340,7 +340,7 @@ BOOL WINAPI PathRelativePathToA(
<listItem><para> <listItem><para>
<command>BUGS</command>. Any bugs in the function that exist 'by design', i.e. <command>BUGS</command>. Any bugs in the function that exist 'by design', i.e.
those that will not be fixed or exist for compatability with Windows. those that will not be fixed or exist for compatibility with Windows.
</para></listitem> </para></listitem>
<listItem><para> <listItem><para>
......
...@@ -65,13 +65,13 @@ ...@@ -65,13 +65,13 @@
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para>existance of a header file</para> <para>existence of a header file</para>
</listitem> </listitem>
<listitem> <listitem>
<para>existance of a library function</para> <para>existence of a library function</para>
</listitem> </listitem>
<listitem> <listitem>
<para>existance of libraries</para> <para>existence of libraries</para>
</listitem> </listitem>
<listitem> <listitem>
<para>bugs in header files, library functions, the compiler, ...</para> <para>bugs in header files, library functions, the compiler, ...</para>
......
...@@ -222,7 +222,7 @@ printf("Processor architecture=%d\n",si ANONS .wProcessorArchitecture); ...@@ -222,7 +222,7 @@ printf("Processor architecture=%d\n",si ANONS .wProcessorArchitecture);
<para> <para>
In order to avoid warnings in C (and potential errors in C++) In order to avoid warnings in C (and potential errors in C++)
from not having prototypes, you may need to use a set of MS from not having prototypes, you may need to use a set of MS
compatable header files. These are scheduled for inclusion compatible header files. These are scheduled for inclusion
into Wine but at the time of writing are not available. Until into Wine but at the time of writing are not available. Until
they are, you can try prototyping the functions you need, or they are, you can try prototyping the functions you need, or
just live with the warnings. just live with the warnings.
......
...@@ -886,12 +886,12 @@ BOOL WINAPI PolyDraw(HDC hdc, const POINT *lppt, const BYTE *lpbTypes, ...@@ -886,12 +886,12 @@ BOOL WINAPI PolyDraw(HDC hdc, const POINT *lppt, const BYTE *lpbTypes,
/* /*
* some macro definitions for bezier drawing * some macro definitions for bezier drawing
* *
* to avoid trucation errors the coordinates are * to avoid truncation errors the coordinates are
* shifted upwards. When used in drawing they are * shifted upwards. When used in drawing they are
* shifted down again, including correct rounding * shifted down again, including correct rounding
* and avoiding floating point arithmatic * and avoiding floating point arithmetic
* 4 bits should allow 27 bits coordinates which I saw * 4 bits should allow 27 bits coordinates which I saw
* somewere in the win32 doc's * somewhere in the win32 doc's
* *
*/ */
......
...@@ -139,7 +139,7 @@ char IO_pp_init(void) ...@@ -139,7 +139,7 @@ char IO_pp_init(void)
if (ioctl (fd,PPCLAIM,0)) if (ioctl (fd,PPCLAIM,0))
{ {
ERR("PPCLAIM rejected %s\n",buffer); ERR("PPCLAIM rejected %s\n",buffer);
ERR("Perhaps the device is already in use or non-existant\n"); ERR("Perhaps the device is already in use or non-existent\n");
continue; continue;
} }
if (nports > 0) if (nports > 0)
...@@ -168,7 +168,7 @@ char IO_pp_init(void) ...@@ -168,7 +168,7 @@ char IO_pp_init(void)
if (ioctl (fd,PPRELEASE,0)) if (ioctl (fd,PPRELEASE,0))
{ {
ERR("PPRELEASE rejected %s\n",buffer); ERR("PPRELEASE rejected %s\n",buffer);
ERR("Perhaps the device is already in use or non-existant\n"); ERR("Perhaps the device is already in use or non-existent\n");
continue; continue;
} }
PPDeviceList[nports].devicename = malloc(sizeof(buffer)+1); PPDeviceList[nports].devicename = malloc(sizeof(buffer)+1);
......
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
* o Wine's named pipes (in general) may not interoperate with those of * o Wine's named pipes (in general) may not interoperate with those of
* Windows yet (?) * Windows yet (?)
* *
* o There is a looming problem regarding listening on priveleged * o There is a looming problem regarding listening on privileged
* ports. We will need to be able to coexist with SAMBA, and able * ports. We will need to be able to coexist with SAMBA, and be able
* to function without running winelib code as root. This may * to function without running winelib code as root. This may
* take some doing, including significant reconceptualization of the * take some doing, including significant reconceptualization of the
* role of rpcss.exe in wine. * role of rpcss.exe in wine.
......
...@@ -759,7 +759,7 @@ sub process_comment ...@@ -759,7 +759,7 @@ sub process_comment
$prototype =~ s/ *\* */\*/g; # Strip space around pointers $prototype =~ s/ *\* */\*/g; # Strip space around pointers
$prototype =~ s/ *\, */\,/g; # Strip space around commas $prototype =~ s/ *\, */\,/g; # Strip space around commas
$prototype =~ s/^(void|VOID)$//; # If void, leave blank $prototype =~ s/^(void|VOID)$//; # If void, leave blank
$prototype =~ s/\*([A-Za-z_])/\* $1/g; # Seperate pointers from parameter name $prototype =~ s/\*([A-Za-z_])/\* $1/g; # Separate pointers from parameter name
@{$comment->{PROTOTYPE}} = split ( /,/ ,$prototype); @{$comment->{PROTOTYPE}} = split ( /,/ ,$prototype);
# FIXME: If we have no parameters, make sure we have a PARAMS: None. section # FIXME: If we have no parameters, make sure we have a PARAMS: None. section
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment