FreeRDP
TestPathCchAddBackslash.c File Reference
#include <stdio.h>
#include <winpr/crt.h>
#include <winpr/path.h>
#include <winpr/tchar.h>
#include <winpr/winpr.h>

Functions

int TestPathCchAddBackslash (int argc, char *argv[])
 

Variables

static const TCHAR testPathBackslash [] = _T("C:\\Program Files\\")
 
static const TCHAR testPathNoBackslash [] = _T("C:\\Program Files")
 

Function Documentation

int TestPathCchAddBackslash ( int  argc,
char *  argv[] 
)

PathCchAddBackslash returns S_OK if the function was successful, S_FALSE if the path string already ends in a backslash, or an error code otherwise.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const TCHAR testPathBackslash[] = _T("C:\\Program Files\\")
static
const TCHAR testPathNoBackslash[] = _T("C:\\Program Files")
static