DelegateGetInstanceNameFromService Delegado

Definición

Obtiene un valor de si el delegado consigue obtener el nombre de la 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 la instancia.

pdwSize
UInt32

El tamaño estimado de la estructura se devolvió, en bytes.

Valor devuelto

true si el delegado tiene éxito; de lo contrario, false.

Se aplica a