============================================================================= FileVars_IsValidEncoding()
| 6468 | // FileVars_IsValidEncoding() |
| 6469 | // |
| 6470 | BOOL FileVars_IsValidEncoding ( LPFILEVARS lpfv ) |
| 6471 | { |
| 6472 | CPINFO cpi; |
| 6473 | if ( lpfv->mask & FV_ENCODING && |
| 6474 | lpfv->iEncoding >= 0 && |
| 6475 | lpfv->iEncoding < COUNTOF ( mEncoding ) ) { |
| 6476 | if ( ( mEncoding[lpfv->iEncoding].uFlags & NCP_INTERNAL ) || |
| 6477 | IsValidCodePage ( mEncoding[lpfv->iEncoding].uCodePage ) && |
| 6478 | GetCPInfo ( mEncoding[lpfv->iEncoding].uCodePage, &cpi ) ) { |
| 6479 | return ( TRUE ); |
| 6480 | } |
| 6481 | } |
| 6482 | return ( FALSE ); |
| 6483 | } |
| 6484 | |
| 6485 | |
| 6486 | //============================================================================= |
nothing calls this directly
no outgoing calls
no test coverage detected