ReactOS 0.4.16-dev-336-gb667d82
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, \
\
STDMETHOD_(ULONG, AddRef)(THIS) PURE; \
\
STDMETHOD_(ULONG, Release)(THIS) PURE;
LONG NTSTATUS
Definition: precomp.h:26
#define PURE
Definition: basetyps.h:64
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
_In_ BOOLEAN Release
Definition: cdrom.h:920
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface
Definition: wdffdo.h:465

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 74 of file punknown.h.

◆ PUNKNOWN

typedef IUnknown* PUNKNOWN

Definition at line 54 of file punknown.h.

Function Documentation

◆ DECLARE_INTERFACE()

DECLARE_INTERFACE ( IUnknown  )

Definition at line 40 of file punknown.h.

40 {
44
46
48};
#define THIS_
Definition: basetyps.h:65
#define _COM_Outptr_
Definition: no_sal2.h:278
#define _In_
Definition: no_sal2.h:158
#define REFIID
Definition: guiddef.h:118

◆ DEFINE_GUID()

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