GetObjectPathStreamLengthA
Proprietà del documento, estrazione del contenuto
Descrizione
Il suffisso A indica l'entry point DLL ANSI (char); l'interfaccia ActiveX/COM espone soltanto la forma Unicode. Il comportamento è identico a GetObjectPathStreamLength e gli argomenti stringa vengono interpretati usando la code page corrente di SetAnsiMode
Restituisce la lunghezza in byte decodificati dello stream selezionato da un object path
Sintassi
Delphi
Function DLGetObjectPathStreamLengthA(InstanceID: Integer; Path: PAnsiChar): Integer;
DLL
int DLGetObjectPathStreamLengthA(int InstanceID, const char* Path);
Valori restituiti
| Numero di byte decodificati, o -1 quando il percorso non seleziona uno stream |
Note
Utile per dimensionare i buffer prima di chiamare GetObjectPathStream