ReactOS  0.4.14-dev-317-g96040ec
unknown.h File Reference
#include <wdm.h>
#include <windef.h>
#include <basetyps.h>
Include dependency graph for unknown.h:

Go to the source code of this file.

Macros

#define COM_NO_WINDOWS_H
 
#define INTERFACE   IUnknown
 

Typedefs

typedef IUnknownPUNKNOWN
 
typedef HRESULT(NTAPIPFNCREATEINSTANCE) (OUT PUNKNOWN *Unknown, IN REFCLSID ClassId, IN PUNKNOWN OuterUnknown, IN POOL_TYPE PoolType)
 

Functions

 DEFINE_GUID (IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46)
 
 DECLARE_INTERFACE (IUnknown)
 

Macro Definition Documentation

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 31 of file unknown.h.

◆ INTERFACE

Definition at line 43 of file unknown.h.

Typedef Documentation

◆ PFNCREATEINSTANCE

typedef HRESULT(NTAPI * PFNCREATEINSTANCE) (OUT PUNKNOWN *Unknown, IN REFCLSID ClassId, IN PUNKNOWN OuterUnknown, IN POOL_TYPE PoolType)

Definition at line 66 of file unknown.h.

◆ PUNKNOWN

typedef IUnknown* PUNKNOWN

Definition at line 59 of file unknown.h.

Function Documentation

◆ DECLARE_INTERFACE()

DECLARE_INTERFACE ( IUnknown  )

Definition at line 44 of file unknown.h.

45 {
47  ( THIS_
48  IN REFIID,
49  OUT PVOID *
50  ) PURE;
51 
53  ( THIS
54  ) PURE;
55 
57  ( THIS
58  ) PURE;
59 };
#define IN
Definition: typedefs.h:38
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
#define OUT
Definition: typedefs.h:39
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DEFINE_GUID()

DEFINE_GUID ( IID_IUnknown  ,
0x00000000  ,
0x0000  ,
0x0000  ,
0xC0  ,
0x00  ,
0x00  ,
0x00  ,
0x00  ,
0x00  ,
0x00  ,
0x46   
)