registry.h

来自「Virtual Floppy Driver」· C头文件 代码 · 共 40 行

H
40
字号
/*
	registry.h

	Generic registry manipulating functions
    Copyright (C) 2003 Kenji Kato
*/

#ifndef _REGISTRY_H_
#define _REGISTRY_H_

#ifdef __cplusplus
extern "C" {
#endif	/* __cplusplus */

/*	Get the associated program name of an extension	*/
DWORD GetAssociatedProgram(
	LPCTSTR ext,
	LPTSTR prog);

/*	Restore the previous association				*/
DWORD RestoreAssociation(
	LPCTSTR ext,
	LPCTSTR backup_value);

/*	Add an association to an extension				*/
DWORD AddAssociation(
	LPCTSTR ext,
	LPCTSTR type_prefix,
	LPCTSTR type_desc,
	LPCTSTR verb,
	LPCTSTR verb_desc,
	LPCTSTR program,
	int icon_idx);

#ifdef __cplusplus
}
#endif	/* __cplusplus */
#endif	/* _REGISTRY_H_	*/
/* end of file */

⌨️ 快捷键说明

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