19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: Configure.cpp,v 1.3 2004-07-18 02:00:05 suxen_drol Exp $ |
* $Id: Configure.cpp,v 1.6 2008-11-30 16:36:44 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
33 |
static HINSTANCE g_xvid_hInst; |
static HINSTANCE g_xvid_hInst; |
34 |
|
|
35 |
|
|
36 |
int adv_dialog(HWND hwndOwner) |
INT_PTR adv_dialog(HWND hwndOwner) |
37 |
{ |
{ |
38 |
PROPSHEETPAGE psp [1]; |
PROPSHEETPAGE psp [1]; |
39 |
PROPSHEETHEADER psh; |
PROPSHEETHEADER psh; |
52 |
psh.hwndParent = hwndOwner; |
psh.hwndParent = hwndOwner; |
53 |
psh.hInstance = g_xvid_hInst; |
psh.hInstance = g_xvid_hInst; |
54 |
psh.pszIcon = NULL; |
psh.pszIcon = NULL; |
55 |
psh.pszCaption = (LPSTR)"XviD Configuration"; |
psh.pszCaption = (LPSTR)"Xvid Configuration"; |
56 |
psh.nPages = sizeof (psp) / sizeof (PROPSHEETPAGE); |
psh.nPages = sizeof (psp) / sizeof (PROPSHEETPAGE); |
57 |
psh.ppsp = psp; |
psh.ppsp = psp; |
58 |
|
|
60 |
} |
} |
61 |
|
|
62 |
|
|
63 |
|
extern "C" void CALLBACK Configure(HWND hWndParent, HINSTANCE hInstParent, LPSTR lpCmdLine, int nCmdShow ); |
64 |
|
|
65 |
void CALLBACK Configure(HWND hWndParent, HINSTANCE hInstParent, LPSTR lpCmdLine, int nCmdShow ) |
void CALLBACK Configure(HWND hWndParent, HINSTANCE hInstParent, LPSTR lpCmdLine, int nCmdShow ) |
66 |
{ |
{ |
74 |
extern "C" BOOL WINAPI DllEntryPoint(HINSTANCE, ULONG, LPVOID); |
extern "C" BOOL WINAPI DllEntryPoint(HINSTANCE, ULONG, LPVOID); |
75 |
|
|
76 |
|
|
77 |
|
extern "C" BOOL WINAPI DllMain(HINSTANCE hInst, DWORD fdwReason, LPVOID lpvReserved); |
78 |
|
|
79 |
BOOL WINAPI DllMain(HINSTANCE hInst, DWORD fdwReason, LPVOID lpvReserved) |
BOOL WINAPI DllMain(HINSTANCE hInst, DWORD fdwReason, LPVOID lpvReserved) |
80 |
{ |
{ |
81 |
g_xvid_hInst = hInst; |
g_xvid_hInst = hInst; |