Leaked source code of windows server 2003
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.

40 lines
786 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. adtdbg.h
  5. Abstract:
  6. Contains definitions used for accessing the CSC share database
  7. --*/
  8. //
  9. // These functions are callouts from srvstub.c to the CSC subsystem. They help with
  10. // offline access to servers and shares
  11. //
  12. BOOLEAN NET_API_FUNCTION
  13. CSCIsServerOffline(
  14. IN LPWSTR servername
  15. );
  16. NET_API_STATUS NET_API_FUNCTION
  17. CSCNetShareEnum (
  18. IN LPWSTR servername,
  19. IN DWORD level,
  20. OUT LPBYTE *bufptr,
  21. OUT LPDWORD entriesread,
  22. OUT LPDWORD totalentries
  23. );
  24. NET_API_STATUS NET_API_FUNCTION
  25. CSCNetShareGetInfo (
  26. IN LPTSTR servername,
  27. IN LPTSTR netname,
  28. IN DWORD level,
  29. OUT LPBYTE *bufptr
  30. );