InstAPI.GetCOMPath(StringBuilder, UInt32) メソッド

定義

InstAPI クラスの COM パスを取得します。

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

パラメーター

directoryPath
StringBuilder

パスを受け取るバッファーを指すポインター。

bufferSize
UInt32

バッファーの長さを指定する DWORD 値を指すポインター。 指定したバッファーが小さすぎる場合は、必要な長さを返します。

戻り値

取得した場合は true、それ以外の場合は false

適用対象