DelegateGetInstanceNameFromService Delegate

Definition

Gets a value whether the delegate is successful in getting the instance name from the 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 

Parameters

sServiceName
String

The name of the service.

sInstanceName
StringBuilder

The instance name.

pdwSize
UInt32

The estimated size of the structure returned, in bytes.

Return Value

true if the delegate is successful; otherwise, false.

Applies to