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
571bc879
Commit
571bc879
authored
May 20, 2003
by
Ove Kaaven
Committed by
Alexandre Julliard
May 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix. Better debug messages (display IID of interface to
marshal).
parent
3421d52a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
ndr_ole.c
dlls/rpcrt4/ndr_ole.c
+15
-13
No files found.
dlls/rpcrt4/ndr_ole.c
View file @
571bc879
...
...
@@ -46,14 +46,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
static
HMODULE
hOLE
;
static
HRESULT
WINAPI
(
*
COM_GetMarshalSizeMax
)(
ULONG
*
,
REFIID
,
LPUNKNOWN
,
DWORD
,
LPVOID
,
DWORD
);
static
HRESULT
WINAPI
(
*
COM_MarshalInterface
)(
LPSTREAM
,
REFIID
,
LPUNKNOWN
,
DWORD
,
LPVOID
,
DWORD
);
static
HRESULT
WINAPI
(
*
COM_UnmarshalInterface
)(
LPSTREAM
,
REFIID
,
LPVOID
*
);
static
HRESULT
WINAPI
(
*
COM_ReleaseMarshalData
)(
LPSTREAM
);
static
HRESULT
WINAPI
(
*
COM_GetClassObject
)(
REFCLSID
,
DWORD
,
COSERVERINFO
*
,
REFIID
,
LPVOID
*
);
static
HRESULT
WINAPI
(
*
COM_GetPSClsid
)(
REFIID
,
CLSID
*
);
static
LPVOID
WINAPI
(
*
COM_MemAlloc
)(
ULONG
);
static
void
WINAPI
(
*
COM_MemFree
)(
LPVOID
);
static
HRESULT
(
WINAPI
*
COM_GetMarshalSizeMax
)(
ULONG
*
,
REFIID
,
LPUNKNOWN
,
DWORD
,
LPVOID
,
DWORD
);
static
HRESULT
(
WINAPI
*
COM_MarshalInterface
)(
LPSTREAM
,
REFIID
,
LPUNKNOWN
,
DWORD
,
LPVOID
,
DWORD
);
static
HRESULT
(
WINAPI
*
COM_UnmarshalInterface
)(
LPSTREAM
,
REFIID
,
LPVOID
*
);
static
HRESULT
(
WINAPI
*
COM_ReleaseMarshalData
)(
LPSTREAM
);
static
HRESULT
(
WINAPI
*
COM_GetClassObject
)(
REFCLSID
,
DWORD
,
COSERVERINFO
*
,
REFIID
,
LPVOID
*
);
static
HRESULT
(
WINAPI
*
COM_GetPSClsid
)(
REFIID
,
CLSID
*
);
static
LPVOID
(
WINAPI
*
COM_MemAlloc
)(
ULONG
);
static
void
(
WINAPI
*
COM_MemFree
)(
LPVOID
);
static
HMODULE
LoadCOM
(
void
)
{
...
...
@@ -220,12 +220,14 @@ const IID* get_ip_iid(PMIDL_STUB_MESSAGE pStubMsg, unsigned char *pMemory, PFORM
if
(
!
pFormat
)
return
&
IID_IUnknown
;
TRACE
(
"format=%02x %02x
\n
"
,
pFormat
[
0
],
pFormat
[
1
]);
if
(
pFormat
[
0
]
!=
RPC_FC_IP
)
FIXME
(
"format=%d
\n
"
,
pFormat
[
0
]);
if
(
pFormat
[
1
]
==
RPC_FC_CONSTANT_IID
)
return
(
const
IID
*
)
&
pFormat
[
2
];
ComputeConformance
(
pStubMsg
,
pMemory
,
pFormat
+
2
,
0
);
riid
=
(
const
IID
*
)
pStubMsg
->
MaxCount
;
if
(
pFormat
[
1
]
==
RPC_FC_CONSTANT_IID
)
{
riid
=
(
const
IID
*
)
&
pFormat
[
2
];
}
else
{
ComputeConformance
(
pStubMsg
,
pMemory
,
pFormat
+
2
,
0
);
riid
=
(
const
IID
*
)
pStubMsg
->
MaxCount
;
}
if
(
!
riid
)
riid
=
&
IID_IUnknown
;
TRACE
(
"got %s
\n
"
,
debugstr_guid
(
riid
));
return
riid
;
}
...
...
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