windows-nt/Source/XPSP1/NT/termsrv/license/tlserver/common/secstore.h

46 lines
864 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+--------------------------------------------------------------------------
//
// 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