- Several kernel.spec return type mismatch fixes
- [GS]etSelectorBase Win32s offset support by Ulrich Weigand (thanks v.m. !!)
- Move AppToWine/WineToApp macros as W32S_APP2WINE etc. to ldt.h
- LocalNotify() basic support
- Fixes for local heap handling with heap handles created by Virtual*()

diff --git a/loader/task.c b/loader/task.c
index badfc9d..c18f418 100644
--- a/loader/task.c
+++ b/loader/task.c
@@ -1426,13 +1426,15 @@
 
 /***********************************************************************
  *           GetCurrentPDB   (KERNEL.37)
+ *
+ * UNDOC: returns PSP of KERNEL in high word
  */
-HANDLE16 WINAPI GetCurrentPDB(void)
+DWORD WINAPI GetCurrentPDB(void)
 {
     TDB *pTask;
 
     if (!(pTask = (TDB *)GlobalLock16( GetCurrentTask() ))) return 0;
-    return pTask->hPDB;
+    return MAKELONG(pTask->hPDB, 0); /* FIXME */
 }
 
 
@@ -1596,6 +1598,9 @@
 
 /***********************************************************************
  *           GlobalNotify   (KERNEL.154)
+ *
+ * Note that GlobalNotify does _not_ return the old NotifyProc
+ * -- contrary to LocalNotify !!
  */
 VOID WINAPI GlobalNotify( FARPROC16 proc )
 {