
/*
 * This file was generated by the SOM Compiler.
 * FileName: E:\cwpsh\rel\os2c\include\base\os2\wpdesk.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.14
 *     SOM Emitter emith: 2.43
 */

/*
 *   Module Header
 * 
 *   Module Name: WPDESK
 * 
 *   OS/2 Presentation Manager Workplace class definitions
 * 
 *   Copyright (c) International Business Machines Corporation 1991, 1992
 * 
 */


#ifndef SOM_WPDesktop_h
#define SOM_WPDesktop_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

/*
 * Define the class name as an object type
 */
#ifndef WPDesktop
#define WPDesktop SOMObject
#endif
#include <wpfolder.h>

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef WPFolder
    #define WPFolder SOMObject
#endif /* WPFolder */
#ifndef M_WPObject
    #define M_WPObject SOMObject
#endif /* M_WPObject */
#ifndef WPObject
    #define WPObject SOMObject
#endif /* WPObject */
#ifndef WPImageFile
    #define WPImageFile SOMObject
#endif /* WPImageFile */
#ifndef M_WPFileSystem
    #define M_WPFileSystem SOMObject
#endif /* M_WPFileSystem */
#ifndef M_WPFolder
    #define M_WPFolder SOMObject
#endif /* M_WPFolder */
#ifndef M_WPDesktop
    #define M_WPDesktop SOMObject
#endif /* M_WPDesktop */

/*
 * End of bindings for IDL types.
 */

#define WPDesktop_MajorVersion 1
#define WPDesktop_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define WPDesktopNewClass WPDesktopc
#pragma linkage(WPDesktopc, system)
#define WPDesktopClassData WPDesktopd
#define WPDesktopCClassData WPDesktopx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */

/*
 * Include the meta class file
 */
#include <wpdesk.h>
/*--------------Migration------------*/
#define WPDesktop_classObj WPDesktopClassData.classObject
#define _WPDesktop WPDesktop_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK WPDesktopNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(WPDesktopNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct WPDesktopClassDataStructure {
	SOMClass *classObject;
	somMToken wpIsCurrentDesktop;
	somMToken wpAddDesktopLockup1Page;
	somMToken wpAddDesktopLockup2Page;
	somMToken wpAddDesktopLockup3Page;
	somMToken wpAddDesktopArcRest1Page;
	somMToken wpAddDesktopDefDT1Page;
	somMToken wpQueryDefaultDropOp;
	somMToken wpSetDefaultDropOp;
	somMToken wpQueryAutoLockup;
	somMToken wpSetAutoLockup;
	somMToken wpQueryLockupTimeout;
	somMToken wpSetLockupTimeout;
	somMToken wpQueryLockupOnStartup;
	somMToken wpSetLockupOnStartup;
	somMToken wpQueryLockupFullScreen;
	somMToken wpSetLockupFullScreen;
	somMToken wpQueryLockupAutoDim;
	somMToken wpSetLockupAutoDim;
	somMToken wpQueryLockupBackground;
	somMToken wpSetLockupBackground;
} SOMDLINK WPDesktopClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct WPDesktopCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOMDLINK WPDesktopCClassData;

/*
 * New and Renew macros for WPDesktop
 */
#define WPDesktopNew() \
   ( _WPDesktop ? \
	_somNew(_WPDesktop) \
	: ( WPDesktopNewClass(\
		WPDesktop_MajorVersion, \
		WPDesktop_MinorVersion),\
	   _somNew(_WPDesktop)))
#define WPDesktopRenew(buf) \
   ( _WPDesktop ? \
	_somRenew(_WPDesktop, buf) \
	: ( WPDesktopNewClass(\
		WPDesktop_MajorVersion, \
		WPDesktop_MinorVersion),\
	   _somRenew(_WPDesktop, buf)))

/*
 * Override method: wpInitData
 */
#define WPDesktop_wpInitData(somSelf) \
	WPObject_wpInitData(somSelf)

/*
 * Override method: wpSaveState
 */
#define WPDesktop_wpSaveState(somSelf) \
	WPObject_wpSaveState(somSelf)

/*
 * Override method: wpRestoreState
 */
#define WPDesktop_wpRestoreState(somSelf,ulReserved) \
	WPObject_wpRestoreState(somSelf,ulReserved)

/*
 * Override method: wpMenuItemSelected
 */
#define WPDesktop_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId) \
	WPObject_wpMenuItemSelected(somSelf,hwndFrame,ulMenuId)

/*
 * Override method: wpAddSettingsPages
 */
#define WPDesktop_wpAddSettingsPages(somSelf,hwndNotebook) \
	WPObject_wpAddSettingsPages(somSelf,hwndNotebook)

/*
 * Override method: wpFilterMenu
 */
#define WPDesktop_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved) \
	WPObject_wpFilterMenu(somSelf,pFlags,hwndCnr,fMultiSelect,ulMenuType,ulView,ulReserved)

/*
 * Override method: wpModifyMenu
 */
#define WPDesktop_wpModifyMenu(somSelf,hwndMenu,hwndCnr,iPosition,ulMenuType,ulView,ulReserved) \
	WPObject_wpModifyMenu(somSelf,hwndMenu,hwndCnr,iPosition,ulMenuType,ulView,ulReserved)

/*
 * Override method: wpSetup
 */
#define WPDesktop_wpSetup(somSelf,pszSetupString) \
	WPObject_wpSetup(somSelf,pszSetupString)

/*
 * Override method: somDefaultInit
 */
#define WPDesktop_somDefaultInit(somSelf,ctrl) \
	SOMObject_somDefaultInit(somSelf,ctrl)

/*
 * Override method: somDestruct
 */
#define WPDesktop_somDestruct(somSelf,doFree,ctrl) \
	SOMObject_somDestruct(somSelf,doFree,ctrl)

/*
 * Override method: wpPopulate
 */
#define WPDesktop_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly) \
	WPFolder_wpPopulate(somSelf,ulReserved,pszPath,fFoldersOnly)

/*
 * New Method: wpIsCurrentDesktop
 */
typedef BOOL   SOMLINK somTP_WPDesktop_wpIsCurrentDesktop(WPDesktop *somSelf);
#pragma linkage(somTP_WPDesktop_wpIsCurrentDesktop, system)
typedef somTP_WPDesktop_wpIsCurrentDesktop *somTD_WPDesktop_wpIsCurrentDesktop;
#define somMD_WPDesktop_wpIsCurrentDesktop "::WPDesktop::wpIsCurrentDesktop"
#define WPDesktop_wpIsCurrentDesktop(somSelf) \
    (SOM_Resolve(somSelf, WPDesktop, wpIsCurrentDesktop) \
	(somSelf))
#ifndef SOMGD_wpIsCurrentDesktop
    #if (defined(_wpIsCurrentDesktop) || defined(__wpIsCurrentDesktop))
        #undef _wpIsCurrentDesktop
        #undef __wpIsCurrentDesktop
        #define SOMGD_wpIsCurrentDesktop 1
    #else
        #define _wpIsCurrentDesktop WPDesktop_wpIsCurrentDesktop
    #endif /* _wpIsCurrentDesktop */
#endif /* SOMGD_wpIsCurrentDesktop */

/*
 * New Method: wpAddDesktopLockup1Page
 */
typedef ULONG   SOMLINK somTP_WPDesktop_wpAddDesktopLockup1Page(WPDesktop *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPDesktop_wpAddDesktopLockup1Page, system)
typedef somTP_WPDesktop_wpAddDesktopLockup1Page *somTD_WPDesktop_wpAddDesktopLockup1Page;
#define somMD_WPDesktop_wpAddDesktopLockup1Page "::WPDesktop::wpAddDesktopLockup1Page"
#define WPDesktop_wpAddDesktopLockup1Page(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPDesktop, wpAddDesktopLockup1Page) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddDesktopLockup1Page
    #if (defined(_wpAddDesktopLockup1Page) || defined(__wpAddDesktopLockup1Page))
        #undef _wpAddDesktopLockup1Page
        #undef __wpAddDesktopLockup1Page
        #define SOMGD_wpAddDesktopLockup1Page 1
    #else
        #define _wpAddDesktopLockup1Page WPDesktop_wpAddDesktopLockup1Page
    #endif /* _wpAddDesktopLockup1Page */
#endif /* SOMGD_wpAddDesktopLockup1Page */

/*
 * New Method: wpAddDesktopLockup2Page
 */
typedef ULONG   SOMLINK somTP_WPDesktop_wpAddDesktopLockup2Page(WPDesktop *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPDesktop_wpAddDesktopLockup2Page, system)
typedef somTP_WPDesktop_wpAddDesktopLockup2Page *somTD_WPDesktop_wpAddDesktopLockup2Page;
#define somMD_WPDesktop_wpAddDesktopLockup2Page "::WPDesktop::wpAddDesktopLockup2Page"
#define WPDesktop_wpAddDesktopLockup2Page(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPDesktop, wpAddDesktopLockup2Page) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddDesktopLockup2Page
    #if (defined(_wpAddDesktopLockup2Page) || defined(__wpAddDesktopLockup2Page))
        #undef _wpAddDesktopLockup2Page
        #undef __wpAddDesktopLockup2Page
        #define SOMGD_wpAddDesktopLockup2Page 1
    #else
        #define _wpAddDesktopLockup2Page WPDesktop_wpAddDesktopLockup2Page
    #endif /* _wpAddDesktopLockup2Page */
#endif /* SOMGD_wpAddDesktopLockup2Page */

/*
 * New Method: wpAddDesktopLockup3Page
 */
typedef ULONG   SOMLINK somTP_WPDesktop_wpAddDesktopLockup3Page(WPDesktop *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPDesktop_wpAddDesktopLockup3Page, system)
typedef somTP_WPDesktop_wpAddDesktopLockup3Page *somTD_WPDesktop_wpAddDesktopLockup3Page;
#define somMD_WPDesktop_wpAddDesktopLockup3Page "::WPDesktop::wpAddDesktopLockup3Page"
#define WPDesktop_wpAddDesktopLockup3Page(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPDesktop, wpAddDesktopLockup3Page) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddDesktopLockup3Page
    #if (defined(_wpAddDesktopLockup3Page) || defined(__wpAddDesktopLockup3Page))
        #undef _wpAddDesktopLockup3Page
        #undef __wpAddDesktopLockup3Page
        #define SOMGD_wpAddDesktopLockup3Page 1
    #else
        #define _wpAddDesktopLockup3Page WPDesktop_wpAddDesktopLockup3Page
    #endif /* _wpAddDesktopLockup3Page */
#endif /* SOMGD_wpAddDesktopLockup3Page */

/*
 * New Method: wpAddDesktopArcRest1Page
 */
typedef ULONG   SOMLINK somTP_WPDesktop_wpAddDesktopArcRest1Page(WPDesktop *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPDesktop_wpAddDesktopArcRest1Page, system)
typedef somTP_WPDesktop_wpAddDesktopArcRest1Page *somTD_WPDesktop_wpAddDesktopArcRest1Page;
#define somMD_WPDesktop_wpAddDesktopArcRest1Page "::WPDesktop::wpAddDesktopArcRest1Page"
#define WPDesktop_wpAddDesktopArcRest1Page(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPDesktop, wpAddDesktopArcRest1Page) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddDesktopArcRest1Page
    #if (defined(_wpAddDesktopArcRest1Page) || defined(__wpAddDesktopArcRest1Page))
        #undef _wpAddDesktopArcRest1Page
        #undef __wpAddDesktopArcRest1Page
        #define SOMGD_wpAddDesktopArcRest1Page 1
    #else
        #define _wpAddDesktopArcRest1Page WPDesktop_wpAddDesktopArcRest1Page
    #endif /* _wpAddDesktopArcRest1Page */
#endif /* SOMGD_wpAddDesktopArcRest1Page */

/*
 * New Method: wpAddDesktopDefDT1Page
 */
typedef ULONG   SOMLINK somTP_WPDesktop_wpAddDesktopDefDT1Page(WPDesktop *somSelf, 
		HWND hwndNotebook);
#pragma linkage(somTP_WPDesktop_wpAddDesktopDefDT1Page, system)
typedef somTP_WPDesktop_wpAddDesktopDefDT1Page *somTD_WPDesktop_wpAddDesktopDefDT1Page;
#define somMD_WPDesktop_wpAddDesktopDefDT1Page "::WPDesktop::wpAddDesktopDefDT1Page"
#define WPDesktop_wpAddDesktopDefDT1Page(somSelf,hwndNotebook) \
    (SOM_Resolve(somSelf, WPDesktop, wpAddDesktopDefDT1Page) \
	(somSelf,hwndNotebook))
#ifndef SOMGD_wpAddDesktopDefDT1Page
    #if (defined(_wpAddDesktopDefDT1Page) || defined(__wpAddDesktopDefDT1Page))
        #undef _wpAddDesktopDefDT1Page
        #undef __wpAddDesktopDefDT1Page
        #define SOMGD_wpAddDesktopDefDT1Page 1
    #else
        #define _wpAddDesktopDefDT1Page WPDesktop_wpAddDesktopDefDT1Page
    #endif /* _wpAddDesktopDefDT1Page */
#endif /* SOMGD_wpAddDesktopDefDT1Page */

/*
 * New Method: wpQueryDefaultDropOp
 */
typedef ULONG   SOMLINK somTP_WPDesktop_wpQueryDefaultDropOp(WPDesktop *somSelf);
#pragma linkage(somTP_WPDesktop_wpQueryDefaultDropOp, system)
typedef somTP_WPDesktop_wpQueryDefaultDropOp *somTD_WPDesktop_wpQueryDefaultDropOp;
#define somMD_WPDesktop_wpQueryDefaultDropOp "::WPDesktop::wpQueryDefaultDropOp"
#define WPDesktop_wpQueryDefaultDropOp(somSelf) \
    (SOM_Resolve(somSelf, WPDesktop, wpQueryDefaultDropOp) \
	(somSelf))
#ifndef SOMGD_wpQueryDefaultDropOp
    #if (defined(_wpQueryDefaultDropOp) || defined(__wpQueryDefaultDropOp))
        #undef _wpQueryDefaultDropOp
        #undef __wpQueryDefaultDropOp
        #define SOMGD_wpQueryDefaultDropOp 1
    #else
        #define _wpQueryDefaultDropOp WPDesktop_wpQueryDefaultDropOp
    #endif /* _wpQueryDefaultDropOp */
#endif /* SOMGD_wpQueryDefaultDropOp */

/*
 * New Method: wpSetDefaultDropOp
 */
typedef BOOL   SOMLINK somTP_WPDesktop_wpSetDefaultDropOp(WPDesktop *somSelf, 
		ULONG ulDefaultDropOp);
#pragma linkage(somTP_WPDesktop_wpSetDefaultDropOp, system)
typedef somTP_WPDesktop_wpSetDefaultDropOp *somTD_WPDesktop_wpSetDefaultDropOp;
#define somMD_WPDesktop_wpSetDefaultDropOp "::WPDesktop::wpSetDefaultDropOp"
#define WPDesktop_wpSetDefaultDropOp(somSelf,ulDefaultDropOp) \
    (SOM_Resolve(somSelf, WPDesktop, wpSetDefaultDropOp) \
	(somSelf,ulDefaultDropOp))
#ifndef SOMGD_wpSetDefaultDropOp
    #if (defined(_wpSetDefaultDropOp) || defined(__wpSetDefaultDropOp))
        #undef _wpSetDefaultDropOp
        #undef __wpSetDefaultDropOp
        #define SOMGD_wpSetDefaultDropOp 1
    #else
        #define _wpSetDefaultDropOp WPDesktop_wpSetDefaultDropOp
    #endif /* _wpSetDefaultDropOp */
#endif /* SOMGD_wpSetDefaultDropOp */

/*
 * New Method: wpQueryAutoLockup
 */
typedef BOOL   SOMLINK somTP_WPDesktop_wpQueryAutoLockup(WPDesktop *somSelf);
#pragma linkage(somTP_WPDesktop_wpQueryAutoLockup, system)
typedef somTP_WPDesktop_wpQueryAutoLockup *somTD_WPDesktop_wpQueryAutoLockup;
#define somMD_WPDesktop_wpQueryAutoLockup "::WPDesktop::wpQueryAutoLockup"
#define WPDesktop_wpQueryAutoLockup(somSelf) \
    (SOM_Resolve(somSelf, WPDesktop, wpQueryAutoLockup) \
	(somSelf))
#ifndef SOMGD_wpQueryAutoLockup
    #if (defined(_wpQueryAutoLockup) || defined(__wpQueryAutoLockup))
        #undef _wpQueryAutoLockup
        #undef __wpQueryAutoLockup
        #define SOMGD_wpQueryAutoLockup 1
    #else
        #define _wpQueryAutoLockup WPDesktop_wpQueryAutoLockup
    #endif /* _wpQueryAutoLockup */
#endif /* SOMGD_wpQueryAutoLockup */

/*
 * New Method: wpSetAutoLockup
 */
typedef void   SOMLINK somTP_WPDesktop_wpSetAutoLockup(WPDesktop *somSelf, 
		BOOL bAutoLockup);
#pragma linkage(somTP_WPDesktop_wpSetAutoLockup, system)
typedef somTP_WPDesktop_wpSetAutoLockup *somTD_WPDesktop_wpSetAutoLockup;
#define somMD_WPDesktop_wpSetAutoLockup "::WPDesktop::wpSetAutoLockup"
#define WPDesktop_wpSetAutoLockup(somSelf,bAutoLockup) \
    (SOM_Resolve(somSelf, WPDesktop, wpSetAutoLockup) \
	(somSelf,bAutoLockup))
#ifndef SOMGD_wpSetAutoLockup
    #if (defined(_wpSetAutoLockup) || defined(__wpSetAutoLockup))
        #undef _wpSetAutoLockup
        #undef __wpSetAutoLockup
        #define SOMGD_wpSetAutoLockup 1
    #else
        #define _wpSetAutoLockup WPDesktop_wpSetAutoLockup
    #endif /* _wpSetAutoLockup */
#endif /* SOMGD_wpSetAutoLockup */

/*
 * New Method: wpQueryLockupTimeout
 */
typedef ULONG   SOMLINK somTP_WPDesktop_wpQueryLockupTimeout(WPDesktop *somSelf);
#pragma linkage(somTP_WPDesktop_wpQueryLockupTimeout, system)
typedef somTP_WPDesktop_wpQueryLockupTimeout *somTD_WPDesktop_wpQueryLockupTimeout;
#define somMD_WPDesktop_wpQueryLockupTimeout "::WPDesktop::wpQueryLockupTimeout"
#define WPDesktop_wpQueryLockupTimeout(somSelf) \
    (SOM_Resolve(somSelf, WPDesktop, wpQueryLockupTimeout) \
	(somSelf))
#ifndef SOMGD_wpQueryLockupTimeout
    #if (defined(_wpQueryLockupTimeout) || defined(__wpQueryLockupTimeout))
        #undef _wpQueryLockupTimeout
        #undef __wpQueryLockupTimeout
        #define SOMGD_wpQueryLockupTimeout 1
    #else
        #define _wpQueryLockupTimeout WPDesktop_wpQueryLockupTimeout
    #endif /* _wpQueryLockupTimeout */
#endif /* SOMGD_wpQueryLockupTimeout */

/*
 * New Method: wpSetLockupTimeout
 */
typedef void   SOMLINK somTP_WPDesktop_wpSetLockupTimeout(WPDesktop *somSelf, 
		ULONG ulLockupTimeout);
#pragma linkage(somTP_WPDesktop_wpSetLockupTimeout, system)
typedef somTP_WPDesktop_wpSetLockupTimeout *somTD_WPDesktop_wpSetLockupTimeout;
#define somMD_WPDesktop_wpSetLockupTimeout "::WPDesktop::wpSetLockupTimeout"
#define WPDesktop_wpSetLockupTimeout(somSelf,ulLockupTimeout) \
    (SOM_Resolve(somSelf, WPDesktop, wpSetLockupTimeout) \
	(somSelf,ulLockupTimeout))
#ifndef SOMGD_wpSetLockupTimeout
    #if (defined(_wpSetLockupTimeout) || defined(__wpSetLockupTimeout))
        #undef _wpSetLockupTimeout
        #undef __wpSetLockupTimeout
        #define SOMGD_wpSetLockupTimeout 1
    #else
        #define _wpSetLockupTimeout WPDesktop_wpSetLockupTimeout
    #endif /* _wpSetLockupTimeout */
#endif /* SOMGD_wpSetLockupTimeout */

/*
 * New Method: wpQueryLockupOnStartup
 */
typedef BOOL   SOMLINK somTP_WPDesktop_wpQueryLockupOnStartup(WPDesktop *somSelf);
#pragma linkage(somTP_WPDesktop_wpQueryLockupOnStartup, system)
typedef somTP_WPDesktop_wpQueryLockupOnStartup *somTD_WPDesktop_wpQueryLockupOnStartup;
#define somMD_WPDesktop_wpQueryLockupOnStartup "::WPDesktop::wpQueryLockupOnStartup"
#define WPDesktop_wpQueryLockupOnStartup(somSelf) \
    (SOM_Resolve(somSelf, WPDesktop, wpQueryLockupOnStartup) \
	(somSelf))
#ifndef SOMGD_wpQueryLockupOnStartup
    #if (defined(_wpQueryLockupOnStartup) || defined(__wpQueryLockupOnStartup))
        #undef _wpQueryLockupOnStartup
        #undef __wpQueryLockupOnStartup
        #define SOMGD_wpQueryLockupOnStartup 1
    #else
        #define _wpQueryLockupOnStartup WPDesktop_wpQueryLockupOnStartup
    #endif /* _wpQueryLockupOnStartup */
#endif /* SOMGD_wpQueryLockupOnStartup */

/*
 * New Method: wpSetLockupOnStartup
 */
typedef void   SOMLINK somTP_WPDesktop_wpSetLockupOnStartup(WPDesktop *somSelf, 
		BOOL bLockupOnStartup);
#pragma linkage(somTP_WPDesktop_wpSetLockupOnStartup, system)
typedef somTP_WPDesktop_wpSetLockupOnStartup *somTD_WPDesktop_wpSetLockupOnStartup;
#define somMD_WPDesktop_wpSetLockupOnStartup "::WPDesktop::wpSetLockupOnStartup"
#define WPDesktop_wpSetLockupOnStartup(somSelf,bLockupOnStartup) \
    (SOM_Resolve(somSelf, WPDesktop, wpSetLockupOnStartup) \
	(somSelf,bLockupOnStartup))
#ifndef SOMGD_wpSetLockupOnStartup
    #if (defined(_wpSetLockupOnStartup) || defined(__wpSetLockupOnStartup))
        #undef _wpSetLockupOnStartup
        #undef __wpSetLockupOnStartup
        #define SOMGD_wpSetLockupOnStartup 1
    #else
        #define _wpSetLockupOnStartup WPDesktop_wpSetLockupOnStartup
    #endif /* _wpSetLockupOnStartup */
#endif /* SOMGD_wpSetLockupOnStartup */

/*
 * New Method: wpQueryLockupFullScreen
 */
typedef BOOL   SOMLINK somTP_WPDesktop_wpQueryLockupFullScreen(WPDesktop *somSelf);
#pragma linkage(somTP_WPDesktop_wpQueryLockupFullScreen, system)
typedef somTP_WPDesktop_wpQueryLockupFullScreen *somTD_WPDesktop_wpQueryLockupFullScreen;
#define somMD_WPDesktop_wpQueryLockupFullScreen "::WPDesktop::wpQueryLockupFullScreen"
#define WPDesktop_wpQueryLockupFullScreen(somSelf) \
    (SOM_Resolve(somSelf, WPDesktop, wpQueryLockupFullScreen) \
	(somSelf))
#ifndef SOMGD_wpQueryLockupFullScreen
    #if (defined(_wpQueryLockupFullScreen) || defined(__wpQueryLockupFullScreen))
        #undef _wpQueryLockupFullScreen
        #undef __wpQueryLockupFullScreen
        #define SOMGD_wpQueryLockupFullScreen 1
    #else
        #define _wpQueryLockupFullScreen WPDesktop_wpQueryLockupFullScreen
    #endif /* _wpQueryLockupFullScreen */
#endif /* SOMGD_wpQueryLockupFullScreen */

/*
 * New Method: wpSetLockupFullScreen
 */
typedef void   SOMLINK somTP_WPDesktop_wpSetLockupFullScreen(WPDesktop *somSelf, 
		BOOL bLockupFullScreen);
#pragma linkage(somTP_WPDesktop_wpSetLockupFullScreen, system)
typedef somTP_WPDesktop_wpSetLockupFullScreen *somTD_WPDesktop_wpSetLockupFullScreen;
#define somMD_WPDesktop_wpSetLockupFullScreen "::WPDesktop::wpSetLockupFullScreen"
#define WPDesktop_wpSetLockupFullScreen(somSelf,bLockupFullScreen) \
    (SOM_Resolve(somSelf, WPDesktop, wpSetLockupFullScreen) \
	(somSelf,bLockupFullScreen))
#ifndef SOMGD_wpSetLockupFullScreen
    #if (defined(_wpSetLockupFullScreen) || defined(__wpSetLockupFullScreen))
        #undef _wpSetLockupFullScreen
        #undef __wpSetLockupFullScreen
        #define SOMGD_wpSetLockupFullScreen 1
    #else
        #define _wpSetLockupFullScreen WPDesktop_wpSetLockupFullScreen
    #endif /* _wpSetLockupFullScreen */
#endif /* SOMGD_wpSetLockupFullScreen */

/*
 * New Method: wpQueryLockupAutoDim
 */
typedef BOOL   SOMLINK somTP_WPDesktop_wpQueryLockupAutoDim(WPDesktop *somSelf);
#pragma linkage(somTP_WPDesktop_wpQueryLockupAutoDim, system)
typedef somTP_WPDesktop_wpQueryLockupAutoDim *somTD_WPDesktop_wpQueryLockupAutoDim;
#define somMD_WPDesktop_wpQueryLockupAutoDim "::WPDesktop::wpQueryLockupAutoDim"
#define WPDesktop_wpQueryLockupAutoDim(somSelf) \
    (SOM_Resolve(somSelf, WPDesktop, wpQueryLockupAutoDim) \
	(somSelf))
#ifndef SOMGD_wpQueryLockupAutoDim
    #if (defined(_wpQueryLockupAutoDim) || defined(__wpQueryLockupAutoDim))
        #undef _wpQueryLockupAutoDim
        #undef __wpQueryLockupAutoDim
        #define SOMGD_wpQueryLockupAutoDim 1
    #else
        #define _wpQueryLockupAutoDim WPDesktop_wpQueryLockupAutoDim
    #endif /* _wpQueryLockupAutoDim */
#endif /* SOMGD_wpQueryLockupAutoDim */

/*
 * New Method: wpSetLockupAutoDim
 */
typedef void   SOMLINK somTP_WPDesktop_wpSetLockupAutoDim(WPDesktop *somSelf, 
		BOOL bLockupAutoDim);
#pragma linkage(somTP_WPDesktop_wpSetLockupAutoDim, system)
typedef somTP_WPDesktop_wpSetLockupAutoDim *somTD_WPDesktop_wpSetLockupAutoDim;
#define somMD_WPDesktop_wpSetLockupAutoDim "::WPDesktop::wpSetLockupAutoDim"
#define WPDesktop_wpSetLockupAutoDim(somSelf,bLockupAutoDim) \
    (SOM_Resolve(somSelf, WPDesktop, wpSetLockupAutoDim) \
	(somSelf,bLockupAutoDim))
#ifndef SOMGD_wpSetLockupAutoDim
    #if (defined(_wpSetLockupAutoDim) || defined(__wpSetLockupAutoDim))
        #undef _wpSetLockupAutoDim
        #undef __wpSetLockupAutoDim
        #define SOMGD_wpSetLockupAutoDim 1
    #else
        #define _wpSetLockupAutoDim WPDesktop_wpSetLockupAutoDim
    #endif /* _wpSetLockupAutoDim */
#endif /* SOMGD_wpSetLockupAutoDim */

/*
 * New Method: wpQueryLockupBackground
 */
typedef void   SOMLINK somTP_WPDesktop_wpQueryLockupBackground(WPDesktop *somSelf, 
		PSZ* ppszImageFileName, 
		ULONG* pulImageMode, 
		ULONG* pulScaleFactor, 
		ULONG* pulBackgroundType, 
		long* plBackgroundColor);
#pragma linkage(somTP_WPDesktop_wpQueryLockupBackground, system)
typedef somTP_WPDesktop_wpQueryLockupBackground *somTD_WPDesktop_wpQueryLockupBackground;
#define somMD_WPDesktop_wpQueryLockupBackground "::WPDesktop::wpQueryLockupBackground"
#define WPDesktop_wpQueryLockupBackground(somSelf,ppszImageFileName,pulImageMode,pulScaleFactor,pulBackgroundType,plBackgroundColor) \
    (SOM_Resolve(somSelf, WPDesktop, wpQueryLockupBackground) \
	(somSelf,ppszImageFileName,pulImageMode,pulScaleFactor,pulBackgroundType,plBackgroundColor))
#ifndef SOMGD_wpQueryLockupBackground
    #if (defined(_wpQueryLockupBackground) || defined(__wpQueryLockupBackground))
        #undef _wpQueryLockupBackground
        #undef __wpQueryLockupBackground
        #define SOMGD_wpQueryLockupBackground 1
    #else
        #define _wpQueryLockupBackground WPDesktop_wpQueryLockupBackground
    #endif /* _wpQueryLockupBackground */
#endif /* SOMGD_wpQueryLockupBackground */

/*
 * New Method: wpSetLockupBackground
 */
typedef void   SOMLINK somTP_WPDesktop_wpSetLockupBackground(WPDesktop *somSelf, 
		PSZ pszImageFileName, 
		ULONG ulImageMode, 
		ULONG ulScaleFactor, 
		ULONG ulBackgroundType, 
		long lBackgroundColor);
#pragma linkage(somTP_WPDesktop_wpSetLockupBackground, system)
typedef somTP_WPDesktop_wpSetLockupBackground *somTD_WPDesktop_wpSetLockupBackground;
#define somMD_WPDesktop_wpSetLockupBackground "::WPDesktop::wpSetLockupBackground"
#define WPDesktop_wpSetLockupBackground(somSelf,pszImageFileName,ulImageMode,ulScaleFactor,ulBackgroundType,lBackgroundColor) \
    (SOM_Resolve(somSelf, WPDesktop, wpSetLockupBackground) \
	(somSelf,pszImageFileName,ulImageMode,ulScaleFactor,ulBackgroundType,lBackgroundColor))
#ifndef SOMGD_wpSetLockupBackground
    #if (defined(_wpSetLockupBackground) || defined(__wpSetLockupBackground))
        #undef _wpSetLockupBackground
        #undef __wpSetLockupBackground
        #define SOMGD_wpSetLockupBackground 1
    #else
        #define _wpSetLockupBackground WPDesktop_wpSetLockupBackground
    #endif /* _wpSetLockupBackground */
#endif /* SOMGD_wpSetLockupBackground */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define WPDesktop_wpSetFldrFlags WPFolder_wpSetFldrFlags
#define WPDesktop_wpQueryFldrFlags WPFolder_wpQueryFldrFlags
#define WPDesktop_wpSetFldrFont WPFolder_wpSetFldrFont
#define WPDesktop_wpQueryFldrFont WPFolder_wpQueryFldrFont
#define WPDesktop_wpSetFldrAttr WPFolder_wpSetFldrAttr
#define WPDesktop_wpQueryFldrAttr WPFolder_wpQueryFldrAttr
#define WPDesktop_wpSetNextIconPos WPFolder_wpSetNextIconPos
#define WPDesktop_wpQueryNextIconPos WPFolder_wpQueryNextIconPos
#define WPDesktop_wpQueryContent WPFolder_wpQueryContent
#define WPDesktop_wpAddFolderView1Page WPFolder_wpAddFolderView1Page
#define WPDesktop_wpAddFolderView2Page WPFolder_wpAddFolderView2Page
#define WPDesktop_wpAddFolderView3Page WPFolder_wpAddFolderView3Page
#define WPDesktop_wpAddFolderIncludePage WPFolder_wpAddFolderIncludePage
#define WPDesktop_wpAddFolderSortPage WPFolder_wpAddFolderSortPage
#define WPDesktop_wpAddFolderBackgroundPage WPFolder_wpAddFolderBackgroundPage
#define WPDesktop_wpAddFolderMenu2Page WPFolder_wpAddFolderMenu2Page
#define WPDesktop_wpAddFolderSelfClosePage WPFolder_wpAddFolderSelfClosePage
#define WPDesktop_wpInitIconPosData WPFolder_wpInitIconPosData
#define WPDesktop_wpFreeIconPosData WPFolder_wpFreeIconPosData
#define WPDesktop_wpStoreIconPosData WPFolder_wpStoreIconPosData
#define WPDesktop_wpQueryIconPosition WPFolder_wpQueryIconPosition
#define WPDesktop_wpSetFldrSort WPFolder_wpSetFldrSort
#define WPDesktop_wpQueryFldrSort WPFolder_wpQueryFldrSort
#define WPDesktop_wpRestoreFldrRunObjs WPFolder_wpRestoreFldrRunObjs
#define WPDesktop_wpStoreFldrRunObjs WPFolder_wpStoreFldrRunObjs
#define WPDesktop_wpHideFldrRunObjs WPFolder_wpHideFldrRunObjs
#define WPDesktop_wpDeleteContents WPFolder_wpDeleteContents
#define WPDesktop_wpSetFldrDetailsClass WPFolder_wpSetFldrDetailsClass
#define WPDesktop_wpQueryFldrDetailsClass WPFolder_wpQueryFldrDetailsClass
#define WPDesktop_wpSearchFolder WPFolder_wpSearchFolder
#define WPDesktop_wpContainsFolders WPFolder_wpContainsFolders
#define WPDesktop_wpQueryOpenFolders WPFolder_wpQueryOpenFolders
#define WPDesktop_wpModifyFldrFlags WPFolder_wpModifyFldrFlags
#define WPDesktop_wpAddToContent WPFolder_wpAddToContent
#define WPDesktop_wpDeleteFromContent WPFolder_wpDeleteFromContent
#define WPDesktop_wpSetDetailsColumnVisibility WPFolder_wpSetDetailsColumnVisibility
#define WPDesktop_wpIsDetailsColumnVisible WPFolder_wpIsDetailsColumnVisible
#define WPDesktop_wpSetFldrSortClass WPFolder_wpSetFldrSortClass
#define WPDesktop_wpQueryFldrSortClass WPFolder_wpQueryFldrSortClass
#define WPDesktop_wpSetSortAttribAvailable WPFolder_wpSetSortAttribAvailable
#define WPDesktop_wpIsSortAttribAvailable WPFolder_wpIsSortAttribAvailable
#define WPDesktop_wpQueryIconViewPos WPFolder_wpQueryIconViewPos
#define WPDesktop_wpAddFirstChild WPFolder_wpAddFirstChild
#define WPDesktop_wpFlushNotifications WPFolder_wpFlushNotifications
#define WPDesktop_wpSetMenuBarVisibility WPFolder_wpSetMenuBarVisibility
#define WPDesktop_wpQueryMenuBarVisibility WPFolder_wpQueryMenuBarVisibility
#define WPDesktop_wpQueryIconTextBackgroundColor WPFolder_wpQueryIconTextBackgroundColor
#define WPDesktop_wpSetIconTextBackgroundColor WPFolder_wpSetIconTextBackgroundColor
#define WPDesktop_wpQueryIconTextColor WPFolder_wpQueryIconTextColor
#define WPDesktop_wpSetIconTextColor WPFolder_wpSetIconTextColor
#define WPDesktop_wpQueryShadowTextColor WPFolder_wpQueryShadowTextColor
#define WPDesktop_wpSetShadowTextColor WPFolder_wpSetShadowTextColor
#define WPDesktop_wpQueryIconTextVisibility WPFolder_wpQueryIconTextVisibility
#define WPDesktop_wpSetIconTextVisibility WPFolder_wpSetIconTextVisibility
#define WPDesktop_wpQueryFldrBackground WPFolder_wpQueryFldrBackground
#define WPDesktop_wpSetFldrBackground WPFolder_wpSetFldrBackground
#define WPDesktop_wpUnInitData WPObject_wpUnInitData
#define WPDesktop_wpFree WPObject_wpFree
#define WPDesktop_wpDelete WPObject_wpDelete
#define WPDesktop_wpConfirmDelete WPObject_wpConfirmDelete
#define WPDesktop_wpOpen WPObject_wpOpen
#define WPDesktop_wpMoveObject WPObject_wpMoveObject
#define WPDesktop_wpDrop WPObject_wpDrop
#define WPDesktop_wpDragOver WPObject_wpDragOver
#define WPDesktop_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
#define WPDesktop_wpAddFile3Page WPFileSystem_wpAddFile3Page
#define WPDesktop_wpAddFile2Page WPFileSystem_wpAddFile2Page
#define WPDesktop_wpFormatDragItem WPObject_wpFormatDragItem
#define WPDesktop_wpRender WPObject_wpRender
#define WPDesktop_wpRefresh WPFileSystem_wpRefresh
#define WPDesktop_wpQueryDefaultView WPObject_wpQueryDefaultView
#define WPDesktop_wpRenderComplete WPObject_wpRenderComplete
#define WPDesktop_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
#define WPDesktop_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
#define WPDesktop_wpObjectReady WPObject_wpObjectReady
#define WPDesktop_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
#define WPDesktop_wpDisplayMenu WPObject_wpDisplayMenu
#define WPDesktop_wpSetIconData WPObject_wpSetIconData
#define WPDesktop_wpSetRealName WPFileSystem_wpSetRealName
#define WPDesktop_wpSetType WPFileSystem_wpSetType
#define WPDesktop_wpQueryType WPFileSystem_wpQueryType
#define WPDesktop_wpSetAttr WPFileSystem_wpSetAttr
#define WPDesktop_wpQueryAttr WPFileSystem_wpQueryAttr
#define WPDesktop_wpAddFile1Page WPFileSystem_wpAddFile1Page
#define WPDesktop_wpQueryCreation WPFileSystem_wpQueryCreation
#define WPDesktop_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
#define WPDesktop_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
#define WPDesktop_wpQueryFileSize WPFileSystem_wpQueryFileSize
#define WPDesktop_wpQueryEASize WPFileSystem_wpQueryEASize
#define WPDesktop_wpSetDateInfo WPFileSystem_wpSetDateInfo
#define WPDesktop_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
#define WPDesktop_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
#define WPDesktop_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
#define WPDesktop_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
#define WPDesktop_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
#define WPDesktop_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
#define WPDesktop_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
#define WPDesktop_wpQueryEASupport WPFileSystem_wpQueryEASupport
#define WPDesktop_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
#define WPDesktop_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
#define WPDesktop_wpQueryRealName WPFileSystem_wpQueryRealName
#define WPDesktop_wpQueryFilename WPFileSystem_wpQueryFilename
#define WPDesktop_wpQueryDisk WPFileSystem_wpQueryDisk
#define WPDesktop_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
#define WPDesktop_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
#define WPDesktop_wpQueryFileSizeL WPFileSystem_wpQueryFileSizeL
#define WPDesktop_wpSetFileSizeL WPFileSystem_wpSetFileSizeL
#define WPDesktop_wpQueryHandle WPObject_wpQueryHandle
#define WPDesktop_wpSaveImmediate WPObject_wpSaveImmediate
#define WPDesktop_wpSetTitle WPObject_wpSetTitle
#define WPDesktop_wpViewObject WPObject_wpViewObject
#define WPDesktop_wpSwitchTo WPObject_wpSwitchTo
#define WPDesktop_wpCopyObject WPObject_wpCopyObject
#define WPDesktop_wpCreateFromTemplate WPObject_wpCreateFromTemplate
#define WPDesktop_wpQueryIcon WPObject_wpQueryIcon
#define WPDesktop_wpQueryIconData WPObject_wpQueryIconData
#define WPDesktop_wpQueryDetailsData WPObject_wpQueryDetailsData
#define WPDesktop_wpDraggedOverObject WPObject_wpDraggedOverObject
#define WPDesktop_wpDroppedOnObject WPObject_wpDroppedOnObject
#define WPDesktop_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
#define WPDesktop_wpAppendObject WPObject_wpAppendObject
#define WPDesktop_wpReplaceObject WPObject_wpReplaceObject
#define WPDesktop_wpQueryStyle WPObject_wpQueryStyle
#define WPDesktop_wpDoesObjectMatch WPObject_wpDoesObjectMatch
#define WPDesktop_wpIdentify WPObject_wpIdentify
#define WPDesktop_wpIsDeleteable WPObject_wpIsDeleteable
#define WPDesktop_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
#define WPDesktop_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
#define WPDesktop_wpAddToObjUseList WPObject_wpAddToObjUseList
#define WPDesktop_wpAllocMem WPObject_wpAllocMem
#define WPDesktop_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
#define WPDesktop_wpClose WPObject_wpClose
#define WPDesktop_wpCnrInsertObject WPObject_wpCnrInsertObject
#define WPDesktop_wpCnrRemoveObject WPObject_wpCnrRemoveObject
#define WPDesktop_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
#define WPDesktop_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
#define WPDesktop_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
#define WPDesktop_wpCreateAnother WPObject_wpCreateAnother
#define WPDesktop_wpCreateShadowObject WPObject_wpCreateShadowObject
#define WPDesktop_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
#define WPDesktop_wpDisplayHelp WPObject_wpDisplayHelp
#define WPDesktop_wpEndConversation WPObject_wpEndConversation
#define WPDesktop_wpFilterPopupMenu WPObject_wpFilterPopupMenu
#define WPDesktop_wpFindUseItem WPObject_wpFindUseItem
#define WPDesktop_wpFreeMem WPObject_wpFreeMem
#define WPDesktop_wpHide WPObject_wpHide
#define WPDesktop_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
#define WPDesktop_wpInsertMenuItems WPObject_wpInsertMenuItems
#define WPDesktop_wpInsertSettingsPage WPObject_wpInsertSettingsPage
#define WPDesktop_wpModifyPopupMenu WPObject_wpModifyPopupMenu
#define WPDesktop_wpPrintObject WPObject_wpPrintObject
#define WPDesktop_wpQueryConcurrentView WPObject_wpQueryConcurrentView
#define WPDesktop_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
#define WPDesktop_wpQueryConfirmations WPObject_wpQueryConfirmations
#define WPDesktop_wpQueryError WPObject_wpQueryError
#define WPDesktop_wpSetFolder WPObject_wpSetFolder
#define WPDesktop_wpQueryFolder WPObject_wpQueryFolder
#define WPDesktop_wpQueryMinWindow WPObject_wpQueryMinWindow
#define WPDesktop_wpSetTaskRec WPObject_wpSetTaskRec
#define WPDesktop_wpFindTaskRec WPObject_wpFindTaskRec
#define WPDesktop_wpQueryTitle WPObject_wpQueryTitle
#define WPDesktop_wpRegisterView WPObject_wpRegisterView
#define WPDesktop_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
#define WPDesktop_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
#define WPDesktop_wpRestore WPObject_wpRestore
#define WPDesktop_wpRestoreData WPObject_wpRestoreData
#define WPDesktop_wpRestoreLong WPObject_wpRestoreLong
#define WPDesktop_wpRestoreString WPObject_wpRestoreString
#define WPDesktop_wpSaveData WPObject_wpSaveData
#define WPDesktop_wpSaveDeferred WPObject_wpSaveDeferred
#define WPDesktop_wpSaveLong WPObject_wpSaveLong
#define WPDesktop_wpSaveString WPObject_wpSaveString
#define WPDesktop_wpScanSetupString WPObject_wpScanSetupString
#define WPDesktop_wpSetConcurrentView WPObject_wpSetConcurrentView
#define WPDesktop_wpSetButtonAppearance WPObject_wpSetButtonAppearance
#define WPDesktop_wpSetDefaultHelp WPObject_wpSetDefaultHelp
#define WPDesktop_wpSetDefaultView WPObject_wpSetDefaultView
#define WPDesktop_wpSetError WPObject_wpSetError
#define WPDesktop_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
#define WPDesktop_wpSetupOnce WPObject_wpSetupOnce
#define WPDesktop_wpSetIcon WPObject_wpSetIcon
#define WPDesktop_wpSetMinWindow WPObject_wpSetMinWindow
#define WPDesktop_wpModifyStyle WPObject_wpModifyStyle
#define WPDesktop_wpQueryTrueStyle WPObject_wpQueryTrueStyle
#define WPDesktop_wpUnlockObject WPObject_wpUnlockObject
#define WPDesktop_wpIsObjectInitialized WPObject_wpIsObjectInitialized
#define WPDesktop_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
#define WPDesktop_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
#define WPDesktop_wpQueryCoreRecord WPObject_wpQueryCoreRecord
#define WPDesktop_wpSetObjectID WPObject_wpSetObjectID
#define WPDesktop_wpQueryObjectID WPObject_wpQueryObjectID
#define WPDesktop_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
#define WPDesktop_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
#define WPDesktop_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
#define WPDesktop_wpFindViewItem WPObject_wpFindViewItem
#define WPDesktop_wpLockObject WPObject_wpLockObject
#define WPDesktop_wpIsLocked WPObject_wpIsLocked
#define WPDesktop_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
#define WPDesktop_wpWaitForClose WPObject_wpWaitForClose
#define WPDesktop_wpSetMenuStyle WPObject_wpSetMenuStyle
#define WPDesktop_wpQueryMenuStyle WPObject_wpQueryMenuStyle
#define WPDesktop_wpSetStyle WPObject_wpSetStyle
#define WPDesktop_somInit SOMObject_somInit
#define WPDesktop_somUninit SOMObject_somUninit
#define WPDesktop_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define WPDesktop_somDefaultAssign SOMObject_somDefaultAssign
#define WPDesktop_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define WPDesktop_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define WPDesktop_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define WPDesktop_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define WPDesktop_somDefaultVAssign SOMObject_somDefaultVAssign
#define WPDesktop_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define WPDesktop_somFree SOMObject_somFree
#define WPDesktop_somGetClass SOMObject_somGetClass
#define WPDesktop_somGetClassName SOMObject_somGetClassName
#define WPDesktop_somGetSize SOMObject_somGetSize
#define WPDesktop_somIsA SOMObject_somIsA
#define WPDesktop_somIsInstanceOf SOMObject_somIsInstanceOf
#define WPDesktop_somRespondsTo SOMObject_somRespondsTo
#define WPDesktop_somDispatch SOMObject_somDispatch
#define WPDesktop_somClassDispatch SOMObject_somClassDispatch
#define WPDesktop_somCastObj SOMObject_somCastObj
#define WPDesktop_somResetObj SOMObject_somResetObj
#define WPDesktop_somDispatchV SOMObject_somDispatchV
#define WPDesktop_somDispatchL SOMObject_somDispatchL
#define WPDesktop_somDispatchA SOMObject_somDispatchA
#define WPDesktop_somDispatchD SOMObject_somDispatchD
#define WPDesktop_somPrintSelf SOMObject_somPrintSelf
#define WPDesktop_somDumpSelf SOMObject_somDumpSelf
#define WPDesktop_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_WPDesktop_h */

#ifndef SOM_M_WPDesktop_h
#define SOM_M_WPDesktop_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

/*
 * Define the class name as an object type
 */
#ifndef M_WPDesktop
#define M_WPDesktop SOMObject
#endif
#include <wpfolder.h>

/*
 * Start of bindings for IDL types
 */


/*
 * End of bindings for IDL types.
 */

#define M_WPDesktop_MajorVersion 1
#define M_WPDesktop_MinorVersion 2

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define M_WPDesktopNewClass WPDesktopc
#pragma linkage(WPDesktopc, system)
#define M_WPDesktopClassData WPDesktopd
#define M_WPDesktopCClassData WPDesktopx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define M_WPDesktop_classObj M_WPDesktopClassData.classObject
#define _M_WPDesktop M_WPDesktop_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK M_WPDesktopNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(M_WPDesktopNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct M_WPDesktopClassDataStructure {
	SOMClass *classObject;
	somMToken wpclsQueryObjectFromFrame;
	somMToken wpclsQueryActiveDesktop;
	somMToken wpclsQueryActiveDesktopHWND;
} SOMDLINK M_WPDesktopClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct M_WPDesktopCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOMDLINK M_WPDesktopCClassData;

/*
 * New and Renew macros for M_WPDesktop
 */
#define M_WPDesktopNew() \
   ( _M_WPDesktop ? \
	_somNew(_M_WPDesktop) \
	: ( M_WPDesktopNewClass(\
		M_WPDesktop_MajorVersion, \
		M_WPDesktop_MinorVersion),\
	   _somNew(_M_WPDesktop)))
#define M_WPDesktopRenew(buf) \
   ( _M_WPDesktop ? \
	_somRenew(_M_WPDesktop, buf) \
	: ( M_WPDesktopNewClass(\
		M_WPDesktop_MajorVersion, \
		M_WPDesktop_MinorVersion),\
	   _somRenew(_M_WPDesktop, buf)))

/*
 * Override method: wpclsQueryDefaultView
 */
#define M_WPDesktop_wpclsQueryDefaultView(somSelf) \
	M_WPObject_wpclsQueryDefaultView(somSelf)

/*
 * Override method: wpclsQueryTitle
 */
#define M_WPDesktop_wpclsQueryTitle(somSelf) \
	M_WPObject_wpclsQueryTitle(somSelf)

/*
 * Override method: wpclsQueryIconData
 */
#define M_WPDesktop_wpclsQueryIconData(somSelf,pIconInfo) \
	M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)

/*
 * Override method: wpclsQueryIconDataN
 */
#define M_WPDesktop_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex) \
	M_WPFolder_wpclsQueryIconDataN(somSelf,pIconInfo,ulIconIndex)

/*
 * Override method: wpclsQueryStyle
 */
#define M_WPDesktop_wpclsQueryStyle(somSelf) \
	M_WPObject_wpclsQueryStyle(somSelf)

/*
 * Override method: wpclsQueryDefaultHelp
 */
#define M_WPDesktop_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
	M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)

/*
 * Override method: wpclsQuerySettingsPageSize
 */
#define M_WPDesktop_wpclsQuerySettingsPageSize(somSelf,pSizl) \
	M_WPObject_wpclsQuerySettingsPageSize(somSelf,pSizl)

/*
 * New Method: wpclsQueryObjectFromFrame
 */
typedef WPObject*   SOMLINK somTP_M_WPDesktop_wpclsQueryObjectFromFrame(M_WPDesktop *somSelf, 
		HWND hwndFrame);
#pragma linkage(somTP_M_WPDesktop_wpclsQueryObjectFromFrame, system)
typedef somTP_M_WPDesktop_wpclsQueryObjectFromFrame *somTD_M_WPDesktop_wpclsQueryObjectFromFrame;
#define somMD_M_WPDesktop_wpclsQueryObjectFromFrame "::M_WPDesktop::wpclsQueryObjectFromFrame"
#define M_WPDesktop_wpclsQueryObjectFromFrame(somSelf,hwndFrame) \
    (SOM_Resolve(somSelf, M_WPDesktop, wpclsQueryObjectFromFrame) \
	(somSelf,hwndFrame))
#ifndef SOMGD_wpclsQueryObjectFromFrame
    #if (defined(_wpclsQueryObjectFromFrame) || defined(__wpclsQueryObjectFromFrame))
        #undef _wpclsQueryObjectFromFrame
        #undef __wpclsQueryObjectFromFrame
        #define SOMGD_wpclsQueryObjectFromFrame 1
    #else
        #define _wpclsQueryObjectFromFrame M_WPDesktop_wpclsQueryObjectFromFrame
    #endif /* _wpclsQueryObjectFromFrame */
#endif /* SOMGD_wpclsQueryObjectFromFrame */

/*
 * New Method: wpclsQueryActiveDesktopHWND
 */
typedef HWND   SOMLINK somTP_M_WPDesktop_wpclsQueryActiveDesktopHWND(M_WPDesktop *somSelf);
#pragma linkage(somTP_M_WPDesktop_wpclsQueryActiveDesktopHWND, system)
typedef somTP_M_WPDesktop_wpclsQueryActiveDesktopHWND *somTD_M_WPDesktop_wpclsQueryActiveDesktopHWND;
#define somMD_M_WPDesktop_wpclsQueryActiveDesktopHWND "::M_WPDesktop::wpclsQueryActiveDesktopHWND"
#define M_WPDesktop_wpclsQueryActiveDesktopHWND(somSelf) \
    (SOM_Resolve(somSelf, M_WPDesktop, wpclsQueryActiveDesktopHWND) \
	(somSelf))
#ifndef SOMGD_wpclsQueryActiveDesktopHWND
    #if (defined(_wpclsQueryActiveDesktopHWND) || defined(__wpclsQueryActiveDesktopHWND))
        #undef _wpclsQueryActiveDesktopHWND
        #undef __wpclsQueryActiveDesktopHWND
        #define SOMGD_wpclsQueryActiveDesktopHWND 1
    #else
        #define _wpclsQueryActiveDesktopHWND M_WPDesktop_wpclsQueryActiveDesktopHWND
    #endif /* _wpclsQueryActiveDesktopHWND */
#endif /* SOMGD_wpclsQueryActiveDesktopHWND */

/*
 * New Method: wpclsQueryActiveDesktop
 */
typedef WPObject*   SOMLINK somTP_M_WPDesktop_wpclsQueryActiveDesktop(M_WPDesktop *somSelf);
#pragma linkage(somTP_M_WPDesktop_wpclsQueryActiveDesktop, system)
typedef somTP_M_WPDesktop_wpclsQueryActiveDesktop *somTD_M_WPDesktop_wpclsQueryActiveDesktop;
#define somMD_M_WPDesktop_wpclsQueryActiveDesktop "::M_WPDesktop::wpclsQueryActiveDesktop"
#define M_WPDesktop_wpclsQueryActiveDesktop(somSelf) \
    (SOM_Resolve(somSelf, M_WPDesktop, wpclsQueryActiveDesktop) \
	(somSelf))
#ifndef SOMGD_wpclsQueryActiveDesktop
    #if (defined(_wpclsQueryActiveDesktop) || defined(__wpclsQueryActiveDesktop))
        #undef _wpclsQueryActiveDesktop
        #undef __wpclsQueryActiveDesktop
        #define SOMGD_wpclsQueryActiveDesktop 1
    #else
        #define _wpclsQueryActiveDesktop M_WPDesktop_wpclsQueryActiveDesktop
    #endif /* _wpclsQueryActiveDesktop */
#endif /* SOMGD_wpclsQueryActiveDesktop */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define M_WPDesktop_wpclsQueryIconN M_WPFolder_wpclsQueryIconN
#define M_WPDesktop_wpclsQueryOpenFolders M_WPFolder_wpclsQueryOpenFolders
#define M_WPDesktop_wpclsInitData M_WPObject_wpclsInitData
#define M_WPDesktop_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
#define M_WPDesktop_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
#define M_WPDesktop_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
#define M_WPDesktop_wpclsQueryInstanceType M_WPFileSystem_wpclsQueryInstanceType
#define M_WPDesktop_wpclsQueryInstanceFilter M_WPFileSystem_wpclsQueryInstanceFilter
#define M_WPDesktop_wpclsQueryInstanceClass M_WPFileSystem_wpclsQueryInstanceClass
#define M_WPDesktop_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
#define M_WPDesktop_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
#define M_WPDesktop_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
#define M_WPDesktop_wpclsNew M_WPObject_wpclsNew
#define M_WPDesktop_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
#define M_WPDesktop_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
#define M_WPDesktop_wpclsMakeAwake M_WPObject_wpclsMakeAwake
#define M_WPDesktop_wpclsQueryDetails M_WPObject_wpclsQueryDetails
#define M_WPDesktop_wpclsQueryFolder M_WPObject_wpclsQueryFolder
#define M_WPDesktop_wpclsQueryIcon M_WPObject_wpclsQueryIcon
#define M_WPDesktop_wpclsUnInitData M_WPObject_wpclsUnInitData
#define M_WPDesktop_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
#define M_WPDesktop_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
#define M_WPDesktop_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
#define M_WPDesktop_wpclsSetError M_WPObject_wpclsSetError
#define M_WPDesktop_wpclsQueryError M_WPObject_wpclsQueryError
#define M_WPDesktop_wpclsQueryObject M_WPObject_wpclsQueryObject
#define M_WPDesktop_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
#define M_WPDesktop_wpclsDecUsage M_WPObject_wpclsDecUsage
#define M_WPDesktop_wpclsIncUsage M_WPObject_wpclsIncUsage
#define M_WPDesktop_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
#define M_WPDesktop_wpclsFindOneObject M_WPObject_wpclsFindOneObject
#define M_WPDesktop_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
#define M_WPDesktop_wpclsSetIconData M_WPObject_wpclsSetIconData
#define M_WPDesktop_wpclsSetIcon M_WPObject_wpclsSetIcon
#define M_WPDesktop_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
#define M_WPDesktop_somUninit SOMObject_somUninit
#define M_WPDesktop_somClassReady SOMClass_somClassReady
#define M_WPDesktop_somNew SOMClass_somNew
#define M_WPDesktop_somRenew SOMClass_somRenew
#define M_WPDesktop__get_somDataAlignment SOMClass__get_somDataAlignment
#define M_WPDesktop__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define M_WPDesktop__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define M_WPDesktop__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
#define M_WPDesktop_somNewNoInit SOMClass_somNewNoInit
#define M_WPDesktop_somRenewNoInit SOMClass_somRenewNoInit
#define M_WPDesktop_somRenewNoZero SOMClass_somRenewNoZero
#define M_WPDesktop_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define M_WPDesktop_somAllocate SOMClass_somAllocate
#define M_WPDesktop_somDeallocate SOMClass_somDeallocate
#define M_WPDesktop__get_somClassAllocate SOMClass__get_somClassAllocate
#define M_WPDesktop__get_somClassDeallocate SOMClass__get_somClassDeallocate
#define M_WPDesktop_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
#define M_WPDesktop_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
#define M_WPDesktop_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
#define M_WPDesktop_somInitClass SOMClass_somInitClass
#define M_WPDesktop_somInitMIClass SOMClass_somInitMIClass
#define M_WPDesktop_somAddStaticMethod SOMClass_somAddStaticMethod
#define M_WPDesktop_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define M_WPDesktop_somOverrideSMethod SOMClass_somOverrideSMethod
#define M_WPDesktop_somGetApplyStub SOMClass_somGetApplyStub
#define M_WPDesktop_somGetClassData SOMClass_somGetClassData
#define M_WPDesktop_somSetClassData SOMClass_somSetClassData
#define M_WPDesktop_somGetClassMtab SOMClass_somGetClassMtab
#define M_WPDesktop_somGetInstanceOffset SOMClass_somGetInstanceOffset
#define M_WPDesktop_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define M_WPDesktop_somGetInstanceSize SOMClass_somGetInstanceSize
#define M_WPDesktop_somGetInstanceToken SOMClass_somGetInstanceToken
#define M_WPDesktop_somGetMemberToken SOMClass_somGetMemberToken
#define M_WPDesktop_somGetMethodData SOMClass_somGetMethodData
#define M_WPDesktop_somGetRdStub SOMClass_somGetRdStub
#define M_WPDesktop_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define M_WPDesktop_somGetMethodIndex SOMClass_somGetMethodIndex
#define M_WPDesktop_somGetMethodToken SOMClass_somGetMethodToken
#define M_WPDesktop_somGetName SOMClass_somGetName
#define M_WPDesktop_somGetNthMethodData SOMClass_somGetNthMethodData
#define M_WPDesktop_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define M_WPDesktop_somGetNumMethods SOMClass_somGetNumMethods
#define M_WPDesktop_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define M_WPDesktop_somGetParent SOMClass_somGetParent
#define M_WPDesktop_somGetParents SOMClass_somGetParents
#define M_WPDesktop_somGetPClsMtab SOMClass_somGetPClsMtab
#define M_WPDesktop_somGetPClsMtabs SOMClass_somGetPClsMtabs
#define M_WPDesktop_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define M_WPDesktop_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
#define M_WPDesktop_somFindMethod SOMClass_somFindMethod
#define M_WPDesktop_somFindMethodOk SOMClass_somFindMethodOk
#define M_WPDesktop_somFindSMethod SOMClass_somFindSMethod
#define M_WPDesktop_somFindSMethodOk SOMClass_somFindSMethodOk
#define M_WPDesktop_somLookupMethod SOMClass_somLookupMethod
#define M_WPDesktop_somCheckVersion SOMClass_somCheckVersion
#define M_WPDesktop_somDescendedFrom SOMClass_somDescendedFrom
#define M_WPDesktop_somSupportsMethod SOMClass_somSupportsMethod
#define M_WPDesktop_somDefinedMethod SOMClass_somDefinedMethod
#define M_WPDesktop_somOverrideMtab SOMClass_somOverrideMtab
#define M_WPDesktop_somDefaultInit SOMObject_somDefaultInit
#define M_WPDesktop_somDestruct SOMObject_somDestruct
#define M_WPDesktop_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define M_WPDesktop_somDefaultAssign SOMObject_somDefaultAssign
#define M_WPDesktop_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define M_WPDesktop_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define M_WPDesktop_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define M_WPDesktop_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define M_WPDesktop_somDefaultVAssign SOMObject_somDefaultVAssign
#define M_WPDesktop_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define M_WPDesktop_somInit SOMObject_somInit
#define M_WPDesktop_somFree SOMObject_somFree
#define M_WPDesktop_somGetClass SOMObject_somGetClass
#define M_WPDesktop_somGetClassName SOMObject_somGetClassName
#define M_WPDesktop_somGetSize SOMObject_somGetSize
#define M_WPDesktop_somIsA SOMObject_somIsA
#define M_WPDesktop_somIsInstanceOf SOMObject_somIsInstanceOf
#define M_WPDesktop_somRespondsTo SOMObject_somRespondsTo
#define M_WPDesktop_somDispatch SOMObject_somDispatch
#define M_WPDesktop_somClassDispatch SOMObject_somClassDispatch
#define M_WPDesktop_somCastObj SOMObject_somCastObj
#define M_WPDesktop_somResetObj SOMObject_somResetObj
#define M_WPDesktop_somDispatchV SOMObject_somDispatchV
#define M_WPDesktop_somDispatchL SOMObject_somDispatchL
#define M_WPDesktop_somDispatchA SOMObject_somDispatchA
#define M_WPDesktop_somDispatchD SOMObject_somDispatchD
#define M_WPDesktop_somPrintSelf SOMObject_somPrintSelf
#define M_WPDesktop_somDumpSelf SOMObject_somDumpSelf
#define M_WPDesktop_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_M_WPDesktop_h */
