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.
43 lines
936 B
43 lines
936 B
//+--------------------------------------------------------------------------
|
|
//
|
|
// Copyright (c) 1997-1999 Microsoft Corporation
|
|
//
|
|
// File:
|
|
//
|
|
// Contents:
|
|
//
|
|
// History:
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#ifndef __LSCLIENT_H__
|
|
#define __LSCLIENT_H__
|
|
|
|
#include <windows.h>
|
|
#include "tlsdef.h"
|
|
#include "hydrals.h"
|
|
|
|
typedef BOOL (* LSENUMERATECALLBACK)(RPC_BINDING_HANDLE hBinding, HANDLE dwUserData);
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
HRESULT
|
|
EnumerateLsServer(LPCTSTR szDomain, LPCTSTR szScope, DWORD dwPlatformType, LSENUMERATECALLBACK fCallBack, HANDLE dwUserData, DWORD dwTimeOut);
|
|
|
|
PCONTEXT_HANDLE
|
|
ConnectToAnyLsServer(LPCTSTR szScope, DWORD dwPlatformType);
|
|
|
|
PCONTEXT_HANDLE
|
|
ConnectToLsServer( LPTSTR szLsServer );
|
|
|
|
void
|
|
DisconnectFromServer( PCONTEXT_HANDLE pContext );
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|
|
|