mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[SHELL32]
- do not include headers that are already in precomp.h This time with necessary changes svn path=/trunk/; revision=52337
This commit is contained in:
parent
54179652bf
commit
0b46759664
|
@ -18,20 +18,10 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MAX_PROPERTY_SHEET_PAGE 32
|
|
||||||
|
|
||||||
#define WIN32_NO_STATUS
|
|
||||||
#define NTOS_MODE_USER
|
|
||||||
#define UNICODE
|
|
||||||
#define _UNICODE
|
|
||||||
#define COBJMACROS
|
|
||||||
#include <windows.h>
|
|
||||||
#include <ndk/ntndk.h>
|
|
||||||
#include <fmifs/fmifs.h>
|
|
||||||
#include <largeint.h>
|
|
||||||
|
|
||||||
#include <precomp.h>
|
#include <precomp.h>
|
||||||
|
|
||||||
|
#define MAX_PROPERTY_SHEET_PAGE 32
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
@ -668,7 +658,7 @@ AddPropSheetPageProc(HPROPSHEETPAGE hpage, LPARAM lParam)
|
||||||
PROPSHEETHEADER *ppsh = (PROPSHEETHEADER *)lParam;
|
PROPSHEETHEADER *ppsh = (PROPSHEETHEADER *)lParam;
|
||||||
if (ppsh != NULL && ppsh->nPages < MAX_PROPERTY_SHEET_PAGE)
|
if (ppsh != NULL && ppsh->nPages < MAX_PROPERTY_SHEET_PAGE)
|
||||||
{
|
{
|
||||||
ppsh->phpage[ppsh->nPages++] = hpage;
|
ppsh->u3.phpage[ppsh->nPages++] = hpage;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -691,8 +681,8 @@ SH_ShowDriveProperties(WCHAR * drive, LPCITEMIDLIST pidlFolder, LPCITEMIDLIST *
|
||||||
psh.dwSize = sizeof(PROPSHEETHEADERW);
|
psh.dwSize = sizeof(PROPSHEETHEADERW);
|
||||||
//psh.dwFlags = PSH_USECALLBACK | PSH_PROPTITLE;
|
//psh.dwFlags = PSH_USECALLBACK | PSH_PROPTITLE;
|
||||||
psh.hwndParent = NULL;
|
psh.hwndParent = NULL;
|
||||||
psh.nStartPage = 0;
|
psh.u2.nStartPage = 0;
|
||||||
psh.phpage = hpsp;
|
psh.u3.phpage = hpsp;
|
||||||
|
|
||||||
if (GetVolumeInformationW(drive, szName, sizeof(szName)/sizeof(WCHAR), NULL, &dwMaxComponent,
|
if (GetVolumeInformationW(drive, szName, sizeof(szName)/sizeof(WCHAR), NULL, &dwMaxComponent,
|
||||||
&dwFileSysFlags, NULL, 0))
|
&dwFileSysFlags, NULL, 0))
|
||||||
|
|
Loading…
Reference in a new issue