windows-nt/Source/XPSP1/NT/public/internal/base/inc/wowcmndg.h
2020-09-26 16:20:57 +08:00

38 lines
1.3 KiB
C

/******************************Module*Header*******************************\
* Module Name: wowcmndg.h *
* *
* Defines used between WOW and common dialogs. *
* *
* Created: 6-July-1994 *
* *
* Copyright (c) 1994-1998 Microsoft Corporation *
\**************************************************************************/
#ifndef _WOWCMNDG_H_
#define _WOWCMNDG_H_
//
// Used by various common dialogs to know that a WOW app
// is calling it.
//
#define PD_WOWAPP 0x80000000
#define CD_WOWAPP PD_WOWAPP
// Enable WOW to tell ComDlg32 which type of struct we want to thunk
// via Ssync_ANSI_UNICODE_Struct_For_WOW() export
#define WOW_CHOOSECOLOR 1
#define WOW_CHOOSEFONT 2
#define WOW_OPENFILENAME 3
#define WOW_PRINTDLG 4
//
// Used by Wx86 whcdlg32.dll to know that a Wx86 app
// is calling it. See windows\shell\comdlg\fileopen.h for the
// reason why it is not 0x40000000.
//
#define CD_WX86APP 0x04000000
#endif // ifndef _WOWCMNDG_H_