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.
45 lines
909 B
45 lines
909 B
//+--------------------------------------------------------------------------
|
|
//
|
|
// Copyright (c) 1997-1999 Microsoft Corporation
|
|
//
|
|
// File:
|
|
//
|
|
// Contents:
|
|
//
|
|
// History:
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
#ifndef __SECSTORE_H__
|
|
#define __SECSTORE_H__
|
|
|
|
#include <windows.h>
|
|
#include <ntsecapi.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
DWORD
|
|
RetrieveKey(PWCHAR pwszKeyName,
|
|
PBYTE * ppbKey,
|
|
DWORD * pcbKey );
|
|
|
|
DWORD
|
|
StoreKey( PWCHAR pwszKeyName,
|
|
BYTE * pbKey,
|
|
DWORD cbKey );
|
|
|
|
DWORD
|
|
OpenPolicy( LPWSTR ServerName,
|
|
DWORD DesiredAccess,
|
|
PLSA_HANDLE PolicyHandle );
|
|
|
|
void
|
|
InitLsaString( PLSA_UNICODE_STRING LsaString,
|
|
LPWSTR String );
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|