[WINCE]浏览指定目录

#include "stdafx.h"
#include <windows.h>
#include <commctrl.h>

#include <shellapi.h>

int _tmain(int argc, _TCHAR* argv[])
{
	
	SHELLEXECUTEINFO ShExecInfo ={0};
	ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
	ShExecInfo.fMask = SEE_MASK_FLAG_NO_UI;
	ShExecInfo.hwnd = NULL;
	ShExecInfo.lpVerb = L"explore";
	ShExecInfo.lpFile =L"\\Nandflash\\Tools";
	ShExecInfo.lpParameters = L""; 
	ShExecInfo.lpDirectory = NULL;
	ShExecInfo.nShow = SW_SHOW;
	ShExecInfo.hInstApp = NULL; 
	ShellExecuteEx(&ShExecInfo);

	return 0;
}


你可能感兴趣的:(null,include,WinCE)