|
// *********************************************************
// 書庫解凍
// 戻り値 : 0 正常終了, それ以外はエラー
// *********************************************************
int LboxUnzip::Unzip( LboxString *LCmdLine )
{
return LboxUnzip::Unzip(
LCmdLine->szLboxString,
this->Output.szLboxString,
this->Output.nLboxString
);
}
int LboxUnzip::Unzip(
LPTSTR szCmdLine, LPTSTR szOutput, const DWORD dwSize )
{
if ( LboxUnzip::lib == NULL ) {
this->ErrMessage.operator = (
"Unzip32.dll がインストールされていません"
);
return 1;
}
int nRet;
nRet = UnzipAction(
LboxUnzip::hOwner,
szCmdLine,
szOutput,
dwSize
);
if ( nRet != 0 ) {
this->ErrMessage.operator = (
"Unzip32.dll のエラーです"
);
}
return nRet;
}
| |