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
02a5f738
Commit
02a5f738
authored
Jan 18, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Declare some functions static.
parent
e612bd41
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
classmoniker.c
dlls/ole32/classmoniker.c
+1
-1
errorinfo.c
dlls/ole32/errorinfo.c
+1
-1
hglobalstream.c
dlls/ole32/hglobalstream.c
+1
-1
itemmoniker.c
dlls/ole32/itemmoniker.c
+4
-4
memlockbytes.c
dlls/ole32/memlockbytes.c
+5
-5
No files found.
dlls/ole32/classmoniker.c
View file @
02a5f738
...
...
@@ -694,7 +694,7 @@ static const IROTDataVtbl ROTDataVtbl =
/******************************************************************************
* ClassMoniker_Construct (local function)
*******************************************************************************/
HRESULT
WINAPI
ClassMoniker_Construct
(
ClassMoniker
*
This
,
REFCLSID
rclsid
)
static
HRESULT
WINAPI
ClassMoniker_Construct
(
ClassMoniker
*
This
,
REFCLSID
rclsid
)
{
TRACE
(
"(%p,%s)
\n
"
,
This
,
debugstr_guid
(
rclsid
));
...
...
dlls/ole32/errorinfo.c
View file @
02a5f738
...
...
@@ -167,7 +167,7 @@ static inline ErrorInfoImpl *impl_from_ISupportErrorInfo( ISupportErrorInfo *ifa
#define _ICreateErrorInfo_(This) (ICreateErrorInfo*)&(This->lpvtcei)
#define _ISupportErrorInfo_(This) (ISupportErrorInfo*)&(This->lpvtsei)
IErrorInfo
*
IErrorInfoImpl_Constructor
(
void
)
static
IErrorInfo
*
IErrorInfoImpl_Constructor
(
void
)
{
ErrorInfoImpl
*
ei
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
ErrorInfoImpl
));
if
(
ei
)
...
...
dlls/ole32/hglobalstream.c
View file @
02a5f738
...
...
@@ -651,7 +651,7 @@ static const IStreamVtbl HGLOBALStreamImpl_Vtbl =
* fDeleteOnRelease - Flag set to TRUE if the HGLOBAL will be released
* when the IStream object is destroyed.
*/
HGLOBALStreamImpl
*
HGLOBALStreamImpl_Construct
(
static
HGLOBALStreamImpl
*
HGLOBALStreamImpl_Construct
(
HGLOBAL
hGlobal
,
BOOL
fDeleteOnRelease
)
{
...
...
dlls/ole32/itemmoniker.c
View file @
02a5f738
...
...
@@ -97,8 +97,8 @@ static HRESULT WINAPI ItemMonikerImpl_ParseDisplayName(IMoniker* iface,IBindCtx*
static
HRESULT
WINAPI
ItemMonikerImpl_IsSystemMoniker
(
IMoniker
*
iface
,
DWORD
*
pwdMksys
);
/* Local function used by ItemMoniker implementation */
HRESULT
WINAPI
ItemMonikerImpl_Construct
(
ItemMonikerImpl
*
iface
,
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszPathName
);
HRESULT
WINAPI
ItemMonikerImpl_Destroy
(
ItemMonikerImpl
*
iface
);
static
HRESULT
WINAPI
ItemMonikerImpl_Construct
(
ItemMonikerImpl
*
iface
,
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszPathName
);
static
HRESULT
WINAPI
ItemMonikerImpl_Destroy
(
ItemMonikerImpl
*
iface
);
/********************************************************************************/
/* IROTData prototype functions */
...
...
@@ -388,7 +388,7 @@ HRESULT WINAPI ItemMonikerImpl_GetSizeMax(IMoniker* iface,
/******************************************************************************
* ItemMoniker_Construct (local function)
*******************************************************************************/
HRESULT
WINAPI
ItemMonikerImpl_Construct
(
ItemMonikerImpl
*
This
,
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszItem
)
static
HRESULT
WINAPI
ItemMonikerImpl_Construct
(
ItemMonikerImpl
*
This
,
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszItem
)
{
int
sizeStr1
=
lstrlenW
(
lpszItem
),
sizeStr2
;
...
...
@@ -426,7 +426,7 @@ HRESULT WINAPI ItemMonikerImpl_Construct(ItemMonikerImpl* This, LPCOLESTR lpszDe
/******************************************************************************
* ItemMoniker_Destroy (local function)
*******************************************************************************/
HRESULT
WINAPI
ItemMonikerImpl_Destroy
(
ItemMonikerImpl
*
This
)
static
HRESULT
WINAPI
ItemMonikerImpl_Destroy
(
ItemMonikerImpl
*
This
)
{
TRACE
(
"(%p)
\n
"
,
This
);
...
...
dlls/ole32/memlockbytes.c
View file @
02a5f738
...
...
@@ -81,11 +81,11 @@ typedef struct HGLOBALLockBytesImpl HGLOBALLockBytesImpl;
/*
* Method definition for the HGLOBALLockBytesImpl class.
*/
HGLOBALLockBytesImpl
*
HGLOBALLockBytesImpl_Construct
(
static
HGLOBALLockBytesImpl
*
HGLOBALLockBytesImpl_Construct
(
HGLOBAL
hGlobal
,
BOOL
fDeleteOnRelease
);
void
HGLOBALLockBytesImpl_Destroy
(
HGLOBALLockBytesImpl
*
This
);
static
void
HGLOBALLockBytesImpl_Destroy
(
HGLOBALLockBytesImpl
*
This
);
static
HRESULT
WINAPI
HGLOBALLockBytesImpl_SetSize
(
ILockBytes
*
iface
,
ULARGE_INTEGER
libNewSize
);
...
...
@@ -196,8 +196,8 @@ HRESULT WINAPI GetHGlobalFromILockBytes(ILockBytes* plkbyt, HGLOBAL* phglobal)
* fDeleteOnRelease [ I] Flag set to TRUE if the HGLOBAL will be released
* when the IStream object is destroyed.
*/
HGLOBALLockBytesImpl
*
HGLOBALLockBytesImpl_Construct
(
HGLOBAL
hGlobal
,
BOOL
fDeleteOnRelease
)
static
HGLOBALLockBytesImpl
*
HGLOBALLockBytesImpl_Construct
(
HGLOBAL
hGlobal
,
BOOL
fDeleteOnRelease
)
{
HGLOBALLockBytesImpl
*
newLockBytes
;
newLockBytes
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
HGLOBALLockBytesImpl
));
...
...
@@ -244,7 +244,7 @@ HGLOBALLockBytesImpl* HGLOBALLockBytesImpl_Construct(HGLOBAL hGlobal,
* HGLOBALLockBytesImpl class. The pointer passed-in to this function will be
* freed and will not be valid anymore.
*/
void
HGLOBALLockBytesImpl_Destroy
(
HGLOBALLockBytesImpl
*
This
)
static
void
HGLOBALLockBytesImpl_Destroy
(
HGLOBALLockBytesImpl
*
This
)
{
/*
* Release the HGlobal if the constructor asked for that.
...
...
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