[WIN32K]
[reactos.git] / reactos / win32ss / user / ntuser / class.c
index a71b889..9a980ce 100644 (file)
@@ -462,7 +462,7 @@ IntSetClassWndProc(IN OUT PCLS Class,
    // Check if CallProc handle and retrieve previous call proc address and set.
    if (IsCallProcHandle(WndProc))
    {
-      pcpd = UserGetObject(gHandleTable, WndProc, otCallProc);
+      pcpd = UserGetObject(gHandleTable, WndProc, TYPE_CALLPROC);
       if (pcpd) chWndProc = pcpd->pfnClientPrevious;
    }