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.

64 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1989 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. Revision History:
  9. Balan Sethu Raman [SethuR] 6-March-1995
  10. --*/
  11. #ifndef _SMBUTILS_H_
  12. #define _SMBUTILS_H_
  13. extern
  14. NTSTATUS
  15. SmbPutString(
  16. PBYTE *pBufferPointer,
  17. PSTRING pString,
  18. PULONG pSize);
  19. extern
  20. NTSTATUS
  21. SmbPutUnicodeString(
  22. PBYTE *pBufferPointer,
  23. PUNICODE_STRING pUnicodeString,
  24. PULONG pSize);
  25. extern
  26. NTSTATUS
  27. SmbPutUnicodeStringAsOemString(
  28. PBYTE *pBufferPointer,
  29. PUNICODE_STRING pUnicodeString,
  30. PULONG pSize);
  31. extern
  32. NTSTATUS
  33. SmbPutUnicodeStringAndUpcase(
  34. PBYTE *pBufferPointer,
  35. PUNICODE_STRING pUnicodeString,
  36. PULONG pSize);
  37. extern
  38. NTSTATUS
  39. SmbPutUnicodeStringAsOemStringAndUpcase(
  40. PBYTE *pBufferPointer,
  41. PUNICODE_STRING pUnicodeString,
  42. PULONG pSize);
  43. BOOLEAN
  44. IsValidShortFileName(
  45. PUNICODE_STRING FileName
  46. );
  47. #endif // _SMBUTILS_H_
  48.