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.

60 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1989 - 1999 Microsoft Corporation
  3. Module Name:
  4. smbutils.h
  5. Abstract:
  6. This module defines the prototypes for various functions which aid in the assembly and
  7. disassembly of SMB's.
  8. --*/
  9. #ifndef _SMBUTILS_H_
  10. #define _SMBUTILS_H_
  11. extern
  12. NTSTATUS
  13. SmbPutString(
  14. PBYTE *pBufferPointer,
  15. PSTRING pString,
  16. PULONG pSize);
  17. extern
  18. NTSTATUS
  19. SmbPutUnicodeString(
  20. PBYTE *pBufferPointer,
  21. PUNICODE_STRING pUnicodeString,
  22. PULONG pSize);
  23. extern
  24. NTSTATUS
  25. SmbPutUnicodeStringAsOemString(
  26. PBYTE *pBufferPointer,
  27. PUNICODE_STRING pUnicodeString,
  28. PULONG pSize);
  29. extern
  30. NTSTATUS
  31. SmbPutUnicodeStringAndUpcase(
  32. PBYTE *pBufferPointer,
  33. PUNICODE_STRING pUnicodeString,
  34. PULONG pSize);
  35. extern
  36. NTSTATUS
  37. SmbPutUnicodeStringAsOemStringAndUpcase(
  38. PBYTE *pBufferPointer,
  39. PUNICODE_STRING pUnicodeString,
  40. PULONG pSize);
  41. BOOLEAN
  42. IsValidShortFileName(
  43. PUNICODE_STRING FileName
  44. );
  45. #endif // _SMBUTILS_H_
  46.