MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / FormatString

Function FormatString

src/Helpers.c:865–873  ·  view source on GitHub ↗

============================================================================= FormatString()

Source from the content-addressed store, hash-verified

863// FormatString()
864//
865int 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//=============================================================================

Callers 4

SetWindowTitleFunction · 0.85
StatusUpdatePrintPageFunction · 0.85
UpdateStatusbarFunction · 0.85
FileIOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected