⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdafx.cpp

📁 1)用户界面模块负责响应用户的键盘鼠标输入设置服务器的各个参数
💻 CPP
字号:
// stdafx.cpp : source file that includes just the standard includes
//	FTPClient.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

bool VertifyPath(CString& lpszFileName,bool isDirCheck)
{
	DWORD dwAttributes = GetFileAttributes(lpszFileName);
    if (dwAttributes == 0xFFFFFFFF)
        return FALSE;

	if ((dwAttributes & FILE_ATTRIBUTE_DIRECTORY) == FILE_ATTRIBUTE_DIRECTORY)
	{
		if (isDirCheck)
			return TRUE;
		else
			return FALSE;
	}
	else
	{
		if (!isDirCheck)
			return TRUE;
		else
			return FALSE;
	}

	return false;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -