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.

Parameters

  • 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.

Notes

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

Example

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