[ADVAPI32]

* Use consistent debugging macros (Wine's).
* Include NDK headers on-demand.
* Improve the PCH.

svn path=/trunk/; revision=53225
This commit is contained in:
Amine Khaldi 2011-08-14 11:31:23 +00:00
parent 0914efaa9a
commit fb0e9ef233
29 changed files with 18 additions and 74 deletions

View file

@ -25,7 +25,14 @@
#include <winsafer.h>
#include <sddl.h>
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
#include <ndk/cmfuncs.h>
#include <ndk/exfuncs.h>
#include <ndk/iofuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/psfuncs.h>
#include <ndk/rtlfuncs.h>
#include <ndk/setypes.h>
#include <ndk/sefuncs.h>
/* this has to go after the NDK when being used with the NDK */
#include <ntsecapi.h>
@ -35,6 +42,13 @@
#include "lsa_c.h"
#include "eventlogrpc_c.h"
#include <rpc.h>
#include "crypt/crypt.h"
#include <wine/debug.h>
#include <wine/unicode.h>
#include <wincred.h>
#ifndef HAS_FN_PROGRESSW
#define FN_PROGRESSW FN_PROGRESS
#endif

View file

@ -25,10 +25,6 @@
*/
#include <advapi32.h>
#include "crypt.h"
#include <wine/unicode.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(crypt);

View file

@ -21,9 +21,6 @@
#include <advapi32.h>
#include "crypt.h"
void arc4_init(arc4_info *a4i, const BYTE *key, unsigned int keyLen)
{
unsigned int keyIndex = 0, stateIndex = 0;

View file

@ -22,7 +22,6 @@
*/
#include <advapi32.h>
#include "crypt.h"
static const unsigned char InitialPermuteMap[64] =
{

View file

@ -21,8 +21,6 @@
*/
#include <advapi32.h>
#include "crypt.h"
static const unsigned char CRYPT_LMhash_Magic[8] =
{ 'K', 'G', 'S', '!', '@', '#', '$', '%' };

View file

@ -34,8 +34,6 @@
*/
#include <advapi32.h>
#include "crypt.h"
/* The three core functions */

View file

@ -34,8 +34,6 @@
*/
#include <advapi32.h>
#include "crypt.h"
typedef struct
{

View file

@ -18,7 +18,6 @@
*/
#include <advapi32.h>
#include "crypt.h"
/* SHA Context Structure Declaration */

View file

@ -10,8 +10,7 @@
*/
#include <advapi32.h>
#define NDEBUG
#include <debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
extern BOOL RegInitialize(VOID);
extern BOOL RegCleanup(VOID);

View file

@ -7,8 +7,6 @@
*/
#include <advapi32.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);

View file

@ -8,8 +8,6 @@
*/
#include <advapi32.h>
#include <rpc.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
/******************************************************************************

View file

@ -7,8 +7,6 @@
*/
#include <advapi32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);

View file

@ -9,7 +9,6 @@
#include <advapi32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
#ifndef _UNICODE
#define debugstr_aw debugstr_a

View file

@ -11,7 +11,7 @@
*/
#include <advapi32.h>
#include <debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
#define USZ {0,0,0}

View file

@ -12,7 +12,6 @@
*/
#include <advapi32.h>
#include <crypt/crypt.h>
static const unsigned char CRYPT_LMhash_Magic[8] =
{ 'K', 'G', 'S', '!', '@', '#', '$', '%' };

View file

@ -3,10 +3,6 @@
*/
#include <advapi32.h>
#include <wine/debug.h>
#include <wine/unicode.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
/*
* @unimplemented

View file

@ -14,8 +14,6 @@
/* INCLUDES *****************************************************************/
#include <advapi32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(reg);
/* DEFINES ******************************************************************/

View file

@ -7,8 +7,6 @@
*/
#include <advapi32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
/* --- ACL --- */

View file

@ -12,8 +12,6 @@
/* INCLUDES *****************************************************************/
#include <advapi32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
/* FUNCTIONS ****************************************************************/

View file

@ -18,19 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include <time.h>
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "wincred.h"
#include "winternl.h"
#include "../crypt/crypt.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include <advapi32.h>
WINE_DEFAULT_DEBUG_CHANNEL(cred);
/* the size of the ARC4 key used to encrypt the password data */

View file

@ -11,9 +11,6 @@
*
*/
#include <advapi32.h>
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);

View file

@ -11,9 +11,6 @@
*/
#include <advapi32.h>
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);

View file

@ -12,8 +12,6 @@
*/
#include <advapi32.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
/*

View file

@ -12,10 +12,6 @@
*/
#include <advapi32.h>
#include <sddl.h>
#include <wine/debug.h>
#include <wine/unicode.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
#define MAX_GUID_STRING_LEN 39

View file

@ -7,9 +7,6 @@
*/
#include <advapi32.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);

View file

@ -22,8 +22,6 @@
*/
#include <advapi32.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
static RPC_UNICODE_STRING EmptyStringU = { 0, 0, L"" };

View file

@ -13,9 +13,6 @@
/* INCLUDES ******************************************************************/
#include <advapi32.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);

View file

@ -13,8 +13,6 @@
/* INCLUDES ******************************************************************/
#include <advapi32.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);

View file

@ -9,8 +9,6 @@
*/
#include <advapi32.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
/*