Modified: phpdoc/ja/trunk/reference/win32service/constants.xml =================================================================== --- phpdoc/ja/trunk/reference/win32service/constants.xml 2011-08-07 01:47:57 UTC (rev 314392) +++ phpdoc/ja/trunk/reference/win32service/constants.xml 2011-08-07 02:30:06 UTC (rev 314393) @@ -1,6 +1,6 @@ - + &reftitle.constants; &extension.constants; @@ -21,21 +21,21 @@ WIN32_SERVICE_WIN32_OWN_PROCESS 0x00000010 - The service runs in its own process. + サービスは自分のプロセスで動作します。 WIN32_SERVICE_INTERACTIVE_PROCESS 0x00000100 - The service can interact with the desktop. This option is not available on Windows Vista or later. + サービスはデスクトップとのやりとりができます。このオプションは、Windows Vista 以降では使えません。 WIN32_SERVICE_WIN32_OWN_PROCESS_INTERACTIVE 0x00000110 - The service runs in its own process and can interact with the desktop. This option is not available on Windows Vista or later. + サービスは自分のプロセスで動作し、デスクトップとのやりとりができます。このオプションは、Windows Vista 以降では使えません。 @@ -59,49 +59,49 @@ WIN32_SERVICE_CONTINUE_PENDING 0x00000005 - The service continue is pending. + サービスの続行が待機状態です。 WIN32_SERVICE_PAUSE_PENDING 0x00000006 - The service pause is pending. + サービスの中断が待機状態です。 WIN32_SERVICE_PAUSED 0x00000007 - The service is paused. + サービスは中断しています。 WIN32_SERVICE_RUNNING 0x00000004 - The service is running. + サービスは実行中です。 WIN32_SERVICE_START_PENDING 0x00000002 - The service is starting. + サービスは開始中です。 WIN32_SERVICE_STOP_PENDING 0x00000003 - The service is stopping. + サービスは停止中です。 WIN32_SERVICE_STOPPED 0x00000001 - The service is not running. + サービスは動作していません。 @@ -125,49 +125,48 @@ WIN32_SERVICE_CONTROL_CONTINUE 0x00000003 - Notifies a paused service that it should resume. + 停止中のサービスに再開を指示します。 WIN32_SERVICE_CONTROL_INTERROGATE 0x00000004 - Notifies a service that it should report its current status information - to the service control manager. + 現状の情報をサービス制御マネージャーに報告するようサービスに指示します。 WIN32_SERVICE_CONTROL_PAUSE 0x00000002 - Notifies a service that it should pause. + サービスに停止するよう指示します。 WIN32_SERVICE_CONTROL_PRESHUTDOWN 0x0000000F - Notifies a service that the system will be shutting down. A service that - handles this notification blocks system shutdown until the service stops - or the preshutdown time-out interval expires. This value is not supported - by Windows Server 2003 and Windows XP/2000. + サービスに、システムのシャットダウンを通知します。 + この通知を処理するサービスは、サービスが終了するかあるいはシャットダウン前のタイムアウトに達するまで + システムのシャットダウンを待機させることができます。 + この値は、Windows Server 2003 および Windows XP/2000 以降では使えません。 WIN32_SERVICE_CONTROL_SHUTDOWN 0x00000005 - Notifies a service that the system is shutting down so the service can - perform cleanup tasks. If a service accepts this control code, it must - stop after it performs its cleanup tasks. After the SCM sends this - control code, it will not send other control codes to the service. + サービスに、システムがシャットダウンするので後始末をするよう通知します。 + サービスがこの制御コードを受け付けた場合は、 + 後始末のタスクを終えてからサービスを終了しなければなりません。 + SCM がこの制御コードを送った後は、他の制御コードを送ることはできません。 WIN32_SERVICE_CONTROL_STOP 0x00000001 - Notifies a service that it should stop. + サービスに終了するよう指示します。 @@ -191,36 +190,34 @@ WIN32_SERVICE_ACCEPT_PAUSE_CONTINUE 0x00000002 - The service can be paused and continued. This control code allows the - service to receive WIN32_SERVICE_CONTROL_PAUSE and - WIN32_SERVICE_CONTROL_CONTINUE notifications. + サービスは一時停止して続行できます。この制御コードは、サービスが + WIN32_SERVICE_CONTROL_PAUSE および + WIN32_SERVICE_CONTROL_CONTINUE の通知を受け取れることを表します。 WIN32_SERVICE_ACCEPT_PRESHUTDOWN 0x00000100 - The service can perform preshutdown tasks. This control code enables the - service to receive WIN32_SERVICE_CONTROL_PRESHUTDOWN - notifications. This value is not supported by Windows Server 2003 and - Windows XP/2000. + サービスはシャットダウン前のタスクを処理できます。この制御コードは、サービスが + WIN32_SERVICE_CONTROL_PRESHUTDOWN の通知を受け取れることを表します。 + この値は Windows Server 2003 や Windows XP/2000 以降では使えません。 WIN32_SERVICE_ACCEPT_SHUTDOWN 0x00000004 - The service is notified when system shutdown occurs. This control code - allows the service to receive WIN32_SERVICE_CONTROL_SHUTDOWN - notifications. + サービスはシステムのシャットダウン通知を受け取ります。この制御コードは、サービスが + WIN32_SERVICE_CONTROL_SHUTDOWN の通知を受け取れることを表します。 WIN32_SERVICE_ACCEPT_STOP 0x00000001 - The service can be stopped. This control code allows the service to - receive WIN32_SERVICE_CONTROL_STOP notifications. + サービスは終了できます。この制御コードは、サービスが + WIN32_SERVICE_CONTROL_STOP の通知を受け取れることを表します。 @@ -244,24 +241,23 @@ WIN32_SERVICE_AUTO_START 0x00000002 - A service started automatically by the service control manager during - system startup. + システムの起動時に、サービス制御マネージャーが自動的にサービスを開始します。 WIN32_SERVICE_DEMAND_START 0x00000003 - A service started by the service control manager when a process calls the - StartService function. + プロセスが StartService 関数をコールしたときに、 + サービス制御マネージャーがサービスを開始します。 WIN32_SERVICE_DISABLED 0x00000004 - A service that cannot be started. Attempts to start the service result in - the error code WIN32_ERROR_SERVICE_DISABLED. + サービスを開始することができません。開始させようとすると、エラーコード + WIN32_ERROR_SERVICE_DISABLED を返します。 @@ -285,15 +281,14 @@ WIN32_SERVICE_ERROR_IGNORE 0x00000000 - The startup program ignores the error and continues the startup operation. + 起動プログラムはエラーを無視し、開始操作を続行します。 WIN32_SERVICE_ERROR_NORMAL 0x00000001 - The startup program logs the error in the event log but continues the - startup operation. + 起動プログラムはエラーをイベントログに記録し、開始操作を続行します。 @@ -317,7 +312,7 @@ WIN32_SERVICE_RUNS_IN_SYSTEM_PROCESS 0x00000001 - The service runs in a system process that must always be running. + サービスはシステムプロセスで動作し、常に動作している必要があります。 @@ -341,225 +336,219 @@ WIN32_ERROR_ACCESS_DENIED 0x00000005 - The handle to the SCM database does not have the appropriate access rights. + SCM データベースへのハンドルに適切なアクセス権限がありません。 WIN32_ERROR_CIRCULAR_DEPENDENCY 0x00000423 - A circular service dependency was specified. + 循環依存のサービスを指定しました。 WIN32_ERROR_DATABASE_DOES_NOT_EXIST 0x00000429 - The specified database does not exist. + 指定したデータベースが存在しません。 WIN32_ERROR_DEPENDENT_SERVICES_RUNNING 0x0000041B - The service cannot be stopped because other running services are dependent - on it. + 他の実行中のサービスがこのサービスに依存しているため、サービスを終了できません。 WIN32_ERROR_DUPLICATE_SERVICE_NAME 0x00000436 - The display name already exists in the service control manager database - either as a service name or as another display name. + その表示名が、サービス制御マネージャーのデータベース内に + (データベース名あるいは別の表示名として) 既に存在します。 WIN32_ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 0x00000427 - This error is returned if the program is being run as a console application - rather than as a service. If the program will be run as a console application - for debugging purposes, structure it such that service-specific code is not - called. + このエラーは、サービスではなくコンソールアプリケーションとしてプログラムを実行したときに返されます。 + デバッグ用にコンソールアプリケーションとして実行する場合は、 + サービスに固有のコードをコールしないようにしましょう。 WIN32_ERROR_INSUFFICIENT_BUFFER 0x0000007A - The buffer is too small for the service status structure. Nothing was - written to the structure. + サービス状況構造体用のバッファが小さすぎます。構造体には何も書き込まれませんでした。 WIN32_ERROR_INVALID_DATA 0x0000000D - The specified service status structure is invalid. + 指定したサービス状況構造体が無効です。 WIN32_ERROR_INVALID_HANDLE 0x00000006 - The handle to the specified service control manager database is invalid. + サービス制御マネージャーデータベースへのハンドルが無効です。 WIN32_ERROR_INVALID_LEVEL 0x0000007C - The InfoLevel parameter contains an unsupported value. + InfoLevel パラメータにサポートしていない値が含まれています。 WIN32_ERROR_INVALID_NAME 0x0000007B - The specified service name is invalid. + 指定したサービス名が無効です。 WIN32_ERROR_INVALID_PARAMETER 0x00000057 - A parameter that was specified is invalid. + 指定したパラメータが無効です。 WIN32_ERROR_INVALID_SERVICE_ACCOUNT 0x00000421 - The user account name specified in the user - parameter does not exist. See win32_create_service. + user で指定したユーザーアカウントが存在しません。 + win32_create_service を参照ください。 WIN32_ERROR_INVALID_SERVICE_CONTROL 0x0000041C - The requested control code is not valid, or it is unacceptable to the service. + 指定した制御コードが無効、あるいはこのサービスでは処理できません。 WIN32_ERROR_PATH_NOT_FOUND 0x00000003 - The service binary file could not be found. + サービスのバイナリファイルが見つかりません。 WIN32_ERROR_SERVICE_ALREADY_RUNNING 0x00000420 - An instance of the service is already running. + サービスのインスタンスが既に動作中です。 WIN32_ERROR_SERVICE_CANNOT_ACCEPT_CTRL 0x00000425 - The requested control code cannot be sent to the service because the state - of the service is WIN32_SERVICE_STOPPED, - WIN32_SERVICE_START_PENDING, or - WIN32_SERVICE_STOP_PENDING. + 指定した制御コードをサービスに送れませんでした。サービスの状態が + WIN32_SERVICE_STOPPED、 + WIN32_SERVICE_START_PENDING あるいは + WIN32_SERVICE_STOP_PENDING だったためです。 WIN32_ERROR_SERVICE_DATABASE_LOCKED 0x0000041F - The database is locked. + データベースがロックされています。 WIN32_ERROR_SERVICE_DEPENDENCY_DELETED 0x00000433 - The service depends on a service that does not exist or has been marked - for deletion. + このサービスが依存する別のサービスが存在しないか、あるいは削除マークがつけられています。 WIN32_ERROR_SERVICE_DEPENDENCY_FAIL 0x0000042C - The service depends on another service that has failed to start. + このサービスが依存する別のサービスの起動に失敗しました。 WIN32_ERROR_SERVICE_DISABLED 0x00000422 - The service has been disabled. + サービスが無効化されました。 WIN32_ERROR_SERVICE_DOES_NOT_EXIST 0x00000424 - The specified service does not exist as an installed service. + 指定したサービスはインストール済みのサービスの中に存在しません。 WIN32_ERROR_SERVICE_EXISTS 0x00000431 - The specified service already exists in this database. + 指定したサービスは既にこのデータベースに存在します。 WIN32_ERROR_SERVICE_LOGON_FAILED 0x0000042D - The service did not start due to a logon failure. This error occurs if - the service is configured to run under an account that does not have the - "Log on as a service" right. + ログオンに失敗したためサービスを起動できません。このエラーが発生するのは、 + そのサービスが "Log on as a service" 権限のないアカウントで動作するように設定されている場合です。 WIN32_ERROR_SERVICE_MARKED_FOR_DELETE 0x00000430 - The specified service has already been marked for deletion. + 指定したサービスには既に削除マークがついています。 WIN32_ERROR_SERVICE_NO_THREAD 0x0000041E - A thread could not be created for the service. + このサービスのスレッドを作成できません。 WIN32_ERROR_SERVICE_NOT_ACTIVE 0x00000426 - The service has not been started. + サービスが起動していません。 WIN32_ERROR_SERVICE_REQUEST_TIMEOUT 0x0000041D - The process for the service was started, but it did not call - StartServiceCtrlDispatcher, or the thread that called - StartServiceCtrlDispatcher may be blocked in a control handler function. + サービスのプロセスは起動しましたが StartServiceCtrlDispatcher をコールしていません。あるいは + StartServiceCtrlDispatcher をコールしたスレッドが制御ハンドラ関数でブロックされています。 WIN32_ERROR_SHUTDOWN_IN_PROGRESS 0x0000045B - The system is shutting down; this function cannot be called. + システムがシャットダウン中なので、この関数はコールできません。 WIN32_NO_ERROR 0x00000000 - No error. + エラーはありません。