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
1b24da3a
Commit
1b24da3a
authored
Apr 09, 2008
by
Austin English
Committed by
Alexandre Julliard
Apr 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Spelling fixes.
parent
7fa1c9d0
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
41 additions
and
41 deletions
+41
-41
antimoniker.c
dlls/ole32/antimoniker.c
+2
-2
bindctx.c
dlls/ole32/bindctx.c
+1
-1
compobj.c
dlls/ole32/compobj.c
+2
-2
compositemoniker.c
dlls/ole32/compositemoniker.c
+3
-3
datacache.c
dlls/ole32/datacache.c
+2
-2
defaulthandler.c
dlls/ole32/defaulthandler.c
+1
-1
filemoniker.c
dlls/ole32/filemoniker.c
+3
-3
ifs.c
dlls/ole32/ifs.c
+1
-1
itemmoniker.c
dlls/ole32/itemmoniker.c
+3
-3
moniker.c
dlls/ole32/moniker.c
+4
-4
ole16.c
dlls/ole32/ole16.c
+1
-1
pointermoniker.c
dlls/ole32/pointermoniker.c
+1
-1
rpc.c
dlls/ole32/rpc.c
+3
-3
stg_prop.c
dlls/ole32/stg_prop.c
+1
-1
storage.c
dlls/ole32/storage.c
+1
-1
storage32.c
dlls/ole32/storage32.c
+11
-11
storage32.h
dlls/ole32/storage32.h
+1
-1
No files found.
dlls/ole32/antimoniker.c
View file @
1b24da3a
...
...
@@ -215,7 +215,7 @@ AntiMonikerImpl_GetSizeMax(IMoniker* iface, ULARGE_INTEGER* pcbSize)
if
(
!
pcbSize
)
return
E_POINTER
;
/* for more details see AntiMonikerImpl_Save coments */
/* for more details see AntiMonikerImpl_Save com
m
ents */
/*
* Normally the sizemax must be sizeof DWORD, but
...
...
@@ -600,7 +600,7 @@ static HRESULT AntiMonikerImpl_Construct(AntiMonikerImpl* This)
TRACE
(
"(%p)
\n
"
,
This
);
/* Initialize the virtual f
g
unction table. */
/* Initialize the virtual function table. */
This
->
lpvtbl1
=
&
VT_AntiMonikerImpl
;
This
->
lpvtbl2
=
&
VT_ROTDataImpl
;
This
->
ref
=
0
;
...
...
dlls/ole32/bindctx.c
View file @
1b24da3a
...
...
@@ -46,7 +46,7 @@ typedef struct BindCtxObject{
}
BindCtxObject
;
/* BindCtx data struc
r
ture */
/* BindCtx data structure */
typedef
struct
BindCtxImpl
{
const
IBindCtxVtbl
*
lpVtbl
;
/* VTable relative to the IBindCtx interface.*/
...
...
dlls/ole32/compobj.c
View file @
1b24da3a
...
...
@@ -1690,8 +1690,8 @@ HRESULT WINAPI CoGetPSClsid(REFIID riid, CLSID *pclsid)
}
RegCloseKey
(
hkey
);
/* We have the CLS
id
we want back from the registry as a string, so
lets convert it into a CLSID structure */
/* We have the CLS
ID
we want back from the registry as a string, so
let
'
s convert it into a CLSID structure */
if
(
CLSIDFromString
(
value
,
pclsid
)
!=
NOERROR
)
return
REGDB_E_IIDNOTREG
;
...
...
dlls/ole32/compositemoniker.c
View file @
1b24da3a
...
...
@@ -54,7 +54,7 @@ typedef struct CompositeMonikerImpl{
LONG
ref
;
/* reference counter for this object */
IMoniker
**
tabMoniker
;
/* dynam
a
ic table containing all components (monikers) of this composite moniker */
IMoniker
**
tabMoniker
;
/* dynamic table containing all components (monikers) of this composite moniker */
ULONG
tabSize
;
/* size of tabMoniker */
...
...
@@ -903,7 +903,7 @@ CompositeMonikerImpl_CommonPrefixWith(IMoniker* iface, IMoniker* pmkOther,
IEnumMoniker_Next
(
enumMoniker1
,
1
,
&
tempMk1
,
NULL
);
/* if we have more than one comm
u
n moniker the result will be a composite moniker */
/* if we have more than one comm
o
n moniker the result will be a composite moniker */
if
(
nbCommonMk
>
1
){
/* initialize the common prefix moniker with the composite of two first moniker (from the left)*/
...
...
@@ -928,7 +928,7 @@ CompositeMonikerImpl_CommonPrefixWith(IMoniker* iface, IMoniker* pmkOther,
return
S_OK
;
}
else
{
/* if we have only one comm
u
n moniker the result will be a simple moniker which is the most-left one*/
/* if we have only one comm
o
n moniker the result will be a simple moniker which is the most-left one*/
*
ppmkPrefix
=
tempMk1
;
return
S_OK
;
...
...
dlls/ole32/datacache.c
View file @
1b24da3a
...
...
@@ -66,7 +66,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
* PresentationDataHeader
*
* This structure represents the header of the \002OlePresXXX stream in
* the OLE object st
r
orage.
* the OLE object storage.
*/
typedef
struct
PresentationDataHeader
{
...
...
@@ -2252,7 +2252,7 @@ static const IOleCacheControlVtbl DataCache_IOleCacheControl_VTable =
*
* NOTES
* The following interfaces are supported by the returned data cache object:
* IOleCache, IOleCache2, IOleCacheControl, IPersistStorae, IDataObject,
* IOleCache, IOleCache2, IOleCacheControl, IPersistStora
g
e, IDataObject,
* IViewObject and IViewObject2.
*/
HRESULT
WINAPI
CreateDataCache
(
...
...
dlls/ole32/defaulthandler.c
View file @
1b24da3a
...
...
@@ -396,7 +396,7 @@ static HRESULT WINAPI DefaultHandler_SetHostNames(
if
(
object_is_running
(
This
))
IOleObject_SetHostNames
(
This
->
pOleDelegate
,
szContainerApp
,
szContainerObj
);
/* Be sure to cleanup before re-assi
ng
ing the strings. */
/* Be sure to cleanup before re-assi
gn
ing the strings. */
HeapFree
(
GetProcessHeap
(),
0
,
This
->
containerApp
);
This
->
containerApp
=
NULL
;
HeapFree
(
GetProcessHeap
(),
0
,
This
->
containerObj
);
...
...
dlls/ole32/filemoniker.c
View file @
1b24da3a
...
...
@@ -600,7 +600,7 @@ FileMonikerImpl_BindToStorage(IMoniker* iface, IBindCtx* pbc, IMoniker* pmkToLef
/* get the file name */
IMoniker_GetDisplayName
(
iface
,
pbc
,
pmkToLeft
,
&
filePath
);
/* verif
ie
if the file contains a storage object */
/* verif
y
if the file contains a storage object */
res
=
StgIsStorageFile
(
filePath
);
if
(
res
==
S_OK
){
...
...
@@ -679,7 +679,7 @@ FileMonikerImpl_ComposeWith(IMoniker* iface, IMoniker* pmkRight,
IMoniker_IsSystemMoniker
(
pmkRight
,
&
mkSys
);
/* check if we have two
filem
onikers to compose or not */
/* check if we have two
FileM
onikers to compose or not */
if
(
mkSys
==
MKSYS_FILEMONIKER
){
CreateBindCtx
(
0
,
&
bind
);
...
...
@@ -1345,7 +1345,7 @@ FileMonikerImpl_Construct(FileMonikerImpl* This, LPCOLESTR lpszPathName)
TRACE
(
"(%p,%s)
\n
"
,
This
,
debugstr_w
(
lpszPathName
));
/* Initialize the virtual f
g
unction table. */
/* Initialize the virtual function table. */
This
->
lpvtbl1
=
&
VT_FileMonikerImpl
;
This
->
lpvtbl2
=
&
VT_ROTDataImpl
;
This
->
ref
=
0
;
...
...
dlls/ole32/ifs.c
View file @
1b24da3a
...
...
@@ -640,7 +640,7 @@ HRESULT WINAPI CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy)
/***********************************************************************
* CoRevokeMallocSpy [OLE32.@]
*
* Revokes a previousl registered object that receives notifications on memory
* Revokes a previousl
y
registered object that receives notifications on memory
* allocations and frees.
*
* PARAMS
...
...
dlls/ole32/itemmoniker.c
View file @
1b24da3a
...
...
@@ -270,7 +270,7 @@ HRESULT WINAPI ItemMonikerImpl_Load(IMoniker* iface,IStream* pStm)
TRACE
(
"
\n
"
);
/* for more details about data read by this function see coments of ItemMonikerImpl_Save function */
/* for more details about data read by this function see com
m
ents of ItemMonikerImpl_Save function */
/* read item delimiter string length + 1 */
res
=
IStream_Read
(
pStm
,
&
delimiterLength
,
sizeof
(
DWORD
),
&
bread
);
...
...
@@ -376,7 +376,7 @@ HRESULT WINAPI ItemMonikerImpl_GetSizeMax(IMoniker* iface,
if
(
!
pcbSize
)
return
E_POINTER
;
/* for more details see ItemMonikerImpl_Save coments */
/* for more details see ItemMonikerImpl_Save com
m
ents */
pcbSize
->
u
.
LowPart
=
sizeof
(
DWORD
)
+
/* DWORD which contains delimiter length */
delimiterLength
*
4
+
/* item delimiter string */
...
...
@@ -400,7 +400,7 @@ static HRESULT WINAPI ItemMonikerImpl_Construct(ItemMonikerImpl* This, LPCOLESTR
TRACE
(
"(%p,%s,%s)
\n
"
,
This
,
debugstr_w
(
lpszDelim
),
debugstr_w
(
lpszItem
));
/* Initialize the virtual f
g
unction table. */
/* Initialize the virtual function table. */
This
->
lpvtbl1
=
&
VT_ItemMonikerImpl
;
This
->
lpvtbl2
=
&
VT_ROTDataImpl
;
This
->
ref
=
0
;
...
...
dlls/ole32/moniker.c
View file @
1b24da3a
...
...
@@ -1220,9 +1220,9 @@ HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid)
return
res
;
}
/*
if the file is not a storage object then attemps
to match various bits in the file against a
pattern in the registry.
this case is not frequently used !
so I present only the psodocode for
this case
/*
If the file is not a storage object then attempt
to match various bits in the file against a
pattern in the registry.
This case is not frequently used,
so I present only the psodocode for
this case
.
for(i=0;i<nFileTypes;i++)
...
...
@@ -1249,7 +1249,7 @@ HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid)
nbElm
=
FileMonikerImpl_DecomposePath
(
filePathName
,
&
pathDec
);
absFile
=
pathDec
[
nbElm
-
1
];
/* failed if the path represent
e
a directory and not an absolute file name*/
/* failed if the path represent
s
a directory and not an absolute file name*/
if
(
!
lstrcmpW
(
absFile
,
bkslashW
))
return
MK_E_INVALIDEXTENSION
;
...
...
dlls/ole32/ole16.c
View file @
1b24da3a
...
...
@@ -409,7 +409,7 @@ HRESULT WINAPI StringFromCLSID16(
*/
HRESULT
WINAPI
ProgIDFromCLSID16
(
REFCLSID
clsid
,
/* [in] class id as found in registry */
LPOLESTR16
*
lplpszProgID
/* [out] associated Prog ID */
LPOLESTR16
*
lplpszProgID
/* [out] associated Prog
ram
ID */
)
{
static
const
WCHAR
wszProgID
[]
=
{
'P'
,
'r'
,
'o'
,
'g'
,
'I'
,
'D'
,
0
};
HKEY
hkey
;
...
...
dlls/ole32/pointermoniker.c
View file @
1b24da3a
...
...
@@ -542,7 +542,7 @@ static void PointerMonikerImpl_Construct(PointerMonikerImpl* This, IUnknown *pun
{
TRACE
(
"(%p)
\n
"
,
This
);
/* Initialize the virtual f
g
unction table. */
/* Initialize the virtual function table. */
This
->
lpvtbl
=
&
VT_PointerMonikerImpl
;
This
->
ref
=
1
;
if
(
punk
)
...
...
dlls/ole32/rpc.c
View file @
1b24da3a
...
...
@@ -812,8 +812,8 @@ static HRESULT WINAPI ClientRpcChannelBuffer_SendReceive(LPRPCCHANNELBUFFER ifac
wine_dbgstr_longlong
(
This
->
oxid
));
return
RPC_E_WRONG_THREAD
;
}
/*
t
his situation should be impossible in multi-threaded apartments,
* because the calling thread isn't re-entrable.
/*
T
his situation should be impossible in multi-threaded apartments,
* because the calling thread isn't re-ent
e
rable.
* Note: doing a COM call during the processing of a sent message is
* only disallowed if a client call is already being waited for
* completion */
...
...
@@ -1172,7 +1172,7 @@ static HRESULT unmarshal_ORPC_EXTENT_ARRAY(RPC_MESSAGE *msg, const char *end,
msg
->
Buffer
=
(
char
*
)
msg
->
Buffer
+
sizeof
(
DWORD
);
/* arb
rit
ary limit for security (don't know what native does) */
/* arb
itr
ary limit for security (don't know what native does) */
if
(
extensions
->
size
>
256
)
{
ERR
(
"too many extensions: %ld
\n
"
,
extensions
->
size
);
...
...
dlls/ole32/stg_prop.c
View file @
1b24da3a
...
...
@@ -2025,7 +2025,7 @@ static HRESULT PropertyStorage_ConstructEmpty(IStream *stm,
ps
->
grfFlags
=
grfFlags
;
if
(
ps
->
grfFlags
&
PROPSETFLAG_CASE_SENSITIVE
)
ps
->
format
=
1
;
/* default to Unicode unless told not to, as specified
here on mds
n */
/* default to Unicode unless told not to, as specified
on msd
n */
if
(
ps
->
grfFlags
&
PROPSETFLAG_ANSI
)
ps
->
codePage
=
GetACP
();
else
...
...
dlls/ole32/storage.c
View file @
1b24da3a
...
...
@@ -304,7 +304,7 @@ static void _create_istream16(LPSTREAM16 *str);
* directory searches while not using a more efficient file
* block locating system than FAT (seedling/sapling/tree
* would result in a massive improvement - in fact we have
* an alternative to
DocF
iles that we use internally that
* an alternative to
docf
iles that we use internally that
* uses seedling/sapling/tree and *is* far more efficient).
*
* It is worth noting that the MS implementation of red-black
...
...
dlls/ole32/storage32.c
View file @
1b24da3a
...
...
@@ -121,7 +121,7 @@ typedef struct
DWORD
dwOleObjFileNameLength
;
DWORD
dwMetaFileWidth
;
DWORD
dwMetaFileHeight
;
CHAR
strUnknown
[
8
];
/* don't know what
is this 8 byts information in OLE stream
. */
CHAR
strUnknown
[
8
];
/* don't know what
this 8 byte information in OLE stream is
. */
DWORD
dwDataLength
;
BYTE
*
pData
;
}
OLECONVERT_OLESTREAM_DATA
;
...
...
@@ -142,7 +142,7 @@ typedef struct
}
OLECONVERT_ISTORAGE_COMPOBJ
;
/* Ole Presention Stream structure */
/* Ole Present
at
ion Stream structure */
/* Used for OleConvertIStorageToOLESTREAM and OleConvertOLESTREAMToIStorage */
typedef
struct
{
...
...
@@ -263,7 +263,7 @@ static ULONG BLOCK_GetBigBlockOffset(ULONG index)
}
/************************************************************************
** Storage32BaseImpl implementati
i
on
** Storage32BaseImpl implementation
*/
static
HRESULT
StorageImpl_ReadAt
(
StorageImpl
*
This
,
ULARGE_INTEGER
offset
,
...
...
@@ -659,7 +659,7 @@ end:
* Storage32BaseImpl_EnumElements (IStorage)
*
* This method will create an enumerator object that can be used to
* retrieve informati
no
about all the properties in the storage object.
* retrieve informati
on
about all the properties in the storage object.
*
* See Windows documentation for more details on IStorage methods.
*/
...
...
@@ -1410,12 +1410,12 @@ static ULONG getFreeProperty(
*
* Internal Method
*
* Case insensitive compar
a
ison of StgProperty.name by first considering
* Case insensitive comparison of StgProperty.name by first considering
* their size.
*
* Returns <0 when newPr
po
erty < currentProperty
* >0 when newPr
po
erty > currentProperty
* 0 when newPr
po
erty == currentProperty
* Returns <0 when newPr
op
erty < currentProperty
* >0 when newPr
op
erty > currentProperty
* 0 when newPr
op
erty == currentProperty
*/
static
LONG
propertyNameCmp
(
const
OLECHAR
*
newProperty
,
...
...
@@ -6574,7 +6574,7 @@ static DWORD GetCreationModeFromSTGM(DWORD stgm)
* RETURNS
* Success: S_OK
* Failure: CONVERT10_E_OLESTREAM_GET for invalid Get
* CONVERT10_E_OLESTREAM_FMT if the OLEID is invalid
e
* CONVERT10_E_OLESTREAM_FMT if the OLEID is invalid
*
* NOTES
* This function is used by OleConvertOLESTREAMToIStorage only.
...
...
@@ -6694,7 +6694,7 @@ static HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM
}
}
if
(
hRes
==
S_OK
)
/* I don't know what
is this 8 byts information is w
e have to figure out */
if
(
hRes
==
S_OK
)
/* I don't know what
this 8 byte information is. W
e have to figure out */
{
if
(
!
bStrem1
)
/* if it is a second OLE stream data */
{
...
...
@@ -7649,7 +7649,7 @@ static void OLECONVERT_GetOle20PresData(LPSTORAGE pStorage, OLECONVERT_OLESTREAM
* Read info on MSDN
*
* TODO
* DVTARGETDEVICE parame
n
ter is not handled
* DVTARGETDEVICE parameter is not handled
* Still unsure of some mem fields for OLE 10 Stream
* Still some unknowns for the IStorage: "\002OlePres000", "\001CompObj",
* and "\001OLE" streams
...
...
dlls/ole32/storage32.h
View file @
1b24da3a
...
...
@@ -374,7 +374,7 @@ struct StgStreamImpl
/*
* The information in the stream is represented by a chain of small blocks
* or a chain of large blocks. Depending on the case, one of the two
* following variable
d
points to that information.
* following variable
s
points to that information.
*/
BlockChainStream
*
bigBlockChain
;
SmallBlockChainStream
*
smallBlockChain
;
...
...
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