InstAPI.GetCOMPath(StringBuilder, UInt32) Metodo

Definizione

Recupera il percorso COM per la 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

Parametri

directoryPath
StringBuilder

Un puntatore a un buffer per la ricezione del percorso.

bufferSize
UInt32

Un puntatore a un valore DWORD per fornire la lunghezza del buffer. Restituisce la lunghezza obbligatoria se il buffer fornito è troppo piccolo.

Restituisce

true se il recupero ha esito positivo; in caso contrario, false.

Si applica a