mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
Try to be more consistent in unimplemented messages
svn path=/trunk/; revision=30441
This commit is contained in:
@@ -4,15 +4,7 @@
|
||||
#define _AUTHZ_
|
||||
#include <windows.h>
|
||||
#include <authz.h>
|
||||
|
||||
ULONG DbgPrint(PCH Format,...);
|
||||
#ifndef DPRINT1
|
||||
#define DPRINT1 DbgPrint
|
||||
#endif
|
||||
|
||||
#ifndef UNIMPLEMENTED
|
||||
#define UNIMPLEMENTED DbgPrint("AUTHZ.DLL: %s is UNIMPLEMENTED!\n", __FUNCTION__)
|
||||
#endif
|
||||
#include <debug.h>
|
||||
|
||||
#if DBG
|
||||
|
||||
@@ -20,17 +12,11 @@ ULONG DbgPrint(PCH Format,...);
|
||||
#define CLIENTCTX_TAG 0x789ABCDE
|
||||
#define VALIDATE_RESMAN_HANDLE(handle) ASSERT(((PAUTHZ_RESMAN)handle)->Tag == RESMAN_TAG)
|
||||
#define VALIDATE_CLIENTCTX_HANDLE(handle) ASSERT(((PAUTHZ_CLIENT_CONTEXT)handle)->Tag == CLIENTCTX_TAG)
|
||||
#ifndef ASSERT
|
||||
#define ASSERT(cond) if (!(cond)) { DbgPrint("%s:%i: ASSERTION %s failed!\n", __FILE__, __LINE__, #cond ); }
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#define VALIDATE_RESMAN_HANDLE(handle)
|
||||
#define VALIDATE_CLIENTCTX_HANDLE(handle)
|
||||
#ifndef ASSERT
|
||||
#define ASSERT(cond)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -412,7 +412,7 @@ int WINAPI RestartDialogEx(HWND hWndOwner, LPCWSTR lpwstrReason, DWORD uFlags, D
|
||||
|
||||
int WINAPI LogoffWindowsDialog(DWORD uFlags)
|
||||
{
|
||||
ERR("LogoffWindowsDialog is UNIMPLEMENTED\n");
|
||||
UNIMPLEMENTED;
|
||||
ExitWindowsEx(EWX_LOGOFF, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#include <windows.h>
|
||||
#include <WinSCard.h>
|
||||
|
||||
/* INTERNAL *******************************************************************/
|
||||
|
||||
ULONG DbgPrint(PCH Format,...);
|
||||
#define UNIMPLEMENTED \
|
||||
DbgPrint("%s:%i: %s() UNIMPLEMENTED!\n", __FILE__, __LINE__, __FUNCTION__)
|
||||
#include <debug.h>
|
||||
|
||||
/* EOF */
|
||||
|
||||
@@ -62,7 +62,7 @@ struct __wine_debug_channel
|
||||
char name[15];
|
||||
};
|
||||
|
||||
#define UNIMPLEMENTED WINE_FIXME(" is unimplemented")
|
||||
#define UNIMPLEMENTED WINE_FIXME("%s is UNIMPLEMENTED!\n", __FUNCTION__)
|
||||
|
||||
#ifndef WINE_NO_TRACE_MSGS
|
||||
# define __WINE_GET_DEBUGGING_TRACE(dbch) ((dbch)->flags & (1 << __WINE_DBCL_TRACE))
|
||||
|
||||
Reference in New Issue
Block a user