DelegateGetInstanceNameFromService 代理人

定義

サービスからインスタンス名を取得する際にデリゲートが成功したかどうかを示す値を取得します。

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

適用対象