sync with trunk (r46275)
[reactos.git] / dll / win32 / crypt32 / crypt32_private.h
index cbdf511..8385bf5 100644 (file)
@@ -405,4 +405,8 @@ void ContextList_Free(struct ContextList *list);
 #define ALIGN_DWORD_PTR(x) (((x) + sizeof(DWORD_PTR) - 1) & ~(sizeof(DWORD_PTR) - 1))
 #define POINTER_ALIGN_DWORD_PTR(p) ((LPVOID)ALIGN_DWORD_PTR((DWORD_PTR)(p)))
 
+/* Check if the OID is a small int
+ */
+#define IS_INTOID(x)    (((ULONG_PTR)(x) >> 16) == 0)
+
 #endif