[svn] / trunk / xvidcore / vfw / src / config.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/vfw/src/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1826, Fri Nov 28 20:51:04 2008 UTC revision 1827, Sun Nov 30 16:38:31 2008 UTC
# Line 546  Line 546 
546  #define UINT_BUF_SZ     20  #define UINT_BUF_SZ     20
547  static int config_get_cbuint(HWND hDlg, UINT item, int def)  static int config_get_cbuint(HWND hDlg, UINT item, int def)
548  {  {
549          int sel = SendMessage(GetDlgItem(hDlg, item), CB_GETCURSEL, 0, 0);          LRESULT sel = SendMessage(GetDlgItem(hDlg, item), CB_GETCURSEL, 0, 0);
550          char buf[UINT_BUF_SZ];          char buf[UINT_BUF_SZ];
551    
552          if (sel<0) {          if (sel<0) {
# Line 703  Line 703 
703    
704  /* quantization matrix dialog proc */  /* quantization matrix dialog proc */
705    
706  static BOOL CALLBACK quantmatrix_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)  static INT_PTR CALLBACK quantmatrix_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
707  {  {
708          CONFIG* config = (CONFIG*)GetWindowLongPtr(hDlg, GWLP_USERDATA);          CONFIG* config = (CONFIG*)GetWindowLongPtr(hDlg, GWLP_USERDATA);
709    
# Line 1487  Line 1487 
1487    
1488  /* advanced dialog proc */  /* advanced dialog proc */
1489    
1490  static BOOL CALLBACK adv_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)  static INT_PTR CALLBACK adv_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
1491  {  {
1492          PROPSHEETINFO *psi;          PROPSHEETINFO *psi;
1493    
# Line 1918  Line 1918 
1918  static const int other_dlgs[] = { IDD_ENC, IDD_DEC, IDD_COMMON };  static const int other_dlgs[] = { IDD_ENC, IDD_DEC, IDD_COMMON };
1919    
1920    
1921  BOOL CALLBACK main_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)  INT_PTR CALLBACK main_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
1922  {  {
1923          CONFIG* config = (CONFIG*)GetWindowLongPtr(hDlg, GWLP_USERDATA);          CONFIG* config = (CONFIG*)GetWindowLongPtr(hDlg, GWLP_USERDATA);
1924          unsigned int i;          unsigned int i;
# Line 2231  Line 2231 
2231  /* LICENSE DIALOG ====================================================================== */  /* LICENSE DIALOG ====================================================================== */
2232  /* ===================================================================================== */  /* ===================================================================================== */
2233    
2234  static BOOL CALLBACK license_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)  static INT_PTR CALLBACK license_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
2235  {  {
2236          switch (uMsg)          switch (uMsg)
2237          {          {
# Line 2287  Line 2287 
2287  /* ABOUT DIALOG ======================================================================== */  /* ABOUT DIALOG ======================================================================== */
2288  /* ===================================================================================== */  /* ===================================================================================== */
2289    
2290  BOOL CALLBACK about_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)  INT_PTR CALLBACK about_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
2291  {  {
2292          switch (uMsg)          switch (uMsg)
2293          {          {

Legend:
Removed from v.1826  
changed lines
  Added in v.1827

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4