5 * Created by Magnus Olsen
7 * THIS SOFTWARE IS NOT COPYRIGHTED
9 * This source code is offered for use in the public domain. You may
10 * use, modify or distribute it freely.
12 * This code is distributed in the hope that it will be useful but
13 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
14 * DISCLAIMED. This includes but is not limited to warranties of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
31 #define COM_NO_WINDOWS_H
37 DEFINE_GUID(IID_IUnknown
, 0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
38 #if defined(__cplusplus) && _MSC_VER >= 1100
39 struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown
;
43 #define INTERFACE IUnknown
44 DECLARE_INTERFACE(IUnknown
)
46 STDMETHOD(QueryInterface
)
52 STDMETHOD_(ULONG
,AddRef
)
56 STDMETHOD_(ULONG
,Release
)
62 typedef IUnknown
*PUNKNOWN
;
65 (NTAPI
*PFNCREATEINSTANCE
)
67 OUT PUNKNOWN
* Unknown
,
69 IN PUNKNOWN OuterUnknown
,
73 #endif /* _UNKNOWN_H_ */