DelegateGetInstanceNameFromService 代理人
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
サービスからインスタンス名を取得する際にデリゲートが成功したかどうかを示す値を取得します。
public delegate bool DelegateGetInstanceNameFromService(System::String ^ sServiceName, StringBuilder ^ sInstanceName, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetInstanceNameFromService(string sServiceName, StringBuilder sInstanceName, out uint pdwSize);
type DelegateGetInstanceNameFromService = delegate of string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetInstanceNameFromService(sServiceName As String, sInstanceName As StringBuilder, ByRef pdwSize As UInteger) As Boolean
パラメーター
- sServiceName
- String
サービスの名前。
- sInstanceName
- StringBuilder
インスタンス名。
- pdwSize
- UInt32
返される構造体の推定サイズ (バイト単位)。
戻り値
true
デリゲートが成功した場合は 。それ以外の場合は false
。