mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
dll: expose FspNtStatusFromWin32 and FspDebugLog
This commit is contained in:
@ -7,8 +7,7 @@
|
||||
#include <dll/library.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
VOID FspDebugLog(const char *format, ...)
|
||||
FSP_API VOID FspDebugLog(const char *format, ...)
|
||||
{
|
||||
char buf[512];
|
||||
va_list ap;
|
||||
@ -17,4 +16,3 @@ VOID FspDebugLog(const char *format, ...)
|
||||
va_end(ap);
|
||||
OutputDebugStringA(buf);
|
||||
}
|
||||
#endif
|
||||
|
@ -22,9 +22,4 @@
|
||||
#define DEBUGLOG(fmt, ...) ((void)0)
|
||||
#endif
|
||||
|
||||
/* debug */
|
||||
#if !defined(NDEBUG)
|
||||
VOID FspDebugLog(const char *format, ...);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <dll/library.h>
|
||||
|
||||
NTSTATUS FspNtStatusFromWin32(DWORD Error)
|
||||
FSP_API NTSTATUS FspNtStatusFromWin32(DWORD Error)
|
||||
{
|
||||
switch (Error)
|
||||
{
|
||||
|
Reference in New Issue
Block a user