System.SysUtils.SysErrorMessage

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

Delphi

function SysErrorMessage(ErrorCode: Cardinal; AModuleHandle: THandle): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall SysErrorMessage(unsigned ErrorCode, NativeUInt AModuleHandle = (NativeUInt)(0x0));

プロパティ

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

説明

OS のエラー コードを文字列に変換します。

SysErrorMessage 関数は、指定された OS のエラー コードに対応するエラー メッセージの文字列を返します。

メモ: System.GetLastError 関数を使用して、特定のエラーに関連付けられているエラー コードを取得できます。


関連項目