============================================================================= FormatString()
| 863 | // FormatString() |
| 864 | // |
| 865 | int FormatString ( LPWSTR lpOutput, int nOutput, UINT uIdFormat, ... ) |
| 866 | { |
| 867 | WCHAR *p = LocalAlloc ( LPTR, sizeof ( WCHAR ) * nOutput ); |
| 868 | if ( GetString ( uIdFormat, p, nOutput ) ) { |
| 869 | wvsprintf ( lpOutput, p, ( LPVOID ) ( ( PUINT_PTR ) &uIdFormat + 1 ) ); |
| 870 | } |
| 871 | LocalFree ( p ); |
| 872 | return lstrlen ( lpOutput ); |
| 873 | } |
| 874 | |
| 875 | |
| 876 | //============================================================================= |
no outgoing calls
no test coverage detected