windows-nt/Source/XPSP1/NT/base/fs/rdr2/rdbss/smb.mrx/smbutils.h

65 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1989 Microsoft Corporation
Module Name:
smbutils.h
Abstract:
This module defines the prototypes for various functions which aid in the assembly and
disassembly of SMB's.
Revision History:
Balan Sethu Raman [SethuR] 6-March-1995
--*/
#ifndef _SMBUTILS_H_
#define _SMBUTILS_H_
extern
NTSTATUS
SmbPutString(
PBYTE *pBufferPointer,
PSTRING pString,
PULONG pSize);
extern
NTSTATUS
SmbPutUnicodeString(
PBYTE *pBufferPointer,
PUNICODE_STRING pUnicodeString,
PULONG pSize);
extern
NTSTATUS
SmbPutUnicodeStringAsOemString(
PBYTE *pBufferPointer,
PUNICODE_STRING pUnicodeString,
PULONG pSize);
extern
NTSTATUS
SmbPutUnicodeStringAndUpcase(
PBYTE *pBufferPointer,
PUNICODE_STRING pUnicodeString,
PULONG pSize);
extern
NTSTATUS
SmbPutUnicodeStringAsOemStringAndUpcase(
PBYTE *pBufferPointer,
PUNICODE_STRING pUnicodeString,
PULONG pSize);
BOOLEAN
IsValidShortFileName(
PUNICODE_STRING FileName
);
#endif // _SMBUTILS_H_