windows-nt/Source/XPSP1/NT/ds/security/services/scerpc/client/clntutil.h

94 lines
1.5 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
clntutil.h
Abstract:
Headers of SCE client utilities
Author:
Jin Huang (jinhuang)
Revision History:
jinhuang Created 25-Jan-1998
--*/
#ifndef _clntutil_
#define _clntutil_
#include <ntlsa.h>
//#ifdef __cplusplus
//extern "C" {
//#endif
#define SCE_SETUP_CALLBACK 0x1
#define SCE_DCPROMO_CALLBACK 0x2
#define SCE_AREA_CALLBACK 0x3
SCESTATUS
ScepSetCallback(
IN PVOID pCallback OPTIONAL,
IN HANDLE hWnd OPTIONAL,
IN DWORD Type
);
NTSTATUS
ScepBindSecureRpc(
IN LPWSTR servername,
IN LPWSTR servicename,
IN LPWSTR networkoptions,
OUT RPC_BINDING_HANDLE * pBindingHandle
);
NTSTATUS
ScepBindRpc(
IN LPWSTR servername,
IN LPWSTR servicename,
IN LPWSTR networkoptions,
OUT RPC_BINDING_HANDLE * pBindingHandle
);
DWORD
ScepActivateServer(
IN LPTSTR SystemName OPTIONAL
);
SCESTATUS
ScepConfigSystem(
IN LPTSTR SystemName OPTIONAL,
IN PCWSTR InfFileName OPTIONAL,
IN PCWSTR DatabaseName OPTIONAL,
IN PCWSTR LogFileName OPTIONAL,
IN DWORD ConfigOptions,
IN AREA_INFORMATION Area,
IN PSCE_AREA_CALLBACK_ROUTINE pCallback OPTIONAL,
IN HANDLE hCallbackWnd OPTIONAL,
OUT PDWORD pdWarning OPTIONAL
);
DWORD
ScepClearPolicyFilterTempFiles(
BOOL bClearFile
);
DWORD
ScepProcessPolicyFilterTempFiles(
IN LPTSTR LogFileName OPTIONAL
);
//#ifdef __cplusplus
//}
//#endif
#endif