History

Updated plugins for FAAC

menno committed 22 years ago

Commit 193311f1 parent 20faadc42 files · +3577 −2584Browse files

Showing the changes to plugins/cooledit/Main.cpp (1 of 42 files). Show all

Unified · Split

plugins/cooledit/Main.cpp+5−4
@@ -28,7 +28,7 @@ ntnfrn_email-temp@yahoo.it · 27 unmodified lines
2828 // Plugins of CoolEdit can be unloaded between each call of its exported funcs,
2929 // that's why no global variables can be used
3030
31−HINSTANCE hInst=NULL;
31+HINSTANCE hInstance=NULL;
3232 HBITMAP hBmBrowse=NULL;
3333
3434 BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved)
@@ -36,9 +36,9 @@ BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved) · 1 unmodified line
3636 switch (fdwReason)
3737 {
3838 case DLL_PROCESS_ATTACH:
39− hInst=(HINSTANCE)hModule;
39+ hInstance=(HINSTANCE)hModule;
4040 if(!hBmBrowse)
41− hBmBrowse=(HBITMAP)LoadImage(hInst,MAKEINTRESOURCE(IDB_BROWSE),IMAGE_BITMAP,0,0,/*LR_CREATEDIBSECTION|*/LR_LOADTRANSPARENT|LR_LOADMAP3DCOLORS);
41+ hBmBrowse=(HBITMAP)LoadImage(hInstance,MAKEINTRESOURCE(IDB_BROWSE),IMAGE_BITMAP,0,0,/*LR_CREATEDIBSECTION|*/LR_LOADTRANSPARENT|LR_LOADMAP3DCOLORS);
4242 /* Code from LibMain inserted here. Return TRUE to keep the
4343 DLL loaded or return FALSE to fail loading the DLL.
4444
@@ -80,7 +80,7 @@ BOOL WINAPI DllMain (HANDLE hModule, DWORD fdwReason, LPVOID lpReserved) · 35 unmodified lines
8080 LibMain) not be necessary. Check to make certain that the
8181 operating system is not doing it for you.
8282 */
83− hInst=NULL;
83+ hInstance=NULL;
8484 if(hBmBrowse)
8585 {
8686 DeleteObject(hBmBrowse);
@@ -102,6 +102,7 @@ short FAR PASCAL QueryCoolFilter(COOLQUERY far * cq) · 15 unmodified lines
102102 lstrcpy(cq->szCopyright, APP_NAME " codec");
103103 lstrcpy(cq->szExt,"AAC");
104104 lstrcpy(cq->szExt2,"MP4");
105+ lstrcpy(cq->szExt3,"M4A");
105106 cq->lChunkSize=16384;
106107 cq->dwFlags=QF_RATEADJUSTABLE|QF_CANLOAD|QF_CANSAVE|QF_HASOPTIONSBOX|QF_CANDO32BITFLOATS;
107108 cq->Mono8=R_5500|R_11025|R_22050|R_32075|R_44100|R_48000;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t