Changeset 324
- Timestamp:
- Sep 7, 2007, 6:36:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/api_window.sbp
r303 r324 79 79 Const _FuncName_wsprintf = "wsprintfW" 80 80 Const _FuncName_wvsprintf = "wvsprintfW" 81 Const _FuncName_ChangeDisplaySettings = "ChangeDisplaySettingsW" 82 Const _FuncName_ChangeDisplaySettingsEx= "ChangeDisplaySettingsExW" 83 Const _FuncName_EnumDisplaySettings= "EnumDisplaySettingsW" 84 Const _FuncName_EnumDisplaySettingsEx= "EnumDisplaySettingsExW" 85 Const _FuncName_EnumDisplayDevices= "EnumDisplayDevicesW" 81 86 #else 82 87 Const _FuncName_CallWindowProc = "CallWindowProcA" … … 151 156 Const _FuncName_wsprintf = "wsprintfA" 152 157 Const _FuncName_wvsprintf = "wvsprintfA" 158 Const _FuncName_ChangeDisplaySettings = "ChangeDisplaySettingsA" 159 Const _FuncName_ChangeDisplaySettingsEx= "ChangeDisplaySettingsExA" 160 Const _FuncName_EnumDisplaySettings= "EnumDisplaySettingsA" 161 Const _FuncName_EnumDisplaySettingsEx= "EnumDisplaySettingsExA" 162 Const _FuncName_EnumDisplayDevices= "EnumDisplayDevicesA" 153 163 #endif 154 164 … … 1402 1412 Declare Function SystemParametersInfo Lib "user32" Alias _FuncName_SystemParametersInfo (uiAction As DWord, uiParam As DWord, pvParam As VoidPtr, fWinIni As DWord) As BOOL 1403 1413 1414 Const CDS_UPDATEREGISTRY = &H00000001 1415 Const CDS_TEST = &H00000002 1416 Const CDS_FULLSCREEN = &H00000004 1417 Const CDS_GLOBAL = &H00000008 1418 Const CDS_SET_PRIMARY = &H00000010 1419 Const CDS_VIDEOPARAMETERS = &H00000020 1420 Const CDS_RESET = &H40000000 1421 Const CDS_NORESET = &H10000000 1422 1423 Const DISP_CHANGE_SUCCESSFUL = 0 1424 Const DISP_CHANGE_RESTART = 1 1425 Const DISP_CHANGE_FAILED = -1 1426 Const DISP_CHANGE_BADMODE = -2 1427 Const DISP_CHANGE_NOTUPDATED = -3 1428 Const DISP_CHANGE_BADFLAGS = -4 1429 Const DISP_CHANGE_BADPARAM = -5 1430 Const DISP_CHANGE_BADDUALVIEW = -6 1431 1432 #ifdef _INC_GDI 1433 Declare Function ChangeDisplaySettingsA Lib "user32" (ByVal lpDevMode As *DEVMODEA, ByVal dwFlags As DWord) As Long 1434 Declare Function ChangeDisplaySettingsW Lib "user32" (ByVal lpDevMode As *DEVMODEW, ByVal dwFlags As DWord) As Long 1435 #ifdef UNICODE 1436 Declare Function ChangeDisplaySettings Lib "user32" Alias _FuncName_ChangeDisplaySettings (ByVal lpDevMode As *DEVMODEW, ByVal dwFlags As DWord) As Long 1437 #else 1438 Declare Function ChangeDisplaySettings Lib "user32" Alias _FuncName_ChangeDisplaySettings (ByVal lpDevMode As *DEVMODEA, ByVal dwFlags As DWord) As Long 1439 #endif 1440 1441 Declare Function ChangeDisplaySettingsExA Lib "user32" (ByVal lpszDeviceName As LPCSTR, ByVal lpDevMode As *DEVMODEA, ByVal hwnd As HWND, ByVal dwFlags As DWord, ByVal lParam As VoidPtr) As Long 1442 Declare Function ChangeDisplaySettingsExW Lib "user32" (ByVal lpszDeviceName As LPCWSTR, ByVal lpDevMode As *DEVMODEW, ByVal hwnd As HWND, ByVal dwFlags As DWord, ByVal lParam As VoidPtr) As Long 1443 #ifdef UNICODE 1444 Declare Function ChangeDisplaySettingsEx Lib "user32" Alias _FuncName_ChangeDisplaySettingsEx (ByVal lpszDeviceName As LPCWSTR, ByVal lpDevMode As *DEVMODEW, ByVal hwnd As HWND, ByVal dwFlags As DWord, ByVal lParam As VoidPtr) As Long 1445 #else 1446 Declare Function ChangeDisplaySettingsEx Lib "user32" Alias _FuncName_ChangeDisplaySettingsEx (ByVal lpszDeviceName As LPCSTR, ByVal lpDevMode As *DEVMODEA, ByVal hwnd As HWND, ByVal dwFlags As DWord, ByVal lParam As VoidPtr) As Long 1447 #endif 1448 1449 Const ENUM_CURRENT_SETTINGS = ((-1) As DWord) 1450 Const ENUM_REGISTRY_SETTINGS = ((-2) As DWord) 1451 1452 Declare Function EnumDisplaySettingsA Lib "user32" (ByVal lpszDeviceName As LPCSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEA) As BOOL 1453 Declare Function EnumDisplaySettingsW Lib "user32" (ByVal lpszDeviceName As LPCWSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEW) As BOOL 1454 #ifdef UNICODE 1455 Declare Function EnumDisplaySettings Lib "user32" Alias _FuncName_EnumDisplaySettings (ByVal lpszDeviceName As LPCWSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEW) As BOOL 1456 #else 1457 Declare Function EnumDisplaySettings Lib "user32" Alias _FuncName_EnumDisplaySettings (ByVal lpszDeviceName As LPCSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEA) As BOOL 1458 #endif 1459 1460 /*#ifdef(WINVER >= 0x0500) 1461 Declare Function EnumDisplaySettingsExA Lib "user32" (ByVal lpszDeviceName As LPCSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEA, ByVal dwFlags As DWord) As BOOL 1462 Declare Function EnumDisplaySettingsExW Lib "user32" (ByVal lpszDeviceName As LPCWSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEW, ByVal dwFlags As DWord) As BOOL 1463 #ifdef UNICODE 1464 Declare Function EnumDisplaySettingsEx Lib "user32" Alias _FuncName_EnumDisplaySettingsEx (ByVal lpszDeviceName As LPCWSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEW, ByVal dwFlags As DWord) As BOOL 1465 #else 1466 Declare Function EnumDisplaySettingsEx Lib "user32" Alias _FuncName_EnumDisplaySettingsEx (ByVal lpszDeviceName As LPCSTR, ByVal iModeNum As DWord, ByVal lpDevMode As *DEVMODEA, ByVal dwFlags As DWord) As BOOL 1467 #endif 1468 1469 Const EDS_RAWMODE = &H00000002 1470 1471 Declare Function EnumDisplayDevicesA Lib "user32" (ByVal lpDevice As LPCSTR, ByVal iDevNum As DWord, ByVal lpDisplayDevice As *DISPLAY_DEVICEA, ByVal dwFlags As DWord) As BOOL 1472 Declare Function EnumDisplayDevicesW Lib "user32" (ByVal lpDevice As LPCWSTR, ByVal iDevNum As DWord, ByVal lpDisplayDevice As *DISPLAY_DEVICEW, ByVal dwFlags As DWord)As BOOL 1473 #ifdef UNICODE 1474 Declare Function EnumDisplayDevices Lib "user32" Alias _FuncName_EnumDisplayDevices (ByVal lpDevice As LPCWSTR, ByVal iDevNum As DWord, ByVal lpDisplayDevice As *DISPLAY_DEVICEW, ByVal dwFlags As DWord)As BOOL 1475 #else 1476 Declare Function EnumDisplayDevices Lib "user32" Alias _FuncName_EnumDisplayDevices (ByVal lpDevice As LPCSTR, ByVal iDevNum As DWord, ByVal lpDisplayDevice As *DISPLAY_DEVICEA, ByVal dwFlags As DWord) As BOOL 1477 #endif 1478 #endif */ /* WINVER >= 0x0500 */ 1479 #endif ' _INC_GDI 1480 1404 1481 Const TME_HOVER = &H00000001 1405 1482 Const TME_LEAVE = &H00000002 … … 1429 1506 Const TPM_RETURNCMD = &H0100 1430 1507 Const TPM_RECURSE = &H0001 1431 Declare Function TrackPopupMenu Lib "user32" (hMenu As HMENU, uFlags As DWord, x As Long, y As Long, nReserved As Long, hWnd As HWND, ByRef prcRect As RECT) As BOOL1508 Declare Function TrackPopupMenu Lib "user32" (hMenu As HMENU, uFlags As DWord, x As Long, y As Long, nReserved As Long, ByVal hWnd As HWND, ByRef prcRect As RECT) As BOOL 1432 1509 1433 1510 declare function UnhookWindowsHookEx lib "user32" (ByVal hhk As HHOOK) As BOOL
Note:
See TracChangeset
for help on using the changeset viewer.