Lhaz
静的公開メンバ関数 | 非公開メンバ関数 | 全メンバ一覧
WinUnit::Environment クラス

#include <WinUnit.h>

静的公開メンバ関数

static bool GetVariable (const TCHAR *variableName, TCHAR buffer[], DWORD bufferSize, DWORD *pSizeNeeded=NULL)
 

非公開メンバ関数

 Environment ()
 

詳解

This class assists in retrieving environment variables. It is useful if environment variables were passed in on the command line of WinUnit.exe.

構築子と解体子

WinUnit::Environment::Environment ( )
private

関数詳解

bool WinUnit::Environment::GetVariable ( const TCHAR *  variableName,
TCHAR  buffer[],
DWORD  bufferSize,
DWORD *  pSizeNeeded = NULL 
)
inlinestatic

Gets value of environment variable named variableName.

戻り値
true if found and buffer was big enough to hold it; otherwise false.
引数
variableNameCase-insensitive name of variable to be looked up
bufferBuffer to receive value of variable
bufferSizeSize of buffer, in TCHARs
[out]pSizeNeededBuffer size that was needed, if too small (zero if variable not found)

このクラス詳解は次のファイルから抽出されました: