mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 06:57:08 +00:00
[MSDVBNP]
- Fix crash when instantiating the filter with graphedt svn path=/trunk/; revision=45749
This commit is contained in:
parent
97ba4cfa7e
commit
f374476e03
|
@ -75,6 +75,8 @@ CNetworkProvider::QueryInterface(
|
|||
IN REFIID refiid,
|
||||
OUT PVOID* Output)
|
||||
{
|
||||
*Output = NULL;
|
||||
|
||||
if (IsEqualGUID(refiid, IID_IUnknown))
|
||||
{
|
||||
*Output = PVOID(this);
|
||||
|
@ -359,7 +361,7 @@ CNetworkProvider_fnConstructor(
|
|||
WCHAR Buffer[MAX_PATH];
|
||||
LPOLESTR lpstr;
|
||||
StringFromCLSID(riid, &lpstr);
|
||||
swprintf(Buffer, L"CNetworkProvider_fnConstructor riid %s pUnknown %p", lpstr, pUnknown);
|
||||
swprintf(Buffer, L"CNetworkProvider_fnConstructor riid %s pUnknown %p\n", lpstr, pUnknown);
|
||||
OutputDebugStringW(Buffer);
|
||||
#endif
|
||||
|
||||
|
@ -372,6 +374,5 @@ CNetworkProvider_fnConstructor(
|
|||
delete handler;
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
OutputDebugStringW(L"CNetworkProvider_fnConstructor Success");
|
||||
return NOERROR;
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
const GUID KSDATAFORMAT_TYPE_BDA_ANTENNA = {0x71985f41, 0x1ca1, 0x11d3, {0x9c, 0xc8, 0x0, 0xc0, 0x4f, 0x79, 0x71, 0xe0}};
|
||||
const GUID GUID_NULL = {0x00000000L, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}};
|
||||
|
||||
class CPin : public IPin
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue