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

適用於