ReactOS  0.4.14-dev-583-g2a1ba2c
punknown.h File Reference
#include <wdm.h>
#include <windef.h>
#include <basetyps.h>
Include dependency graph for punknown.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define COM_NO_WINDOWS_H
 
#define __IUnknown_INTERFACE_DEFINED__
 
#define INTERFACE   IUnknown
 
#define DEFINE_ABSTRACT_UNKNOWN()
 

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, 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x46)
 
 DECLARE_INTERFACE (IUnknown)
 

Macro Definition Documentation

◆ __IUnknown_INTERFACE_DEFINED__

#define __IUnknown_INTERFACE_DEFINED__

Definition at line 32 of file punknown.h.

◆ COM_NO_WINDOWS_H

#define COM_NO_WINDOWS_H

Definition at line 20 of file punknown.h.

◆ DEFINE_ABSTRACT_UNKNOWN

#define DEFINE_ABSTRACT_UNKNOWN ( )
Value:
REFIID InterfaceId, \
PVOID* Interface) PURE; \
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
IN PVOID IN PVOID IN USHORT IN USHORT IN PINTERFACE Interface
Definition: pci.h:359
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

Definition at line 61 of file punknown.h.

◆ INTERFACE

Definition at line 38 of file punknown.h.

Typedef Documentation

◆ PFNCREATEINSTANCE

typedef HRESULT(NTAPI * PFNCREATEINSTANCE) (_Out_ PUNKNOWN *Unknown, _In_ REFCLSID ClassId, _In_ PUNKNOWN OuterUnknown, _In_ POOL_TYPE PoolType)

Definition at line 75 of file punknown.h.

◆ PUNKNOWN

typedef IUnknown* PUNKNOWN

Definition at line 48 of file punknown.h.

Function Documentation

◆ DECLARE_INTERFACE()

DECLARE_INTERFACE ( IUnknown  )

Definition at line 40 of file punknown.h.

40  {
42  _In_ REFIID,
44 
46 
48 };
#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
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define _COM_Outptr_
Definition: no_sal2.h:14
#define _In_
Definition: no_sal2.h:204
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DEFINE_GUID()

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