mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 06:09:58 +00:00
29fa274d6d
- TSVN choked repeatedly when attempting to merge ~9000 revs into the branch (tried 3 times on 2 different computers) - If someone wants to delete aicom-network-fixes, they are welcome to - Lesson learned: Letting a branch get thousands of revs out of date is a horrible idea svn path=/branches/aicom-network-branch/; revision=44353
56 lines
992 B
C
56 lines
992 B
C
#ifndef __unknwn_h__
|
|
#define __unknwn_h__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#include <wdm.h>
|
|
}
|
|
#else
|
|
#include <wdm.h>
|
|
#endif
|
|
|
|
#include <windef.h>
|
|
#define COM_NO_WINDOWS_H
|
|
#include <basetyps.h>
|
|
#ifdef PUT_GUIDS_HERE
|
|
#include <initguid.h>
|
|
#endif
|
|
|
|
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
|
|
#if defined(__cplusplus) && _MSC_VER >= 1100
|
|
struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown;
|
|
#endif
|
|
|
|
#undef INTERFACE
|
|
#define INTERFACE IUnknown
|
|
DECLARE_INTERFACE(IUnknown)
|
|
{
|
|
STDMETHOD(QueryInterface)
|
|
( THIS_
|
|
IN REFIID,
|
|
OUT PVOID *
|
|
) PURE;
|
|
|
|
STDMETHOD_(ULONG,AddRef)
|
|
( THIS
|
|
) PURE;
|
|
|
|
STDMETHOD_(ULONG,Release)
|
|
( THIS
|
|
) PURE;
|
|
};
|
|
#undef INTERFACE
|
|
|
|
typedef IUnknown *PUNKNOWN;
|
|
typedef
|
|
HRESULT
|
|
(NTAPI *PFNCREATEINSTANCE)
|
|
(
|
|
OUT PUNKNOWN * Unknown,
|
|
IN REFCLSID ClassId,
|
|
IN PUNKNOWN OuterUnknown,
|
|
IN POOL_TYPE PoolType
|
|
);
|
|
|
|
#endif
|
|
|