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
66063ae4
Commit
66063ae4
authored
Nov 25, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Remove WINAPI on static functions where not needed.
parent
d026b74d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
19 deletions
+18
-19
classmoniker.c
dlls/ole32/classmoniker.c
+2
-2
compobj.c
dlls/ole32/compobj.c
+1
-1
errorinfo.c
dlls/ole32/errorinfo.c
+2
-2
filemoniker.c
dlls/ole32/filemoniker.c
+4
-5
itemmoniker.c
dlls/ole32/itemmoniker.c
+4
-4
moniker.c
dlls/ole32/moniker.c
+3
-3
stg_bigblockfile.c
dlls/ole32/stg_bigblockfile.c
+2
-2
No files found.
dlls/ole32/classmoniker.c
View file @
66063ae4
...
@@ -116,7 +116,7 @@ static ULONG WINAPI ClassMoniker_AddRef(IMoniker* iface)
...
@@ -116,7 +116,7 @@ static ULONG WINAPI ClassMoniker_AddRef(IMoniker* iface)
/******************************************************************************
/******************************************************************************
* ClassMoniker_Destroy (local function)
* ClassMoniker_Destroy (local function)
*******************************************************************************/
*******************************************************************************/
static
HRESULT
WINAPI
ClassMoniker_Destroy
(
ClassMoniker
*
This
)
static
HRESULT
ClassMoniker_Destroy
(
ClassMoniker
*
This
)
{
{
TRACE
(
"(%p)
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
...
@@ -693,7 +693,7 @@ static const IROTDataVtbl ROTDataVtbl =
...
@@ -693,7 +693,7 @@ static const IROTDataVtbl ROTDataVtbl =
/******************************************************************************
/******************************************************************************
* ClassMoniker_Construct (local function)
* ClassMoniker_Construct (local function)
*******************************************************************************/
*******************************************************************************/
static
HRESULT
WINAPI
ClassMoniker_Construct
(
ClassMoniker
*
This
,
REFCLSID
rclsid
)
static
HRESULT
ClassMoniker_Construct
(
ClassMoniker
*
This
,
REFCLSID
rclsid
)
{
{
TRACE
(
"(%p,%s)
\n
"
,
This
,
debugstr_guid
(
rclsid
));
TRACE
(
"(%p,%s)
\n
"
,
This
,
debugstr_guid
(
rclsid
));
...
...
dlls/ole32/compobj.c
View file @
66063ae4
...
@@ -1267,7 +1267,7 @@ HRESULT WINAPI CoCreateGuid(GUID *pguid)
...
@@ -1267,7 +1267,7 @@ HRESULT WINAPI CoCreateGuid(GUID *pguid)
* SEE ALSO
* SEE ALSO
* StringFromCLSID
* StringFromCLSID
*/
*/
static
HRESULT
WINAPI
__CLSIDFromString
(
LPCWSTR
s
,
CLSID
*
id
)
static
HRESULT
__CLSIDFromString
(
LPCWSTR
s
,
CLSID
*
id
)
{
{
int
i
;
int
i
;
BYTE
table
[
256
];
BYTE
table
[
256
];
...
...
dlls/ole32/errorinfo.c
View file @
66063ae4
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
WINE_DEFAULT_DEBUG_CHANNEL
(
ole
);
/* this code is from SysAllocStringLen (ole2disp.c in oleaut32) */
/* this code is from SysAllocStringLen (ole2disp.c in oleaut32) */
static
BSTR
WINAPI
ERRORINFO_SysAllocString
(
const
OLECHAR
*
in
)
static
BSTR
ERRORINFO_SysAllocString
(
const
OLECHAR
*
in
)
{
{
DWORD
bufferSize
;
DWORD
bufferSize
;
DWORD
*
newBuffer
;
DWORD
*
newBuffer
;
...
@@ -99,7 +99,7 @@ static BSTR WINAPI ERRORINFO_SysAllocString(const OLECHAR* in)
...
@@ -99,7 +99,7 @@ static BSTR WINAPI ERRORINFO_SysAllocString(const OLECHAR* in)
}
}
/* this code is from SysFreeString (ole2disp.c in oleaut32)*/
/* this code is from SysFreeString (ole2disp.c in oleaut32)*/
static
VOID
WINAPI
ERRORINFO_SysFreeString
(
BSTR
in
)
static
VOID
ERRORINFO_SysFreeString
(
BSTR
in
)
{
{
DWORD
*
bufferPointer
;
DWORD
*
bufferPointer
;
...
...
dlls/ole32/filemoniker.c
View file @
66063ae4
...
@@ -63,8 +63,8 @@ static inline IMoniker *impl_from_IROTData( IROTData *iface )
...
@@ -63,8 +63,8 @@ static inline IMoniker *impl_from_IROTData( IROTData *iface )
}
}
/* Local function used by filemoniker implementation */
/* Local function used by filemoniker implementation */
static
HRESULT
WINAPI
FileMonikerImpl_Construct
(
FileMonikerImpl
*
iface
,
LPCOLESTR
lpszPathName
);
static
HRESULT
FileMonikerImpl_Construct
(
FileMonikerImpl
*
iface
,
LPCOLESTR
lpszPathName
);
static
HRESULT
WINAPI
FileMonikerImpl_Destroy
(
FileMonikerImpl
*
iface
);
static
HRESULT
FileMonikerImpl_Destroy
(
FileMonikerImpl
*
iface
);
/*******************************************************************************
/*******************************************************************************
* FileMoniker_QueryInterface
* FileMoniker_QueryInterface
...
@@ -456,7 +456,7 @@ FileMonikerImpl_GetSizeMax(IMoniker* iface, ULARGE_INTEGER* pcbSize)
...
@@ -456,7 +456,7 @@ FileMonikerImpl_GetSizeMax(IMoniker* iface, ULARGE_INTEGER* pcbSize)
/******************************************************************************
/******************************************************************************
* FileMoniker_Destroy (local function)
* FileMoniker_Destroy (local function)
*******************************************************************************/
*******************************************************************************/
HRESULT
WINAPI
FileMonikerImpl_Destroy
(
FileMonikerImpl
*
This
)
HRESULT
FileMonikerImpl_Destroy
(
FileMonikerImpl
*
This
)
{
{
TRACE
(
"(%p)
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
...
@@ -1333,8 +1333,7 @@ static const IROTDataVtbl VT_ROTDataImpl =
...
@@ -1333,8 +1333,7 @@ static const IROTDataVtbl VT_ROTDataImpl =
/******************************************************************************
/******************************************************************************
* FileMoniker_Construct (local function)
* FileMoniker_Construct (local function)
*/
*/
static
HRESULT
WINAPI
static
HRESULT
FileMonikerImpl_Construct
(
FileMonikerImpl
*
This
,
LPCOLESTR
lpszPathName
)
FileMonikerImpl_Construct
(
FileMonikerImpl
*
This
,
LPCOLESTR
lpszPathName
)
{
{
int
nb
=
0
,
i
;
int
nb
=
0
,
i
;
int
sizeStr
=
lstrlenW
(
lpszPathName
);
int
sizeStr
=
lstrlenW
(
lpszPathName
);
...
...
dlls/ole32/itemmoniker.c
View file @
66063ae4
...
@@ -97,8 +97,8 @@ static HRESULT WINAPI ItemMonikerImpl_ParseDisplayName(IMoniker* iface,IBindCtx*
...
@@ -97,8 +97,8 @@ static HRESULT WINAPI ItemMonikerImpl_ParseDisplayName(IMoniker* iface,IBindCtx*
static
HRESULT
WINAPI
ItemMonikerImpl_IsSystemMoniker
(
IMoniker
*
iface
,
DWORD
*
pwdMksys
);
static
HRESULT
WINAPI
ItemMonikerImpl_IsSystemMoniker
(
IMoniker
*
iface
,
DWORD
*
pwdMksys
);
/* Local function used by ItemMoniker implementation */
/* Local function used by ItemMoniker implementation */
static
HRESULT
WINAPI
ItemMonikerImpl_Construct
(
ItemMonikerImpl
*
iface
,
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszPathName
);
static
HRESULT
ItemMonikerImpl_Construct
(
ItemMonikerImpl
*
iface
,
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszPathName
);
static
HRESULT
WINAPI
ItemMonikerImpl_Destroy
(
ItemMonikerImpl
*
iface
);
static
HRESULT
ItemMonikerImpl_Destroy
(
ItemMonikerImpl
*
iface
);
/********************************************************************************/
/********************************************************************************/
/* IROTData prototype functions */
/* IROTData prototype functions */
...
@@ -391,7 +391,7 @@ HRESULT WINAPI ItemMonikerImpl_GetSizeMax(IMoniker* iface,
...
@@ -391,7 +391,7 @@ HRESULT WINAPI ItemMonikerImpl_GetSizeMax(IMoniker* iface,
/******************************************************************************
/******************************************************************************
* ItemMoniker_Construct (local function)
* ItemMoniker_Construct (local function)
*******************************************************************************/
*******************************************************************************/
static
HRESULT
WINAPI
ItemMonikerImpl_Construct
(
ItemMonikerImpl
*
This
,
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszItem
)
static
HRESULT
ItemMonikerImpl_Construct
(
ItemMonikerImpl
*
This
,
LPCOLESTR
lpszDelim
,
LPCOLESTR
lpszItem
)
{
{
int
sizeStr1
=
lstrlenW
(
lpszItem
),
sizeStr2
;
int
sizeStr1
=
lstrlenW
(
lpszItem
),
sizeStr2
;
...
@@ -429,7 +429,7 @@ static HRESULT WINAPI ItemMonikerImpl_Construct(ItemMonikerImpl* This, LPCOLESTR
...
@@ -429,7 +429,7 @@ static HRESULT WINAPI ItemMonikerImpl_Construct(ItemMonikerImpl* This, LPCOLESTR
/******************************************************************************
/******************************************************************************
* ItemMoniker_Destroy (local function)
* ItemMoniker_Destroy (local function)
*******************************************************************************/
*******************************************************************************/
static
HRESULT
WINAPI
ItemMonikerImpl_Destroy
(
ItemMonikerImpl
*
This
)
static
HRESULT
ItemMonikerImpl_Destroy
(
ItemMonikerImpl
*
This
)
{
{
TRACE
(
"(%p)
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
...
...
dlls/ole32/moniker.c
View file @
66063ae4
...
@@ -93,7 +93,7 @@ typedef struct EnumMonikerImpl
...
@@ -93,7 +93,7 @@ typedef struct EnumMonikerImpl
/* IEnumMoniker Local functions*/
/* IEnumMoniker Local functions*/
static
HRESULT
WINAPI
EnumMonikerImpl_CreateEnumROTMoniker
(
InterfaceList
*
moniker_list
,
static
HRESULT
EnumMonikerImpl_CreateEnumROTMoniker
(
InterfaceList
*
moniker_list
,
ULONG
pos
,
IEnumMoniker
**
ppenumMoniker
);
ULONG
pos
,
IEnumMoniker
**
ppenumMoniker
);
static
IrotHandle
get_irot_handle
(
void
)
static
IrotHandle
get_irot_handle
(
void
)
...
@@ -342,7 +342,7 @@ RunningObjectTableImpl_AddRef(IRunningObjectTable* iface)
...
@@ -342,7 +342,7 @@ RunningObjectTableImpl_AddRef(IRunningObjectTable* iface)
/***********************************************************************
/***********************************************************************
* RunningObjectTable_Initialize
* RunningObjectTable_Initialize
*/
*/
static
HRESULT
WINAPI
static
HRESULT
RunningObjectTableImpl_Destroy
(
void
)
RunningObjectTableImpl_Destroy
(
void
)
{
{
struct
list
*
cursor
,
*
cursor2
;
struct
list
*
cursor
,
*
cursor2
;
...
@@ -1463,7 +1463,7 @@ static const IEnumMonikerVtbl VT_EnumMonikerImpl =
...
@@ -1463,7 +1463,7 @@ static const IEnumMonikerVtbl VT_EnumMonikerImpl =
* Used by EnumRunning to create the structure and EnumClone
* Used by EnumRunning to create the structure and EnumClone
* to copy the structure
* to copy the structure
*/
*/
static
HRESULT
WINAPI
EnumMonikerImpl_CreateEnumROTMoniker
(
InterfaceList
*
moniker_list
,
static
HRESULT
EnumMonikerImpl_CreateEnumROTMoniker
(
InterfaceList
*
moniker_list
,
ULONG
current_pos
,
ULONG
current_pos
,
IEnumMoniker
**
ppenumMoniker
)
IEnumMoniker
**
ppenumMoniker
)
{
{
...
...
dlls/ole32/stg_bigblockfile.c
View file @
66063ae4
...
@@ -725,7 +725,7 @@ static DWORD BIGBLOCKFILE_GetProtectMode(DWORD openFlags)
...
@@ -725,7 +725,7 @@ static DWORD BIGBLOCKFILE_GetProtectMode(DWORD openFlags)
*
*
* See the documentation of ILockBytes for more info.
* See the documentation of ILockBytes for more info.
*/
*/
static
HRESULT
WINAPI
ImplBIGBLOCKFILE_ReadAt
(
static
HRESULT
ImplBIGBLOCKFILE_ReadAt
(
BigBlockFile
*
const
This
,
BigBlockFile
*
const
This
,
ULARGE_INTEGER
ulOffset
,
/* [in] */
ULARGE_INTEGER
ulOffset
,
/* [in] */
void
*
pv
,
/* [length_is][size_is][out] */
void
*
pv
,
/* [length_is][size_is][out] */
...
@@ -812,7 +812,7 @@ static HRESULT WINAPI ImplBIGBLOCKFILE_ReadAt(
...
@@ -812,7 +812,7 @@ static HRESULT WINAPI ImplBIGBLOCKFILE_ReadAt(
*
*
* See the documentation of ILockBytes for more info.
* See the documentation of ILockBytes for more info.
*/
*/
static
HRESULT
WINAPI
ImplBIGBLOCKFILE_WriteAt
(
static
HRESULT
ImplBIGBLOCKFILE_WriteAt
(
BigBlockFile
*
const
This
,
BigBlockFile
*
const
This
,
ULARGE_INTEGER
ulOffset
,
/* [in] */
ULARGE_INTEGER
ulOffset
,
/* [in] */
const
void
*
pv
,
/* [size_is][in] */
const
void
*
pv
,
/* [size_is][in] */
...
...
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