The MinGW.OSDN Windows System Libraries. Formerly designated as "MinGW.org Windows System Libraries", this encapsulates the "mingwrt" C runtime library extensions, and the "w32api" 32-bit MS-Windows API libraries.
Please note that this project no longer owns the "MinGW.org" domain name; any software which may be distributed from that domain is NOT supported by this project.
Revision | b85bd37b4ecfc7eaf956cab48dccd03fe1a56f98 (tree) |
---|---|
Time | 2018-11-24 03:07:58 |
Author | Keith Marshall <keith@user...> |
Commiter | Keith Marshall |
Apply some more cosmetic layout adjustments.
@@ -1,3 +1,10 @@ | ||
1 | +2018-11-23 Keith Marshall <keith@users.osdn.me> | |
2 | + | |
3 | + Apply some more cosmetic layout adjustments. | |
4 | + | |
5 | + * include/commctrl.h: Keep 'typedef' and 'struct' on a single line, | |
6 | + for each untagged aggregate type definition. | |
7 | + | |
1 | 8 | 2018-11-18 Jelle Geerts <heisenbug@users.osdn.me> |
2 | 9 | |
3 | 10 | Fix MinGW-Bug #38736 (OSDN ticket). |
@@ -2376,27 +2376,23 @@ typedef COMBOBOXEXITEMW CONST *PCCOMBOEXITEMW; | ||
2376 | 2376 | |
2377 | 2377 | #if _WIN32_IE >= _WIN32_IE_IE40 |
2378 | 2378 | |
2379 | -typedef | |
2380 | -struct | |
2379 | +typedef struct | |
2381 | 2380 | { NMHDR hdr; |
2382 | 2381 | COMBOBOXEXITEMA ceItem; |
2383 | 2382 | } NMCOMBOBOXEXA, *PNMCOMBOBOXEXA; |
2384 | 2383 | |
2385 | -typedef | |
2386 | -struct | |
2384 | +typedef struct | |
2387 | 2385 | { NMHDR hdr; |
2388 | 2386 | COMBOBOXEXITEMW ceItem; |
2389 | 2387 | } NMCOMBOBOXEXW, *PNMCOMBOBOXEXW; |
2390 | 2388 | |
2391 | -typedef | |
2392 | -struct | |
2389 | +typedef struct | |
2393 | 2390 | { NMHDR hdr; |
2394 | 2391 | int iItemid; |
2395 | 2392 | WCHAR szText[CBEMAXSTRLEN]; |
2396 | 2393 | } NMCBEDRAGBEGINW, *LPNMCBEDRAGBEGINW, *PNMCBEDRAGBEGINW; |
2397 | 2394 | |
2398 | -typedef | |
2399 | -struct | |
2395 | +typedef struct | |
2400 | 2396 | { NMHDR hdr; |
2401 | 2397 | int iItemid; |
2402 | 2398 | char szText[CBEMAXSTRLEN]; |
@@ -2416,16 +2412,14 @@ struct tagLVKEYDOWN | ||
2416 | 2412 | UINT flags; |
2417 | 2413 | } NMLVKEYDOWN, *LPNMLVKEYDOWN; |
2418 | 2414 | |
2419 | -typedef | |
2420 | -struct | |
2415 | +typedef struct | |
2421 | 2416 | { NMHDR hdr; |
2422 | 2417 | DWORD dwFlag; |
2423 | 2418 | int iWidth; |
2424 | 2419 | int iHeight; |
2425 | 2420 | } NMPGCALCSIZE, *LPNMPGCALCSIZE; |
2426 | 2421 | |
2427 | -typedef | |
2428 | -struct | |
2422 | +typedef struct | |
2429 | 2423 | { /* FIXME: What are correct alignment constraints? What is correct type |
2430 | 2424 | * for fwKeys field? See: https://sourceforge.net/p/mingw/bugs/2248/ |
2431 | 2425 | */ |
@@ -2453,8 +2447,7 @@ struct tagNMTBHOTITEM | ||
2453 | 2447 | DWORD dwFlags; |
2454 | 2448 | } NMTBHOTITEM, *LPNMTBHOTITEM; |
2455 | 2449 | |
2456 | -typedef | |
2457 | -struct | |
2450 | +typedef struct | |
2458 | 2451 | { NMHDR hdr; |
2459 | 2452 | DWORD dwMask; |
2460 | 2453 | int idCommand; |
@@ -2464,8 +2457,7 @@ struct | ||
2464 | 2457 | int cchText; |
2465 | 2458 | } NMTBDISPINFOA, *LPNMTBDISPINFOA; |
2466 | 2459 | |
2467 | -typedef | |
2468 | -struct | |
2460 | +typedef struct | |
2469 | 2461 | { NMHDR hdr; |
2470 | 2462 | DWORD dwMask; |
2471 | 2463 | int idCommand; |
@@ -2521,8 +2513,7 @@ struct tagNMDATETIMECHANGE | ||
2521 | 2513 | SYSTEMTIME st; |
2522 | 2514 | } NMDATETIMECHANGE, *LPNMDATETIMECHANGE; |
2523 | 2515 | |
2524 | -typedef | |
2525 | -struct | |
2516 | +typedef struct | |
2526 | 2517 | { NMHDR hdr; |
2527 | 2518 | BOOL fChanged; |
2528 | 2519 | int iNewSelection; |
@@ -2530,8 +2521,7 @@ struct | ||
2530 | 2521 | int iWhy; |
2531 | 2522 | } NMCBEENDEDITW, *LPNMCBEENDEDITW, *PNMCBEENDEDITW; |
2532 | 2523 | |
2533 | -typedef | |
2534 | -struct | |
2524 | +typedef struct | |
2535 | 2525 | { NMHDR hdr; |
2536 | 2526 | BOOL fChanged; |
2537 | 2527 | int iNewSelection; |
@@ -2545,8 +2535,7 @@ struct _COLORMAP | ||
2545 | 2535 | COLORREF to; |
2546 | 2536 | } COLORMAP, *LPCOLORMAP; |
2547 | 2537 | |
2548 | -typedef | |
2549 | -struct | |
2538 | +typedef struct | |
2550 | 2539 | { UINT uNotification; |
2551 | 2540 | HWND hWnd; |
2552 | 2541 | POINT ptCursor; |
@@ -2566,8 +2555,7 @@ typedef const TBBUTTON *LPCTBBUTTON; | ||
2566 | 2555 | |
2567 | 2556 | #if _WIN32_IE >= _WIN32_IE_IE40 |
2568 | 2557 | |
2569 | -typedef | |
2570 | -struct | |
2558 | +typedef struct | |
2571 | 2559 | { UINT cbSize; |
2572 | 2560 | DWORD dwMask; |
2573 | 2561 | int idCommand; |
@@ -2580,8 +2568,7 @@ struct | ||
2580 | 2568 | int cchText; |
2581 | 2569 | } TBBUTTONINFOA, *LPTBBUTTONINFOA; |
2582 | 2570 | |
2583 | -typedef | |
2584 | -struct | |
2571 | +typedef struct | |
2585 | 2572 | { UINT cbSize; |
2586 | 2573 | DWORD dwMask; |
2587 | 2574 | int idCommand; |
@@ -2594,8 +2581,7 @@ struct | ||
2594 | 2581 | int cchText; |
2595 | 2582 | } TBBUTTONINFOW, *LPTBBUTTONINFOW; |
2596 | 2583 | |
2597 | -typedef | |
2598 | -struct | |
2584 | +typedef struct | |
2599 | 2585 | { int iButton; |
2600 | 2586 | DWORD dwFlags; |
2601 | 2587 | } TBINSERTMARK, *LPTBINSERTMARK; |
@@ -2622,8 +2608,7 @@ struct tagLVBKIMAGEW | ||
2622 | 2608 | |
2623 | 2609 | #endif /* _WIN32_IE >= _WIN32_IE_IE40 */ |
2624 | 2610 | |
2625 | -typedef | |
2626 | -struct | |
2611 | +typedef struct | |
2627 | 2612 | { NMHDR hdr; |
2628 | 2613 | int iItem; |
2629 | 2614 | TBBUTTON tbButton; |
@@ -2631,8 +2616,7 @@ struct | ||
2631 | 2616 | LPTSTR pszText; |
2632 | 2617 | } TBNOTIFY, *LPTBNOTIFY; |
2633 | 2618 | |
2634 | -typedef | |
2635 | -struct | |
2619 | +typedef struct | |
2636 | 2620 | { HKEY hkr; |
2637 | 2621 | LPCTSTR pszSubKey; |
2638 | 2622 | LPCTSTR pszValueName; |
@@ -2907,8 +2891,7 @@ struct tagTBSAVEPARAMSW | ||
2907 | 2891 | LPCWSTR pszValueName; |
2908 | 2892 | } TBSAVEPARAMSW; |
2909 | 2893 | |
2910 | -typedef | |
2911 | -struct | |
2894 | +typedef struct | |
2912 | 2895 | { HINSTANCE hInstOld; |
2913 | 2896 | UINT nIDOld; |
2914 | 2897 | HINSTANCE hInstNew; |