winnt-fixes-20001106
authorMichael Nelson <mikenel@iapetus.com>
Mon, 6 Nov 2000 15:48:48 +0000 (15:48 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 6 Nov 2000 15:48:48 +0000 (15:48 +0000)
WinNT build fixes

src/WINNT/afsadmsvr/ITaAfsAdmSvrTypes.idl
src/WINNT/afsapplib/fastlist.cpp
src/WINNT/afsclass/c_svc.h
src/WINNT/afsclass/worker.cpp
src/config/NTMakefile.i386_nt40

index b762e1c..e73db4a 100644 (file)
@@ -209,7 +209,7 @@ typedef enum {
    SERVICETYPE_SIMPLE,
    SERVICETYPE_FS,
    SERVICETYPE_CRON
-} SERVICETYPE;
+} AFSSERVICETYPE;
 cpp_quote ("#endif // AFSCLASS_H")
 
 cpp_quote ("#ifndef AFSCLASS_H")
@@ -222,7 +222,7 @@ typedef enum {
 cpp_quote ("#endif // AFSCLASS_H")
 
 typedef struct {
-   SERVICETYPE ServiceType;
+   AFSSERVICETYPE ServiceType;
    SERVICESTATE ServiceState;
    STRING szAuxStatus;
    STRING szParams;
index db42c44..ec0fe7c 100644 (file)
@@ -4227,6 +4227,8 @@ LPFASTLIST GetFastList (HWND hList)
 {
    LPFASTLIST pfl;
    try {
+      if (!GetWindowLong (hList, 0))
+         pfl = NULL; else
       if ((pfl = (LPFASTLIST)GetWindowLong (hList, 0))->dwSig != dwSigFASTLIST)
          pfl = NULL;
       else if (pfl->hList != hList)
index 71af064..db703e2 100644 (file)
@@ -23,7 +23,7 @@ typedef enum
    SERVICETYPE_SIMPLE,
    SERVICETYPE_FS,
    SERVICETYPE_CRON
-   } SERVICETYPE;
+   } AFSSERVICETYPE;
 
 typedef enum
    {
@@ -44,7 +44,7 @@ typedef struct
    ULONG nStarts;
    ULONG dwErrLast;
    ULONG dwSigLast;
-   SERVICETYPE type;
+   AFSSERVICETYPE type;
    SERVICESTATE state;
    } SERVICESTATUS, *LPSERVICESTATUS;
 
index 69e0d9c..7ab8a6c 100644 (file)
@@ -26,13 +26,21 @@ extern "C" {
  *
  */
 
+#if 0
 static LPCTSTR cszAFSVOSDLL = TCHAR("AfsVosAdmin.dll");
 static LPCTSTR cszAFSBOSDLL = TCHAR("AfsBosAdmin.dll");
 static LPCTSTR cszAFSKASDLL = TCHAR("AfsKasAdmin.dll");
 static LPCTSTR cszAFSPTSDLL = TCHAR("AfsPtsAdmin.dll");
 static LPCTSTR cszAFSUTILDLL = TCHAR("AfsAdminUtil.dll");
 static LPCTSTR cszAFSCLIENTDLL = TCHAR("AfsClientAdmin.dll");
-
+#else
+static LPCTSTR cszAFSVOSDLL = __T("AfsVosAdmin.dll");
+static LPCTSTR cszAFSBOSDLL = __T("AfsBosAdmin.dll");
+static LPCTSTR cszAFSKASDLL = __T("AfsKasAdmin.dll");
+static LPCTSTR cszAFSPTSDLL = __T("AfsPtsAdmin.dll");
+static LPCTSTR cszAFSUTILDLL = __T("AfsAdminUtil.dll");
+static LPCTSTR cszAFSCLIENTDLL = __T("AfsClientAdmin.dll");
+#endif
 
 /*
  * VARIABLES __________________________________________________________________
index 638eb72..c7707a5 100644 (file)
@@ -144,7 +144,8 @@ afscdefs =\
        -I$(DESTDIR)\include\afs \
        -I$(DESTDIR)\include\rx \
        -DWIN32_LEAN_AND_MEAN \
-       -DSTRICT
+       -DSTRICT \
+       -D_WIN32_IE=0x0400
 
 afscdefs = $(afscdefs) $(AFSDEV_AUXCDEFINES)