/* PRIVATE FUNCTIONS ********************************************************/
+#if 0
NTSTATUS
NTAPI
DebugPrint(IN PANSI_STRING DebugString,
IN ULONG ComponentId,
IN ULONG Level)
{
- return STATUS_SUCCESS;
-
/* Call the INT2D Service */
return DebugService(BREAKPOINT_PRINT,
DebugString->Buffer,
DebugString->Length,
UlongToPtr(ComponentId),
- UlongToPtr(Level));
+ UlongToPtr(Level));
}
+#else
+NTSTATUS
+NTAPI
+DebugPrint(IN PANSI_STRING DebugString,
+ IN ULONG ComponentId,
+ IN ULONG Level);
+#endif
NTSTATUS
NTAPI
Input.Buffer = Response;
/* Setup the output string */
- Output.Length = strlen(Prompt);
+ Output.Length = strlen (Prompt);
Output.Buffer = Prompt;
/* Call the system service */
NTAPI
DbgLoadImageSymbols(IN PANSI_STRING Name,
IN PVOID Base,
- IN ULONG_PTR ProcessId)
+ IN ULONG ProcessId)
{
PIMAGE_NT_HEADERS NtHeader;
KD_SYMBOLS_INFO SymbolInfo;
/* Setup the symbol data */
SymbolInfo.BaseOfDll = Base;
- SymbolInfo.ProcessId = ProcessId;
+ SymbolInfo.ProcessId = (ULONG)ProcessId;
/* Get NT Headers */
NtHeader = NULL; //RtlImageNtHeader(Base);
}
/*
-* @implemented
-*/
+ * @implemented
+ */
VOID
NTAPI
DbgUnLoadImageSymbols(IN PANSI_STRING Name,
/* Setup the symbol data */
SymbolInfo.BaseOfDll = Base;
- SymbolInfo.ProcessId = ProcessId;
+ SymbolInfo.ProcessId = (ULONG)ProcessId;
SymbolInfo.CheckSum = SymbolInfo.SizeOfImage = 0;
/* Load the symbols */