DelegateGetInstanceNameFromService Delegado

Definición

Obtiene un valor si el delegado se realiza correctamente para obtener el nombre de instancia del servicio.

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 

Parámetros

sServiceName
String

El nombre del servicio.

sInstanceName
StringBuilder

Nombre de instancia.

pdwSize
UInt32

Tamaño estimado de la estructura devuelta, en bytes.

Valor devuelto

true si el delegado es correcto; de lo contrario, false.

Se aplica a