InstAPI.GetCOMPath(StringBuilder, UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取该类的 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