LSAPI BOOL GetRCLine( LPCTSTR key, LPTSTR buffer, UINT buffer_size, LPCTSTR default);

Part of the LiteStep API, reads the line from step.rc that has key as the first token.


  • key - standard C string which contains the token to find
  • buffer - array to copy the line into.
  • buffer_size - size of buffer
  • default - string to copy to buffer if the line is not found

Return Value

    Returns TRUE if the line was found, FALSE if not.


  • Unlike GetRCString, this will return all tokens, not just the first one after the key.
  • The key is not included in the returned string.


Log in or register to write something here or to contact authors.