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.
|
|
//***************************************************************************
//
// File:
//
// Module: MS SNMP Provider
//
// Purpose:
//
// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved
//
//***************************************************************************
#include <precomp.h>
#include "bstring.h"
CBString::CBString(int nSize) { m_pString = SysAllocStringLen(NULL, nSize); }
CBString::CBString(WCHAR* pwszString) { m_pString = SysAllocString(pwszString); }
CBString::~CBString() { if(m_pString) { SysFreeString(m_pString); m_pString = NULL; } }
|