Message117199
About buffer size, GetFinalPathNameByHandle may return the
length or string or the size of required buffer size (the
length of striing + 1) depending on platforms and ANSI/WIDE
version.
If function returns the length of string buffer size,
buf_size + 1 is buffer size. MSDN saids
cchFilePath [in]
The size of lpszFilePath, in TCHARs. This value does not include a NULL termination character.
so we must pass buf_size + 1 for GetFinalPathNameByHandle. |
|
Date |
User |
Action |
Args |
2010-09-23 15:47:26 | ocean-city | unlink | issue9927 messages |
2010-09-23 15:46:49 | ocean-city | set | recipients:
+ ocean-city |
2010-09-23 15:46:49 | ocean-city | set | messageid: <1285256809.86.0.152362460607.issue9927@psf.upfronthosting.co.za> |
2010-09-23 15:46:48 | ocean-city | link | issue9927 messages |
2010-09-23 15:46:48 | ocean-city | create | |
|