System.SysUtils.CheckOSError

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure CheckOSError(LastError: Integer);

C++

extern DELPHI_PACKAGE void __fastcall CheckOSError(int LastError);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

説明

OS エラーを確認します。

LastError パラメータが ERROR_SUCCESS 以外である場合、CheckOSErrorRaiseLastOSError を呼び出します。

CheckOSError を使用すると、LastError パラメータに関連付けられている EOSError を発生させることができます。

関連項目