DelegateGetInstanceNameFromService Délégué

Définition

Obtient une valeur indiquant si le délégué réussit à obtenir le nom instance du service.

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 

Paramètres

sServiceName
String

Nom du service.

sInstanceName
StringBuilder

Nom de l’instance.

pdwSize
UInt32

Taille estimée de la structure retournée, en octets.

Valeur renvoyée

true si le délégué réussit ; sinon, false.

S’applique à