windows-nt/Source/XPSP1/NT/ds/adsi/novellnw/cfshgi.cxx

77 lines
1.7 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1996
//
// File: cfshgi.cxx
//
// Contents: This file contains the FileShare Object's GeneralInformation
// Functional Set.
//
// History: 25-Apr-96 t-ptam (Patrick Tam) Created.
//
//----------------------------------------------------------------------------
#include "NWCOMPAT.hxx"
#pragma hdrstop
//
// Macro-ized implementation.
//
STDMETHODIMP
CNWCOMPATFileShare::get_CurrentUserCount(THIS_ LONG FAR* retval)
{
GET_PROPERTY_LONG((IADsFileShare *)this, CurrentUserCount);
}
STDMETHODIMP
CNWCOMPATFileShare::get_Description(THIS_ BSTR FAR* retval)
{
GET_PROPERTY_BSTR((IADsFileShare *)this, Description);
}
STDMETHODIMP
CNWCOMPATFileShare::put_Description(THIS_ BSTR bstrDescription)
{
PUT_PROPERTY_BSTR((IADsFileShare *)this, Description);
}
STDMETHODIMP
CNWCOMPATFileShare::get_HostComputer(THIS_ BSTR FAR* retval)
{
GET_PROPERTY_BSTR((IADsFileShare *)this, HostComputer);
}
STDMETHODIMP
CNWCOMPATFileShare::put_HostComputer(THIS_ BSTR bstrHostComputer)
{
PUT_PROPERTY_BSTR((IADsFileShare *)this, HostComputer);
}
STDMETHODIMP
CNWCOMPATFileShare::get_Path(THIS_ BSTR FAR* retval)
{
GET_PROPERTY_BSTR((IADsFileShare *)this, Path);
}
STDMETHODIMP
CNWCOMPATFileShare::put_Path(THIS_ BSTR bstrPath)
{
PUT_PROPERTY_BSTR((IADsFileShare *)this, Path);
}
STDMETHODIMP
CNWCOMPATFileShare::get_MaxUserCount(THIS_ LONG FAR* retval)
{
GET_PROPERTY_LONG((IADsFileShare *)this, MaxUserCount);
}
STDMETHODIMP
CNWCOMPATFileShare::put_MaxUserCount(THIS_ LONG lMaxUserCount)
{
PUT_PROPERTY_LONG((IADsFileShare *)this, MaxUserCount);
}