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.
 
 
 
 
 
 

30 lines
613 B

/*
* B U F F E R . H
*
* Data buffer processing
*
* Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
*/
#ifndef _BUFFER_H_
#define _BUFFER_H_
#ifdef _DAVCDATA_
#error "buffer.h uses throwing allocators"
#endif
// Include the non-safe/throwing allocators
#include <mem.h>
// Include safe buffer definition header
//
#include <ex\buffer.h>
// AppendChainedSz -----------------------------------------------------------
//
inline LPCWSTR AppendChainedSz (ChainedStringBuffer<WCHAR>& sb, LPCWSTR pwsz)
{
return sb.AppendWithNull (pwsz);
}
#endif // _BUFFER_H_