You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.3 KiB
79 lines
1.3 KiB
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 2000
|
|
//
|
|
// File: pch.h
|
|
//
|
|
// Contents: Precompiled header for this project
|
|
//
|
|
// History: 06-Sep-2000 JeffJon Created
|
|
//
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
//
|
|
// System includes
|
|
//
|
|
extern "C"
|
|
{
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
}
|
|
#include <windows.h>
|
|
#include <stdio.h>
|
|
|
|
#include <atlbase.h>
|
|
|
|
//
|
|
// ILLEGAL_FAT_CHARS
|
|
//
|
|
#include <validc.h>
|
|
|
|
|
|
//
|
|
// ADSI headers
|
|
//
|
|
#include <iads.h>
|
|
#include <activeds.h>
|
|
|
|
//
|
|
//strsafe apis
|
|
//
|
|
#define STRSAFE_NO_DEPRECATE
|
|
#include <strsafe.h>
|
|
|
|
//
|
|
//Crypto APIS
|
|
//
|
|
#include "wincrypt.h"
|
|
//
|
|
// often, we have local variables for the express purpose of ASSERTion.
|
|
// when compiling retail, those assertions disappear, leaving our locals
|
|
// as unreferenced.
|
|
//
|
|
#ifndef DBG
|
|
|
|
#pragma warning (disable: 4189 4100)
|
|
|
|
#endif // DBG
|
|
|
|
//
|
|
// Parser header file
|
|
//
|
|
#include "varg.h"
|
|
|
|
#include "strings.h"
|
|
#include "parserutil.h"
|
|
#include "pcrack.h"
|
|
#include "util.h"
|
|
|
|
#include "dsutil.h"
|
|
#include "dsutilrc.h"
|
|
|
|
|
|
//
|
|
// Some global defines
|
|
//
|
|
#define MAX_PASSWORD_LENGTH 256 + 1 // including the NULL terminator
|