InstAPI.GetCOMPath(StringBuilder, UInt32) Método

Definición

Recupera la ruta de acceso COM para la clase 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

Puntero a un búfer para recibir la ruta de acceso.

bufferSize
UInt32

Puntero a un valor DWORD para proporcionar la longitud del búfer. Devuelve la longitud requerida si el búfer proporcionado es demasiado pequeño.

Devoluciones

true, si se recupera; en caso contrario, false.

Se aplica a