mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
rpcss: Initialise some out-only parameters that aren't initialised by the generated RPC code.
This commit is contained in:
parent
872188c1d8
commit
8b8795136d
@ -240,6 +240,8 @@ HRESULT IrotGetObject(
|
|||||||
|
|
||||||
WINE_TRACE("%p\n", moniker_data);
|
WINE_TRACE("%p\n", moniker_data);
|
||||||
|
|
||||||
|
*cookie = 0;
|
||||||
|
|
||||||
EnterCriticalSection(&csRunningObjectTable);
|
EnterCriticalSection(&csRunningObjectTable);
|
||||||
|
|
||||||
LIST_FOR_EACH_ENTRY(rot_entry, &RunningObjectTable, const struct rot_entry, entry)
|
LIST_FOR_EACH_ENTRY(rot_entry, &RunningObjectTable, const struct rot_entry, entry)
|
||||||
@ -304,6 +306,8 @@ HRESULT IrotGetTimeOfLastChange(
|
|||||||
|
|
||||||
WINE_TRACE("%p\n", moniker_data);
|
WINE_TRACE("%p\n", moniker_data);
|
||||||
|
|
||||||
|
memset(time, 0, sizeof(*time));
|
||||||
|
|
||||||
EnterCriticalSection(&csRunningObjectTable);
|
EnterCriticalSection(&csRunningObjectTable);
|
||||||
LIST_FOR_EACH_ENTRY(rot_entry, &RunningObjectTable, const struct rot_entry, entry)
|
LIST_FOR_EACH_ENTRY(rot_entry, &RunningObjectTable, const struct rot_entry, entry)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user