InstAPI.GetCOMPath(StringBuilder, UInt32) Método

Definição

Recupera o caminho de COM da classe InstAPI.

public:
 static bool GetCOMPath(System::Text::StringBuilder ^ directoryPath, System::UInt32 % bufferSize);
public static bool GetCOMPath(System.Text.StringBuilder directoryPath, ref uint bufferSize);
static member GetCOMPath : System.Text.StringBuilder * uint32 -> bool
Public Shared Function GetCOMPath (directoryPath As StringBuilder, ByRef bufferSize As UInteger) As Boolean

Parâmetros

directoryPath
StringBuilder

Um ponteiro para um buffer para recebimento do caminho.

bufferSize
UInt32

Um ponteiro para um valor DWORD para fornecimento do comprimento do buffer. Retornará o comprimento exigido se o buffer fornecido for muito pequeno.

Retornos

true se recuperado; caso contrário, false.

Aplica-se a