Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
1.4 KiB

//----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation 1991-1992
//----------------------------------------------------------------------------
typedef enum _APFLAGS
{
AP_NULL = 0x0000,
AP_FIND_PATH = 0x0001,
AP_FIND_INSTANCE = 0x0002,
} APFLAGS;
typedef struct _AppProps
{
UINT cbSize; // Size of this structure.
LPTSTR pszPath; // Path to app.
UINT cbPath; // Size of path buffer (if needed).
LPTSTR pszDescription; // Description for app.
UINT cbDescription; // Size of desc buffer (if needed).
LPTSTR pszIconLocation; // Location of icon to use.
UINT cbIconLocation; // Size of Icon buffer (if needed).
LPTSTR pszWorkingDir; // Working directory to use.
UINT cbWorkingDir; // Size of WD buffer (if needed).
UINT iIcon; // Index of icon.
HINSTANCE hInst; // hInst (if known).
APFLAGS apf; // Search flags.
WORD wHotkey; // Hotkey to use.
} AppProps;
typedef AppProps *PAppProps;
typedef PAppProps const PCAppProps;
BOOL WINAPI SHAppProps_Set(PCAppProps pap);
BOOL WINAPI SHAppProps_Get(PAppProps pap);
void WINAPI SHAppProps_DeleteAll(void);
BOOL WINAPI SHAppProps_Delete(PAppProps pap);