GetObjectPathStreamLengthA
Document properties, Content extraction
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetObjectPathStreamLength and string arguments are interpreted using the current SetAnsiMode code page
Returns the decoded byte length of the stream selected by an object path
Syntax
Delphi
Function DLGetObjectPathStreamLengthA(InstanceID: Integer; Path: PAnsiChar): Integer;
DLL
int DLGetObjectPathStreamLengthA(int InstanceID, const char* Path);
Return values
| Decoded byte count, or -1 when the path does not select a stream |
Remarks
Useful for sizing buffers before calling GetObjectPathStream