Source code of Windows XP (NT5)
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

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. // File:
  6. //
  7. // Contents:
  8. //
  9. // History:
  10. //
  11. //---------------------------------------------------------------------------
  12. #ifndef __LSCLIENT_H__
  13. #define __LSCLIENT_H__
  14. #include <windows.h>
  15. #include "tlsdef.h"
  16. #include "hydrals.h"
  17. typedef BOOL (* LSENUMERATECALLBACK)(RPC_BINDING_HANDLE hBinding, HANDLE dwUserData);
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. HRESULT
  22. EnumerateLsServer(LPCTSTR szDomain, LPCTSTR szScope, DWORD dwPlatformType, LSENUMERATECALLBACK fCallBack, HANDLE dwUserData, DWORD dwTimeOut);
  23. PCONTEXT_HANDLE
  24. ConnectToAnyLsServer(LPCTSTR szScope, DWORD dwPlatformType);
  25. PCONTEXT_HANDLE
  26. ConnectToLsServer( LPTSTR szLsServer );
  27. void
  28. DisconnectFromServer( PCONTEXT_HANDLE pContext );
  29. #ifdef __cplusplus
  30. };
  31. #endif
  32. #endif