DelegateGetInstanceNameFromService DelegateGetInstanceNameFromService 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);
Public Delegate Function DelegateGetInstanceNameFromService(sServiceName As String, sInstanceName As StringBuilder, ByRef pdwSize As UInteger) As Boolean 
Parameters
sServiceName

The name of the service.

sInstanceName

The instance name.

pdwSize

The estimated size of the structure returned, in bytes.

Return Value
System.Boolean

true if the delegate is successful; otherwise, false.

Inheritance
DelegateGetInstanceNameFromServiceDelegateGetInstanceNameFromServiceDelegateGetInstanceNameFromService

Applies to