Windows API 第二篇 SHGetSpecialFolderPath
2021-07-07 16:08
标签:dia pre folder jpg lob pts display mon ati BOOL SHGetSpecialFolderPath( HWND hwndOwner, 参数解释: hwndOwner:Handle to the owner window the client should specify if it displays a dialog box or message box. lpszPath:Pointer to a null-terminated string that receives the drive and path of the specified folder. This buffer must be at least MAX_PATH characters in size nFolder:A CSIDL that identifies the folder of interest. If a virtual folder is specified, this function will fail. fCreate:Indicates if the folder should be created if it does not already exist. If this value is nonzero, the folder will be created. If this value is zero, the folder will not be created. 一个简单的test Windows API 第二篇 SHGetSpecialFolderPath 标签:dia pre folder jpg lob pts display mon ati 原文地址:https://www.cnblogs.com/priarieNew/p/9753922.html
LPTSTR lpszPath,
int nFolder,
BOOL fCreate
);
建立控制台程序:#include "stdafx.h"
#include
上一篇:c# 类
文章标题:Windows API 第二篇 SHGetSpecialFolderPath
文章链接:http://soscw.com/essay/102180.html