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.
59 lines
1.8 KiB
59 lines
1.8 KiB
/*++
|
|
|
|
Copyright (c) 1996, 1997 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
session.h
|
|
|
|
Abstract:
|
|
|
|
This module contains prototypes to support communication with the LSA
|
|
(Local Security Authority) to permit querying of active sessions.
|
|
|
|
Author:
|
|
|
|
Scott Field (sfield) 02-Mar-97
|
|
|
|
--*/
|
|
|
|
#ifndef __CRYPT32P_H__
|
|
#define __CRYPT32P_H__
|
|
|
|
DWORD
|
|
WINAPI
|
|
SPCryptProtect(
|
|
PVOID pvContext, // server context
|
|
PBYTE* ppbOut, // out encr data
|
|
DWORD* pcbOut, // out encr cb
|
|
PBYTE pbIn, // in ptxt data
|
|
DWORD cbIn, // in ptxt cb
|
|
LPCWSTR szDataDescr, // in
|
|
PBYTE pbOptionalEntropy, // OPTIONAL
|
|
DWORD cbOptionalEntropy,
|
|
PSSCRYPTPROTECTDATA_PROMPTSTRUCT psPrompt, // OPTIONAL prompting struct
|
|
DWORD dwFlags,
|
|
BYTE* pbOptionalPassword,
|
|
DWORD cbOptionalPassword
|
|
);
|
|
|
|
DWORD
|
|
WINAPI
|
|
SPCryptUnprotect(
|
|
PVOID pvContext, // server context
|
|
PBYTE* ppbOut, // out ptxt data
|
|
DWORD* pcbOut, // out ptxt cb
|
|
PBYTE pbIn, // in encr data
|
|
DWORD cbIn, // in encr cb
|
|
LPWSTR* ppszDataDescr, // OPTIONAL
|
|
PBYTE pbOptionalEntropy, // OPTIONAL
|
|
DWORD cbOptionalEntropy,
|
|
PSSCRYPTPROTECTDATA_PROMPTSTRUCT psPrompt, // OPTIONAL, prompting struct
|
|
DWORD dwFlags,
|
|
BYTE* pbOptionalPassword,
|
|
DWORD cbOptionalPassword
|
|
);
|
|
|
|
|
|
#endif // __CRYPT32P_H__
|
|
|