Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
gmh5225 committed Nov 10, 2023
1 parent a3f4ffb commit 04096bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion include/libwindrv/crt/libwindrv.crt.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once

extern "C" int __cdecl printf(const char *format, ...);
extern "C" int __cdecl dprintf(const char *format, ...);
extern "C" int __cdecl puts(const char *_Str);
12 changes: 0 additions & 12 deletions src/crt/libwindrv.crt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@ extern "C" int __cdecl printf(const char *format, ...)
return NT_SUCCESS(Status);
}

extern "C" int __cdecl dprintf(const char *format, ...)
{
NTSTATUS Status;
va_list Args;

va_start(Args, format);
Status = vDbgPrintEx(DPFLTR_SYSTEM_ID, DPFLTR_INFO_LEVEL, format, Args);
va_end(Args);

return NT_SUCCESS(Status);
}

extern "C" int __cdecl puts(const char *_Str)
{
char Temp[] = {'%', 's', '\n', 0};
Expand Down

0 comments on commit 04096bc

Please sign in to comment.