GetObjectPathStreamLengthA
文档属性、内容提取
描述
末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 GetObjectPathStreamLength 相同,字符串参数按当前 SetAnsiMode 代码页解释
返回对象路径所选流的解码字节长度
语法
Delphi
Function DLGetObjectPathStreamLengthA(InstanceID: Integer; Path: PAnsiChar): Integer;
DLL
int DLGetObjectPathStreamLengthA(int InstanceID, const char* Path);
返回值
| 解码字节数;路径未选中流时返回 -1 |
备注
适合在调用 GetObjectPathStream 前确定缓冲区大小