Нужен файл security.h из состава Visuаl C++ 6

  • Автор темы acex
  • Дата начала
Статус
Закрыто для дальнейших ответов.
A

acex

#1
Народ, не дайте пропасть! Отлаживал драйвер и при очередном "слете" системы накрылся медным тазом вышеуказанный файл, а дистрибутива под рукой как назло сейчас нет.
Киньте сюда исходник если у кого есть?
 
?

????

#2
Visual C++ 6
//+-----------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright © Microsoft Corporation 1991 - 1992
//
// File: Security.h
//
// Contents: Toplevel include file for security aware components
//
//
// History: 06 Aug 92 RichardW Created
// 23 Sep 92 PeterWi Add security object include files
//
//------------------------------------------------------------------------


// This file will go out and pull in all the header files that you need,
// based on defines that you issue. The following macros are used.

// NOTE: Update this section if you add new files:
//
// SECURITY_KERNEL Use the kernel interface, not the usermode
// SECURITY_PACKAGE Include defines necessary for security packages
// SECURITY_KERBEROS Include everything needed to talk to the kerberos pkg.
// SECURITY_NTLM Include everything to talk to ntlm package.
// SECURITY_OBJECTS Include all Security Admin Object definitions.

//
// Each of the files included here are surrounded by guards, so you don't
// need to worry about including this file multiple times with different
// flags defined
//

#ifdef __cplusplus
extern "C"
{
#endif

#ifndef SSPI_PROXY_CLASS
#define SSPI_PROXY_CLASS PROXY_CLASS
#endif

#include <sspi.h>

#if defined(SECURITY_WIN32) || defined(SECURITY_KERNEL)
#include <secext.h>
#endif

//
// Include the error codes:
//

#if ISSP_LEVEL == 32
#include <issperr.h>
#endif

#if ISSP_LEVEL == 16
#include <issper16.h>
#endif



// Include security package headers:

#ifdef SECURITY_PACKAGE

#include <secpkg.h>

#endif // SECURITY_PACKAGE


#ifdef SECURITY_KERBEROS

#include <kerbcon.h>
#include <kerberos.h>

#endif

#ifdef SECURITY_NTLM

#include <ntlmsp.h>

#endif // SECURITY_NTLM


// Include security object definitions


#ifdef __cplusplus
}
#endif
 
?

????

#3
Builder C++ 6
//+-----------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright © Microsoft Corporation 1991-1999
//
// File: Security.h
//
// Contents: Toplevel include file for security aware components
//
//
// History: 06 Aug 92 RichardW Created
// 23 Sep 92 PeterWi Add security object include files
//
//------------------------------------------------------------------------

#if _MSC_VER > 1000
#pragma once
#endif

// This file will go out and pull in all the header files that you need,
// based on defines that you issue. The following macros are used.
//
// SECURITY_KERNEL Use the kernel interface, not the usermode
//

//
// These are name that can be used to refer to the builtin packages
//

#ifndef NTLMSP_NAME_A
#define NTLMSP_NAME_A "NTLM"
#define NTLMSP_NAME L"NTLM" // ntifs
#endif // NTLMSP_NAME

#ifndef MICROSOFT_KERBEROS_NAME_A
#define MICROSOFT_KERBEROS_NAME_A "Kerberos"
#define MICROSOFT_KERBEROS_NAME_W L"Kerberos"
#ifdef WIN32_CHICAGO
#define MICROSOFT_KERBEROS_NAME MICROSOFT_KERBEROS_NAME_A
#else
#define MICROSOFT_KERBEROS_NAME MICROSOFT_KERBEROS_NAME_W
#endif
#endif // MICROSOFT_KERBEROS_NAME_A


#ifndef NEGOSSP_NAME
#define NEGOSSP_NAME_W L"Negotiate"
#define NEGOSSP_NAME_A "Negotiate"

#ifdef UNICODE
#define NEGOSSP_NAME NEGOSSP_NAME_W
#else
#define NEGOSSP_NAME NEGOSSP_NAME_A
#endif
#endif // NEGOSSP_NAME

//
// Include the master SSPI header file
//

#include <sspi.h>

#if defined(SECURITY_WIN32) || defined(SECURITY_KERNEL)
#include <secext.h>
#endif

//
// Include the error codes:
//

#if ISSP_LEVEL == 16
#include <issper16.h>
#endif
 
Статус
Закрыто для дальнейших ответов.