导航:  Windows Procedures >

AfxPathFindExtension

上一页返回章节概述下一页

描述

 

搜索扩展路径.

 

FreeBASIC 语法

 

FUNCTION AfxPathFindExtension (BYREF wszPath AS CONST WSTRING) AS CWSTR

 

参数

 

wszPath

 

包含搜索路径的字符串,包括正在搜索的扩展名.

 

返回值

 

文件扩展名.

 

备注

 

注意,有效的文件扩展名不能包含空格.

 

引用文件

 

AfxPath.inc

 

Sample code

 

DIM cws AS CWSTR = AfxPathFindExtension("C:\TEST\filetxt")