-#ifdef debug_xxx
- char buf[1000];
- buf[0] = 0;
- strcat(buf, "GetFileAttributesEx ");
- if (p_GetFileAttributesEx)
- strcat(buf, "OK\n");
- else
- strcat(buf, "NO\n");
-
- strcat(buf, "SetProcessShutdownParamaters ");
- if (p_SetProcessShutdownParameters)
- strcat(buf, "OK\n");
- else
- strcat(buf, "NO\n");
-
- strcat(buf, "BackupRead ");
- if (p_BackupRead)
- strcat(buf, "OK\n");
- else
- strcat(buf, "NO\n");
-
- strcat(buf, "BackupWrite ");
- if (p_BackupWrite)
- strcat(buf, "OK\n");
- else
- strcat(buf, "NO\n");
-
- strcat(buf, "OpenProcessToken ");
- if (p_OpenProcessToken)
- strcat(buf, "OK\n");
- else
- strcat(buf, "NO\n");
-
- strcat(buf, "AdjustTokenPrivileges ");
- if (p_AdjustTokenPrivileges)
- strcat(buf, "OK\n");
- else
- strcat(buf, "NO\n");
-
- strcat(buf, "LookupPrivilegeValue ");
- if (p_LookupPrivilegeValue)
- strcat(buf, "OK\n");
- else
- strcat(buf, "NO\n");
-
- MessageBox(NULL, buf, "APIs Available", MB_OK);
-#endif
-