mirror of https://github.com/tongzx/nt5src
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.
93 lines
1.5 KiB
93 lines
1.5 KiB
/*++
|
|
|
|
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
|
|
|