Share via


DelegateGetInstRootRegPathByID Delegate

Definition

Gets the registry subtree from an instance identifier that represents an installed SQL component.

public delegate bool DelegateGetInstRootRegPathByID(INST_ID ^ pInstanceID, StringBuilder ^ sRegPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetInstRootRegPathByID(INST_ID pInstanceID, StringBuilder sRegPath, out uint pdwSize);
type DelegateGetInstRootRegPathByID = delegate of INST_ID * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetInstRootRegPathByID(pInstanceID As INST_ID, sRegPath As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

Parameters

pInstanceID
INST_ID

A pointer to the instance ID of the relevant instance.

sRegPath
StringBuilder

A pointer to a buffer to receive the registry path.

pdwSize
UInt32

A pointer to a DWORD value to supply the length of the buffer. Returns the required length if the supplied buffer is too small.

Return Value

A Boolean value that gets the registry subtree from an instance identifier.

Applies to