Langue

InstAPI.GetCOMPath(StringBuilder, UInt32) Méthode

Définition

Récupère le chemin COM pour la InstAPI classe.

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

Paramètres

directoryPath
StringBuilder

Un pointeur vers un tampon pour recevoir le chemin.

bufferSize
UInt32

Un pointeur vers une valeur DWORD pour fournir la longueur du tampon. Restitue la longueur requise si le tampon fourni est trop petit.

Retours

true si récupéré ; sinon, false.

S’applique à