include: Drop some superfluous l modifiers from numeric constants.
This commit is contained in:
parent
4e3a581d16
commit
f869a16186
|
@ -26,7 +26,7 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef S_ASYNCHRONOUS
|
#ifndef S_ASYNCHRONOUS
|
||||||
#define S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401E8L)
|
#define S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401E8)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct _CabInfoA
|
typedef struct _CabInfoA
|
||||||
|
|
|
@ -454,25 +454,25 @@ typedef struct _PSHNOTIFY
|
||||||
SNDMSG(hDlg, PSM_ADDPAGE, 0, (LPARAM)hpage)
|
SNDMSG(hDlg, PSM_ADDPAGE, 0, (LPARAM)hpage)
|
||||||
|
|
||||||
#define PropSheet_Changed(hDlg, hwnd) \
|
#define PropSheet_Changed(hDlg, hwnd) \
|
||||||
SNDMSG(hDlg, PSM_CHANGED, (WPARAM)hwnd, 0L)
|
SNDMSG(hDlg, PSM_CHANGED, (WPARAM)hwnd, 0)
|
||||||
|
|
||||||
#define PropSheet_RestartWindows(hDlg) \
|
#define PropSheet_RestartWindows(hDlg) \
|
||||||
SNDMSG(hDlg, PSM_RESTARTWINDOWS, 0, 0L)
|
SNDMSG(hDlg, PSM_RESTARTWINDOWS, 0, 0)
|
||||||
|
|
||||||
#define PropSheet_RebootSystem(hDlg) \
|
#define PropSheet_RebootSystem(hDlg) \
|
||||||
SNDMSG(hDlg, PSM_REBOOTSYSTEM, 0, 0L)
|
SNDMSG(hDlg, PSM_REBOOTSYSTEM, 0, 0)
|
||||||
|
|
||||||
#define PropSheet_CancelToClose(hDlg) \
|
#define PropSheet_CancelToClose(hDlg) \
|
||||||
PostMessage(hDlg, PSM_CANCELTOCLOSE, 0, 0L)
|
PostMessage(hDlg, PSM_CANCELTOCLOSE, 0, 0)
|
||||||
|
|
||||||
#define PropSheet_QuerySiblings(hDlg, wParam, lParam) \
|
#define PropSheet_QuerySiblings(hDlg, wParam, lParam) \
|
||||||
SNDMSG(hDlg, PSM_QUERYSIBLINGS, wParam, lParam)
|
SNDMSG(hDlg, PSM_QUERYSIBLINGS, wParam, lParam)
|
||||||
|
|
||||||
#define PropSheet_UnChanged(hDlg, hwnd) \
|
#define PropSheet_UnChanged(hDlg, hwnd) \
|
||||||
SNDMSG(hDlg, PSM_UNCHANGED, (WPARAM)hwnd, 0L)
|
SNDMSG(hDlg, PSM_UNCHANGED, (WPARAM)hwnd, 0)
|
||||||
|
|
||||||
#define PropSheet_Apply(hDlg) \
|
#define PropSheet_Apply(hDlg) \
|
||||||
SNDMSG(hDlg, PSM_APPLY, 0, 0L)
|
SNDMSG(hDlg, PSM_APPLY, 0, 0)
|
||||||
|
|
||||||
#define PropSheet_SetTitle(hDlg, wStyle, lpszText)\
|
#define PropSheet_SetTitle(hDlg, wStyle, lpszText)\
|
||||||
SNDMSG(hDlg, PSM_SETTITLE, wStyle, (LPARAM)(LPCTSTR)lpszText)
|
SNDMSG(hDlg, PSM_SETTITLE, wStyle, (LPARAM)(LPCTSTR)lpszText)
|
||||||
|
@ -496,7 +496,7 @@ typedef struct _PSHNOTIFY
|
||||||
(BOOL)SNDMSG(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
|
(BOOL)SNDMSG(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
|
||||||
|
|
||||||
#define PropSheet_GetCurrentPageHwnd(hDlg) \
|
#define PropSheet_GetCurrentPageHwnd(hDlg) \
|
||||||
(HWND)SNDMSG(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0L)
|
(HWND)SNDMSG(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
|
||||||
|
|
||||||
#define PropSheet_InsertPage(hDlg, index, hpage) \
|
#define PropSheet_InsertPage(hDlg, index, hpage) \
|
||||||
SNDMSG(hDlg, PSM_INSERTPAGE, (WPARAM)(index), (LPARAM)(hpage))
|
SNDMSG(hDlg, PSM_INSERTPAGE, (WPARAM)(index), (LPARAM)(hpage))
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DEFINE_GUID(CLSID_Sti, 0xB323F8E0L, 0x2E68, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C);
|
DEFINE_GUID(CLSID_Sti, 0xB323F8E0, 0x2E68, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C);
|
||||||
|
|
||||||
DEFINE_GUID(IID_IStillImageW, 0x641BD880, 0x2DC8, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C);
|
DEFINE_GUID(IID_IStillImageW, 0x641BD880, 0x2DC8, 0x11D0, 0x90, 0xEA, 0x00, 0xAA, 0x00, 0x60, 0xF8, 0x6C);
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
/* Windows version includes this header. */
|
/* Windows version includes this header. */
|
||||||
/* #include <specstring.h> */
|
/* #include <specstring.h> */
|
||||||
|
|
||||||
#define STRSAFE_E_INSUFFICIENT_BUFFER ((HRESULT)0x8007007AL)
|
#define STRSAFE_E_INSUFFICIENT_BUFFER ((HRESULT)0x8007007A)
|
||||||
#define STRSAFE_E_INVALID_PARAM ((HRESULT)0x80070075L)
|
#define STRSAFE_E_INVALID_PARAM ((HRESULT)0x80070075)
|
||||||
#define STRSAFE_E_END_OF_FILE ((HRESULT)0x80070026L)
|
#define STRSAFE_E_END_OF_FILE ((HRESULT)0x80070026)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -408,7 +408,7 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME;
|
||||||
| WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE | WINHTTP_CALLBACK_STATUS_READ_COMPLETE \
|
| WINHTTP_CALLBACK_STATUS_DATA_AVAILABLE | WINHTTP_CALLBACK_STATUS_READ_COMPLETE \
|
||||||
| WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE | WINHTTP_CALLBACK_STATUS_REQUEST_ERROR)
|
| WINHTTP_CALLBACK_STATUS_WRITE_COMPLETE | WINHTTP_CALLBACK_STATUS_REQUEST_ERROR)
|
||||||
#define WINHTTP_CALLBACK_FLAG_ALL_NOTIFICATIONS 0xffffffff
|
#define WINHTTP_CALLBACK_FLAG_ALL_NOTIFICATIONS 0xffffffff
|
||||||
#define WINHTTP_INVALID_STATUS_CALLBACK ((WINHTTP_STATUS_CALLBACK)(-1L))
|
#define WINHTTP_INVALID_STATUS_CALLBACK ((WINHTTP_STATUS_CALLBACK)(-1))
|
||||||
|
|
||||||
#define API_RECEIVE_RESPONSE (1)
|
#define API_RECEIVE_RESPONSE (1)
|
||||||
#define API_QUERY_DATA_AVAILABLE (2)
|
#define API_QUERY_DATA_AVAILABLE (2)
|
||||||
|
|
|
@ -687,7 +687,7 @@ INTERNETAPI INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallbackW(HINTERNET
|
||||||
#define INTERNET_STATE_IDLE 0x00000100
|
#define INTERNET_STATE_IDLE 0x00000100
|
||||||
#define INTERNET_STATE_BUSY 0x00000200
|
#define INTERNET_STATE_BUSY 0x00000200
|
||||||
|
|
||||||
#define INTERNET_INVALID_STATUS_CALLBACK ((INTERNET_STATUS_CALLBACK)(-1L))
|
#define INTERNET_INVALID_STATUS_CALLBACK ((INTERNET_STATUS_CALLBACK)(-1))
|
||||||
|
|
||||||
#define FTP_TRANSFER_TYPE_UNKNOWN 0x00000000
|
#define FTP_TRANSFER_TYPE_UNKNOWN 0x00000000
|
||||||
#define FTP_TRANSFER_TYPE_ASCII 0x00000001
|
#define FTP_TRANSFER_TYPE_ASCII 0x00000001
|
||||||
|
|
|
@ -457,9 +457,9 @@ typedef struct _FILE_PIPE_PEEK_BUFFER {
|
||||||
/* Device GUIDs */
|
/* Device GUIDs */
|
||||||
#ifdef DEFINE_GUID
|
#ifdef DEFINE_GUID
|
||||||
|
|
||||||
DEFINE_GUID(GUID_DEVINTERFACE_COMPORT, 0x86E0D1E0L, 0x8089,
|
DEFINE_GUID(GUID_DEVINTERFACE_COMPORT, 0x86E0D1E0, 0x8089,
|
||||||
0x11D0, 0x9C, 0xE4, 0x08, 0x00, 0x3E, 0x30, 0x1F, 0x73);
|
0x11D0, 0x9C, 0xE4, 0x08, 0x00, 0x3E, 0x30, 0x1F, 0x73);
|
||||||
DEFINE_GUID(GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR, 0x4D36E978L, 0xE325,
|
DEFINE_GUID(GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR, 0x4D36E978, 0xE325,
|
||||||
0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18);
|
0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1, 0x03, 0x18);
|
||||||
|
|
||||||
/* obsolete GUID names */
|
/* obsolete GUID names */
|
||||||
|
|
|
@ -359,7 +359,7 @@ typedef struct _OVERLAPPED* LPWSAOVERLAPPED;
|
||||||
|
|
||||||
#define WSA_INVALID_EVENT ((WSAEVENT)NULL)
|
#define WSA_INVALID_EVENT ((WSAEVENT)NULL)
|
||||||
#define WSA_MAXIMUM_WAIT_EVENTS (MAXIMUM_WAIT_OBJECTS)
|
#define WSA_MAXIMUM_WAIT_EVENTS (MAXIMUM_WAIT_OBJECTS)
|
||||||
#define WSA_WAIT_FAILED ((DWORD)-1L)
|
#define WSA_WAIT_FAILED ((DWORD)-1)
|
||||||
#define WSA_WAIT_EVENT_0 (WAIT_OBJECT_0)
|
#define WSA_WAIT_EVENT_0 (WAIT_OBJECT_0)
|
||||||
#define WSA_WAIT_IO_COMPLETION (WAIT_IO_COMPLETION)
|
#define WSA_WAIT_IO_COMPLETION (WAIT_IO_COMPLETION)
|
||||||
#define WSA_WAIT_TIMEOUT (WAIT_TIMEOUT)
|
#define WSA_WAIT_TIMEOUT (WAIT_TIMEOUT)
|
||||||
|
|
Loading…
Reference in New Issue