*/
static void afsd_notifier(char *msgp, char *filep, long line)
{
+#ifdef AFSIFS
+ int i;
+#endif
+
if (filep)
LogEvent(EVENTLOG_ERROR_TYPE, MSG_SERVICE_ERROR_STOP_WITH_MSG_AND_LOCATION,
filep, line, msgp);
#endif /* JUMP */
HMODULE hHookDll;
HMODULE hAdvApi32;
+#ifdef AFSIFS
+ int cnt;
+#endif
#ifdef _DEBUG
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF /*| _CRTDBG_CHECK_ALWAYS_DF*/ |
static long
GetIoctlHandle(char *fileNamep, HANDLE * handlep)
{
+#ifndef AFSIFS
char *drivep;
char netbiosName[MAX_NB_NAME_LENGTH];
+#endif
char tbuffer[256]="";
HANDLE fh;
HKEY hk;
long rcount;
long ioCount;
DWORD gle;
+#ifdef AFSIFS
+ char *data;
+#endif
rcount = (long)(reqp->mp - reqp->data);
if (rcount <= 0) {
if (rootDir == INVALID_HANDLE_VALUE)
return CM_ERROR_NOSUCHPATH;
- wpath = tpath;
+ wpath = (wchar_t *)tpath;
length = 0;
if (!DeviceIoControl(rootDir, IOCTL_AFSRDR_GET_PATH, NULL, 0, wpath, 1000, &length, NULL))
{