shformatdrive.h

来自「Introduction A shared library is a coll」· C头文件 代码 · 共 38 行

H
38
字号
#if !defined(SHFMT_OPT_FULL)

#if defined (__cplusplus)
extern "C" {
#endif
	
	DWORD WINAPI SHFormatDrive(HWND hwnd,
		UINT drive,
		UINT fmtID,
		UINT options);
	
	// 
	// Special value of fmtID which means "use the defaultformat"
	// 
	
#define SHFMT_ID_DEFAULT   0xFFFF
	
	// 
	// Option bits for options parameter
	// 
	
#define SHFMT_OPT_FULL     0x0001
#define SHFMT_OPT_SYSONLY  0x0002
	
	// 
	// Special return values. PLEASE NOTE that these are DWORD values.
	// 
	
#define SHFMT_ERROR     0xFFFFFFFFL    // Error on last format,
	// drive may be formatable
#define SHFMT_CANCEL    0xFFFFFFFEL    // Last format wascanceled
#define SHFMT_NOFORMAT  0xFFFFFFFDL    // Drive is not formatable
	
#if defined (__cplusplus)
}
#endif
#endif

⌨️ 快捷键说明

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