windows-nt/Source/XPSP1/NT/base/mvdm/wow16/inc/winexp.h

48 lines
1.1 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#ifndef NOATOM
/* atom manager internals */
#define ATOMSTRUC struct atomstruct
typedef ATOMSTRUC *PATOM;
typedef ATOMSTRUC {
PATOM chain;
WORD usage; /* Atoms are usage counted. */
BYTE len; /* length of ASCIZ name string */
BYTE name; /* beginning of ASCIZ name string */
} ATOMENTRY;
typedef struct {
int numEntries;
PATOM pAtom[ 1 ];
} ATOMTABLE;
ATOMTABLE * PASCAL pAtomTable;
#endif
LPSTR API lstrbscan(LPSTR, LPSTR);
LPSTR API lstrbskip(LPSTR, LPSTR);
int API OpenPathName(LPSTR, int);
int API DeletePathName(LPSTR);
WORD API _ldup(int);
/* scheduler things that the world knows not */
BOOL API WaitEvent( HANDLE );
BOOL API PostEvent( HANDLE );
BOOL API KillTask( HANDLE );
/* print screen hooks */
BOOL API SetPrtScHook(FARPROC);
FARPROC API GetPrtScHook(void);
/* scroll bar messages */
#define SBM_SETPOS WM_USER+0
#define SBM_GETPOS WM_USER+1
#define SBM_SETRANGE WM_USER+2
#define SBM_GETRANGE WM_USER+3
#define SBM_ENABLE_ARROWS WM_USER+4
/* module stuff */
HANDLE API GetDSModule( WORD );
HANDLE API GetDSInstance( WORD );