shithub: aacenc

ref: 1ca9450623f43ba64b32f3a66f9a1301ad56c1fc
dir: /plugins/cooledit/defines.h/

View raw version
#define APP_NAME "MPEG4-AAC"
#define APP_VER "v2.0"
#define REGISTRY_PROGRAM_NAME "SOFTWARE\\4N\\CoolEdit\\AAC-MPEG4"

// -----------------------------------------------------------------------------------------------

#define FREE(ptr) \
{ \
	if(ptr) \
		free(ptr); \
	ptr=0; \
}

// -----------------------------------------------------------------------------------------------

#define GLOBALLOCK(ptr,handle,type,ret) \
{ \
	if(!(ptr=(type *)GlobalLock(handle))) \
	{ \
		MessageBox(0, "GlobalLock", APP_NAME " plugin", MB_OK|MB_ICONSTOP); \
		ret; \
	} \
}