| 238 | #endif |
| 239 | |
| 240 | static void MyStrCpy(char* szDest, size_t nMaxDestSize, const char* szSrc) |
| 241 | { |
| 242 | if (nMaxDestSize <= 0) return; |
| 243 | strncpy_s(szDest, nMaxDestSize, szSrc, _TRUNCATE); |
| 244 | szDest[nMaxDestSize-1] = 0; // INFO: _TRUNCATE will ensure that it is nul-terminated; but with older compilers (<1400) it uses "strncpy" and this does not!) |
| 245 | } // MyStrCpy |
| 246 | |
| 247 | // Normally it should be enough to use 'CONTEXT_FULL' (better would be 'CONTEXT_ALL') |
| 248 | #define USED_CONTEXT_FLAGS CONTEXT_FULL |
no outgoing calls
no test coverage detected