Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cdc03fa9
Commit
cdc03fa9
authored
Dec 19, 2013
by
Daniel Lehman
Committed by
Alexandre Julliard
Mar 05, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Make some COM functions hot-patchable.
parent
049f08f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
compobj.c
dlls/ole32/compobj.c
+6
-6
No files found.
dlls/ole32/compobj.c
View file @
cdc03fa9
...
@@ -2369,7 +2369,7 @@ HRESULT COM_OpenKeyForAppIdFromCLSID(REFCLSID clsid, REGSAM access, HKEY *subkey
...
@@ -2369,7 +2369,7 @@ HRESULT COM_OpenKeyForAppIdFromCLSID(REFCLSID clsid, REGSAM access, HKEY *subkey
* E_OUTOFMEMORY
* E_OUTOFMEMORY
* REGDB_E_CLASSNOTREG if the given clsid has no associated ProgID
* REGDB_E_CLASSNOTREG if the given clsid has no associated ProgID
*/
*/
HRESULT
WINAPI
ProgIDFromCLSID
(
REFCLSID
clsid
,
LPOLESTR
*
ppszProgID
)
HRESULT
WINAPI
DECLSPEC_HOTPATCH
ProgIDFromCLSID
(
REFCLSID
clsid
,
LPOLESTR
*
ppszProgID
)
{
{
static
const
WCHAR
wszProgID
[]
=
{
'P'
,
'r'
,
'o'
,
'g'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
wszProgID
[]
=
{
'P'
,
'r'
,
'o'
,
'g'
,
'I'
,
'D'
,
0
};
ACTCTX_SECTION_KEYED_DATA
data
;
ACTCTX_SECTION_KEYED_DATA
data
;
...
@@ -2441,7 +2441,7 @@ HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *ppszProgID)
...
@@ -2441,7 +2441,7 @@ HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *ppszProgID)
* Success: S_OK
* Success: S_OK
* Failure: CO_E_CLASSSTRING - the given ProgID cannot be found.
* Failure: CO_E_CLASSSTRING - the given ProgID cannot be found.
*/
*/
HRESULT
WINAPI
CLSIDFromProgID
(
LPCOLESTR
progid
,
LPCLSID
clsid
)
HRESULT
WINAPI
DECLSPEC_HOTPATCH
CLSIDFromProgID
(
LPCOLESTR
progid
,
LPCLSID
clsid
)
{
{
ACTCTX_SECTION_KEYED_DATA
data
;
ACTCTX_SECTION_KEYED_DATA
data
;
...
@@ -2921,7 +2921,7 @@ static HRESULT get_inproc_class_object(APARTMENT *apt, const struct class_reg_da
...
@@ -2921,7 +2921,7 @@ static HRESULT get_inproc_class_object(APARTMENT *apt, const struct class_reg_da
* SEE ALSO
* SEE ALSO
* CoCreateInstance()
* CoCreateInstance()
*/
*/
HRESULT
WINAPI
CoGetClassObject
(
HRESULT
WINAPI
DECLSPEC_HOTPATCH
CoGetClassObject
(
REFCLSID
rclsid
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
REFCLSID
rclsid
,
DWORD
dwClsContext
,
COSERVERINFO
*
pServerInfo
,
REFIID
iid
,
LPVOID
*
ppv
)
REFIID
iid
,
LPVOID
*
ppv
)
{
{
...
@@ -3254,7 +3254,7 @@ static HRESULT return_multi_qi(IUnknown *unk, DWORD count, MULTI_QI *mqi)
...
@@ -3254,7 +3254,7 @@ static HRESULT return_multi_qi(IUnknown *unk, DWORD count, MULTI_QI *mqi)
/***********************************************************************
/***********************************************************************
* CoCreateInstanceEx [OLE32.@]
* CoCreateInstanceEx [OLE32.@]
*/
*/
HRESULT
WINAPI
CoCreateInstanceEx
(
HRESULT
WINAPI
DECLSPEC_HOTPATCH
CoCreateInstanceEx
(
REFCLSID
rclsid
,
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
LPUNKNOWN
pUnkOuter
,
DWORD
dwClsContext
,
DWORD
dwClsContext
,
...
@@ -3493,7 +3493,7 @@ void WINAPI CoFreeAllLibraries(void)
...
@@ -3493,7 +3493,7 @@ void WINAPI CoFreeAllLibraries(void)
* SEE ALSO
* SEE ALSO
* CoLoadLibrary, CoFreeAllLibraries, CoFreeLibrary
* CoLoadLibrary, CoFreeAllLibraries, CoFreeLibrary
*/
*/
void
WINAPI
CoFreeUnusedLibrariesEx
(
DWORD
dwUnloadDelay
,
DWORD
dwReserved
)
void
WINAPI
DECLSPEC_HOTPATCH
CoFreeUnusedLibrariesEx
(
DWORD
dwUnloadDelay
,
DWORD
dwReserved
)
{
{
struct
apartment
*
apt
=
COM_CurrentApt
();
struct
apartment
*
apt
=
COM_CurrentApt
();
if
(
!
apt
)
if
(
!
apt
)
...
@@ -3517,7 +3517,7 @@ void WINAPI CoFreeUnusedLibrariesEx(DWORD dwUnloadDelay, DWORD dwReserved)
...
@@ -3517,7 +3517,7 @@ void WINAPI CoFreeUnusedLibrariesEx(DWORD dwUnloadDelay, DWORD dwReserved)
* SEE ALSO
* SEE ALSO
* CoLoadLibrary, CoFreeAllLibraries, CoFreeLibrary
* CoLoadLibrary, CoFreeAllLibraries, CoFreeLibrary
*/
*/
void
WINAPI
CoFreeUnusedLibraries
(
void
)
void
WINAPI
DECLSPEC_HOTPATCH
CoFreeUnusedLibraries
(
void
)
{
{
CoFreeUnusedLibrariesEx
(
INFINITE
,
0
);
CoFreeUnusedLibrariesEx
(
INFINITE
,
0
);
}
}
...
...
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