[DDK]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 3 Aug 2013 13:36:55 +0000 (13:36 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 3 Aug 2013 13:36:55 +0000 (13:36 +0000)
* Annotate punknown.h.

svn path=/trunk/; revision=59625

reactos/include/ddk/punknown.h

index 29dae3c..3eb70e7 100644 (file)
@@ -39,8 +39,8 @@ DEFINE_GUID(IID_IUnknown,
 
 DECLARE_INTERFACE(IUnknown) {
   STDMETHOD_(NTSTATUS, QueryInterface)( THIS_
-    IN  REFIID,
-    OUT PVOID*) PURE;
+    _In_ REFIID,
+    _COM_Outptr_ PVOID*) PURE;
 
   STDMETHOD_(ULONG, AddRef)( THIS ) PURE;
 
@@ -73,9 +73,9 @@ typedef IUnknown *PUNKNOWN;
 
 typedef HRESULT
 (NTAPI *PFNCREATEINSTANCE)(
-  OUT PUNKNOWN* Unknown,
-  IN REFCLSID ClassId,
-  IN PUNKNOWN OuterUnknown,
-  IN POOL_TYPE PoolType);
+  _Out_ PUNKNOWN* Unknown,
+  _In_ REFCLSID ClassId,
+  _In_ PUNKNOWN OuterUnknown,
+  _In_ POOL_TYPE PoolType);
 
 #endif /* _UNKNOWN_H_ */