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
5f3e7549
Commit
5f3e7549
authored
Sep 30, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Rename IMultiLanguage3 method implementation functions to match interface name.
parent
ea2b24d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
60 deletions
+60
-60
mlang.c
dlls/mlang/mlang.c
+60
-60
No files found.
dlls/mlang/mlang.c
View file @
5f3e7549
...
...
@@ -2404,7 +2404,7 @@ static inline MLang_impl *impl_from_IMultiLanguage3( IMultiLanguage3 *iface )
return
CONTAINING_RECORD
(
iface
,
MLang_impl
,
IMultiLanguage3_iface
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_QueryInterface
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_QueryInterface
(
IMultiLanguage3
*
iface
,
REFIID
riid
,
void
**
obj
)
...
...
@@ -2447,13 +2447,13 @@ static HRESULT WINAPI fnIMultiLanguage2_QueryInterface(
return
S_OK
;
}
static
ULONG
WINAPI
fnIMultiLanguage
2
_AddRef
(
IMultiLanguage3
*
iface
)
static
ULONG
WINAPI
fnIMultiLanguage
3
_AddRef
(
IMultiLanguage3
*
iface
)
{
MLang_impl
*
This
=
impl_from_IMultiLanguage3
(
iface
);
return
InterlockedIncrement
(
&
This
->
ref
);
}
static
ULONG
WINAPI
fnIMultiLanguage
2
_Release
(
IMultiLanguage3
*
iface
)
static
ULONG
WINAPI
fnIMultiLanguage
3
_Release
(
IMultiLanguage3
*
iface
)
{
MLang_impl
*
This
=
impl_from_IMultiLanguage3
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
...
...
@@ -2468,7 +2468,7 @@ static ULONG WINAPI fnIMultiLanguage2_Release( IMultiLanguage3* iface )
return
ref
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetNumberOfCodePageInfo
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetNumberOfCodePageInfo
(
IMultiLanguage3
*
iface
,
UINT
*
pcCodePage
)
{
...
...
@@ -2521,7 +2521,7 @@ static void fill_cp_info(const struct mlang_data *ml_data, UINT index, MIMECPINF
mime_cp_info
->
bGDICharset
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetCodePageInfo
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetCodePageInfo
(
IMultiLanguage3
*
iface
,
UINT
uiCodePage
,
LANGID
LangId
,
...
...
@@ -2547,7 +2547,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetCodePageInfo(
return
S_FALSE
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetFamilyCodePage
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetFamilyCodePage
(
IMultiLanguage3
*
iface
,
UINT
uiCodePage
,
UINT
*
puiFamilyCodePage
)
...
...
@@ -2555,7 +2555,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetFamilyCodePage(
return
GetFamilyCodePage
(
uiCodePage
,
puiFamilyCodePage
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_EnumCodePages
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_EnumCodePages
(
IMultiLanguage3
*
iface
,
DWORD
grfFlags
,
LANGID
LangId
,
...
...
@@ -2568,7 +2568,7 @@ static HRESULT WINAPI fnIMultiLanguage2_EnumCodePages(
return
EnumCodePage_create
(
This
,
grfFlags
,
LangId
,
ppEnumCodePage
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetCharsetInfo
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetCharsetInfo
(
IMultiLanguage3
*
iface
,
BSTR
Charset
,
PMIMECSETINFO
pCharsetInfo
)
...
...
@@ -2622,7 +2622,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetCharsetInfo(
return
E_FAIL
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_IsConvertible
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_IsConvertible
(
IMultiLanguage3
*
iface
,
DWORD
dwSrcEncoding
,
DWORD
dwDstEncoding
)
...
...
@@ -2630,7 +2630,7 @@ static HRESULT WINAPI fnIMultiLanguage2_IsConvertible(
return
IsConvertINetStringAvailable
(
dwSrcEncoding
,
dwDstEncoding
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ConvertString
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ConvertString
(
IMultiLanguage3
*
iface
,
DWORD
*
pdwMode
,
DWORD
dwSrcEncoding
,
...
...
@@ -2644,7 +2644,7 @@ static HRESULT WINAPI fnIMultiLanguage2_ConvertString(
(
LPCSTR
)
pSrcStr
,
(
LPINT
)
pcSrcSize
,
(
LPSTR
)
pDstStr
,
(
LPINT
)
pcDstSize
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ConvertStringToUnicode
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ConvertStringToUnicode
(
IMultiLanguage3
*
iface
,
DWORD
*
pdwMode
,
DWORD
dwEncoding
,
...
...
@@ -2657,7 +2657,7 @@ static HRESULT WINAPI fnIMultiLanguage2_ConvertStringToUnicode(
pSrcStr
,
(
LPINT
)
pcSrcSize
,
pDstStr
,
(
LPINT
)
pcDstSize
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ConvertStringFromUnicode
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ConvertStringFromUnicode
(
IMultiLanguage3
*
iface
,
DWORD
*
pdwMode
,
DWORD
dwEncoding
,
...
...
@@ -2670,14 +2670,14 @@ static HRESULT WINAPI fnIMultiLanguage2_ConvertStringFromUnicode(
pSrcStr
,
(
LPINT
)
pcSrcSize
,
pDstStr
,
(
LPINT
)
pcDstSize
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ConvertStringReset
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ConvertStringReset
(
IMultiLanguage3
*
iface
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetRfc1766FromLcid
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetRfc1766FromLcid
(
IMultiLanguage3
*
iface
,
LCID
lcid
,
BSTR
*
pbstrRfc1766
)
...
...
@@ -2696,7 +2696,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetRfc1766FromLcid(
return
E_FAIL
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetLcidFromRfc1766
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetLcidFromRfc1766
(
IMultiLanguage3
*
iface
,
LCID
*
pLocale
,
BSTR
bstrRfc1766
)
...
...
@@ -2719,7 +2719,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetLcidFromRfc1766(
return
hr
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_EnumRfc1766
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_EnumRfc1766
(
IMultiLanguage3
*
iface
,
LANGID
LangId
,
IEnumRfc1766
**
ppEnumRfc1766
)
...
...
@@ -2731,7 +2731,7 @@ static HRESULT WINAPI fnIMultiLanguage2_EnumRfc1766(
return
EnumRfc1766_create
(
LangId
,
ppEnumRfc1766
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetRfc1766Info
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetRfc1766Info
(
IMultiLanguage3
*
iface
,
LCID
Locale
,
LANGID
LangId
,
...
...
@@ -2778,7 +2778,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetRfc1766Info(
return
E_INVALIDARG
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_CreateConvertCharset
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_CreateConvertCharset
(
IMultiLanguage3
*
iface
,
UINT
src_cp
,
UINT
dst_cp
,
...
...
@@ -2795,7 +2795,7 @@ static HRESULT WINAPI fnIMultiLanguage2_CreateConvertCharset(
return
IMLangConvertCharset_Initialize
(
*
convert_charset
,
src_cp
,
dst_cp
,
prop
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ConvertStringInIStream
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ConvertStringInIStream
(
IMultiLanguage3
*
iface
,
DWORD
*
pdwMode
,
DWORD
dwFlag
,
...
...
@@ -2843,7 +2843,7 @@ exit:
return
hr
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ConvertStringToUnicodeEx
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ConvertStringToUnicodeEx
(
IMultiLanguage3
*
iface
,
DWORD
*
pdwMode
,
DWORD
dwEncoding
,
...
...
@@ -2880,7 +2880,7 @@ static HRESULT WINAPI fnIMultiLanguage2_ConvertStringToUnicodeEx(
*
* TODO: handle dwFlag and lpFallBack
*/
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ConvertStringFromUnicodeEx
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ConvertStringFromUnicodeEx
(
IMultiLanguage3
*
This
,
DWORD
*
pdwMode
,
DWORD
dwEncoding
,
...
...
@@ -2896,7 +2896,7 @@ static HRESULT WINAPI fnIMultiLanguage2_ConvertStringFromUnicodeEx(
pSrcStr
,
(
LPINT
)
pcSrcSize
,
pDstStr
,
(
LPINT
)
pcDstSize
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_DetectCodepageInIStream
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_DetectCodepageInIStream
(
IMultiLanguage3
*
iface
,
DWORD
dwFlag
,
DWORD
dwPrefWinCodePage
,
...
...
@@ -2908,7 +2908,7 @@ static HRESULT WINAPI fnIMultiLanguage2_DetectCodepageInIStream(
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_DetectInputCodepage
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_DetectInputCodepage
(
IMultiLanguage3
*
iface
,
DWORD
dwFlag
,
DWORD
dwPrefWinCodePage
,
...
...
@@ -2921,7 +2921,7 @@ static HRESULT WINAPI fnIMultiLanguage2_DetectInputCodepage(
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ValidateCodePage
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ValidateCodePage
(
IMultiLanguage3
*
iface
,
UINT
uiCodePage
,
HWND
hwnd
)
...
...
@@ -2929,7 +2929,7 @@ static HRESULT WINAPI fnIMultiLanguage2_ValidateCodePage(
return
IMultiLanguage3_ValidateCodePageEx
(
iface
,
uiCodePage
,
hwnd
,
0
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetCodePageDescription
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetCodePageDescription
(
IMultiLanguage3
*
iface
,
UINT
uiCodePage
,
LCID
lcid
,
...
...
@@ -2957,7 +2957,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetCodePageDescription(
return
S_FALSE
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_IsCodePageInstallable
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_IsCodePageInstallable
(
IMultiLanguage3
*
iface
,
UINT
uiCodePage
)
{
...
...
@@ -2967,7 +2967,7 @@ static HRESULT WINAPI fnIMultiLanguage2_IsCodePageInstallable(
return
IMultiLanguage3_ValidateCodePageEx
(
iface
,
uiCodePage
,
NULL
,
CPIOD_PEEK
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_SetMimeDBSource
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_SetMimeDBSource
(
IMultiLanguage3
*
iface
,
MIMECONTF
dwSource
)
{
...
...
@@ -2975,7 +2975,7 @@ static HRESULT WINAPI fnIMultiLanguage2_SetMimeDBSource(
return
S_OK
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_GetNumberOfScripts
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_GetNumberOfScripts
(
IMultiLanguage3
*
iface
,
UINT
*
pnScripts
)
{
...
...
@@ -2989,7 +2989,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetNumberOfScripts(
return
S_OK
;
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_EnumScripts
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_EnumScripts
(
IMultiLanguage3
*
iface
,
DWORD
dwFlags
,
LANGID
LangId
,
...
...
@@ -3002,7 +3002,7 @@ static HRESULT WINAPI fnIMultiLanguage2_EnumScripts(
return
EnumScript_create
(
This
,
dwFlags
,
LangId
,
ppEnumScript
);
}
static
HRESULT
WINAPI
fnIMultiLanguage
2
_ValidateCodePageEx
(
static
HRESULT
WINAPI
fnIMultiLanguage
3
_ValidateCodePageEx
(
IMultiLanguage3
*
iface
,
UINT
uiCodePage
,
HWND
hwnd
,
...
...
@@ -3073,36 +3073,36 @@ static HRESULT WINAPI fnIMultiLanguage3_DetectOutboundCodePageInIStream(
static
const
IMultiLanguage3Vtbl
IMultiLanguage3_vtbl
=
{
fnIMultiLanguage
2
_QueryInterface
,
fnIMultiLanguage
2
_AddRef
,
fnIMultiLanguage
2
_Release
,
fnIMultiLanguage
2
_GetNumberOfCodePageInfo
,
fnIMultiLanguage
2
_GetCodePageInfo
,
fnIMultiLanguage
2
_GetFamilyCodePage
,
fnIMultiLanguage
2
_EnumCodePages
,
fnIMultiLanguage
2
_GetCharsetInfo
,
fnIMultiLanguage
2
_IsConvertible
,
fnIMultiLanguage
2
_ConvertString
,
fnIMultiLanguage
2
_ConvertStringToUnicode
,
fnIMultiLanguage
2
_ConvertStringFromUnicode
,
fnIMultiLanguage
2
_ConvertStringReset
,
fnIMultiLanguage
2
_GetRfc1766FromLcid
,
fnIMultiLanguage
2
_GetLcidFromRfc1766
,
fnIMultiLanguage
2
_EnumRfc1766
,
fnIMultiLanguage
2
_GetRfc1766Info
,
fnIMultiLanguage
2
_CreateConvertCharset
,
fnIMultiLanguage
2
_ConvertStringInIStream
,
fnIMultiLanguage
2
_ConvertStringToUnicodeEx
,
fnIMultiLanguage
2
_ConvertStringFromUnicodeEx
,
fnIMultiLanguage
2
_DetectCodepageInIStream
,
fnIMultiLanguage
2
_DetectInputCodepage
,
fnIMultiLanguage
2
_ValidateCodePage
,
fnIMultiLanguage
2
_GetCodePageDescription
,
fnIMultiLanguage
2
_IsCodePageInstallable
,
fnIMultiLanguage
2
_SetMimeDBSource
,
fnIMultiLanguage
2
_GetNumberOfScripts
,
fnIMultiLanguage
2
_EnumScripts
,
fnIMultiLanguage
2
_ValidateCodePageEx
,
fnIMultiLanguage
3
_QueryInterface
,
fnIMultiLanguage
3
_AddRef
,
fnIMultiLanguage
3
_Release
,
fnIMultiLanguage
3
_GetNumberOfCodePageInfo
,
fnIMultiLanguage
3
_GetCodePageInfo
,
fnIMultiLanguage
3
_GetFamilyCodePage
,
fnIMultiLanguage
3
_EnumCodePages
,
fnIMultiLanguage
3
_GetCharsetInfo
,
fnIMultiLanguage
3
_IsConvertible
,
fnIMultiLanguage
3
_ConvertString
,
fnIMultiLanguage
3
_ConvertStringToUnicode
,
fnIMultiLanguage
3
_ConvertStringFromUnicode
,
fnIMultiLanguage
3
_ConvertStringReset
,
fnIMultiLanguage
3
_GetRfc1766FromLcid
,
fnIMultiLanguage
3
_GetLcidFromRfc1766
,
fnIMultiLanguage
3
_EnumRfc1766
,
fnIMultiLanguage
3
_GetRfc1766Info
,
fnIMultiLanguage
3
_CreateConvertCharset
,
fnIMultiLanguage
3
_ConvertStringInIStream
,
fnIMultiLanguage
3
_ConvertStringToUnicodeEx
,
fnIMultiLanguage
3
_ConvertStringFromUnicodeEx
,
fnIMultiLanguage
3
_DetectCodepageInIStream
,
fnIMultiLanguage
3
_DetectInputCodepage
,
fnIMultiLanguage
3
_ValidateCodePage
,
fnIMultiLanguage
3
_GetCodePageDescription
,
fnIMultiLanguage
3
_IsCodePageInstallable
,
fnIMultiLanguage
3
_SetMimeDBSource
,
fnIMultiLanguage
3
_GetNumberOfScripts
,
fnIMultiLanguage
3
_EnumScripts
,
fnIMultiLanguage
3
_ValidateCodePageEx
,
fnIMultiLanguage3_DetectOutboundCodePage
,
fnIMultiLanguage3_DetectOutboundCodePageInIStream
};
...
...
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