Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
void (_stdcall *GetApplDir)(char *Dir); |
Parameters
ProtName | A pointer to a buffer with a size of at least 81 characters.sufficient size (the maximum path length in Windows is 256 characters) |
Description
The function returns to the buffer pointed to by the Dir parameter the application directory of the current D2000 application without the trailing slash (e.g. D:\D2000\D2000_APP\Demo).
Note: if the buffer is not big enough (number of characters in the path of the application directory + terminating zero), there will be overflow and writing outside the allocated buffer.