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.
|
|
// FileAndAction.cpp : Implementation of CFileAndAction
#include "stdafx.h"
#include "FileAndAction.h"
// CFileAndAction
STDMETHODIMP CFileAndAction::get_Filename(BSTR* pVal) { if (pVal == NULL) return E_POINTER;
return m_Filename.CopyTo(pVal); }
STDMETHODIMP CFileAndAction::put_Filename(BSTR newVal) { m_Filename = newVal; return S_OK; }
STDMETHODIMP CFileAndAction::get_Action(BSTR* pVal) { if (pVal == NULL) return E_POINTER;
return m_Action.CopyTo(pVal); }
STDMETHODIMP CFileAndAction::put_Action(BSTR newVal) { m_Action = newVal; return S_OK; }
STDMETHODIMP CFileAndAction::get_Enabled(BOOL* pVal) { if (pVal == NULL) return E_POINTER;
*pVal = m_fEnabled; return S_OK; }
STDMETHODIMP CFileAndAction::put_Enabled(BOOL newVal) { m_fEnabled = newVal; return S_OK; }
|