ReactOS  0.4.12-dev-945-g5a2911d
shellapi.h File Reference
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for shellapi.h:

Go to the source code of this file.

Classes

struct  _SHCREATEPROCESSINFOW
 
struct  _AppBarData
 
struct  _NOTIFYICONDATAA
 
struct  _NOTIFYICONDATAW
 
struct  _SHELLEXECUTEINFOA
 
struct  _SHELLEXECUTEINFOW
 
struct  _SHFILEOPSTRUCTA
 
struct  _SHFILEOPSTRUCTW
 
struct  _SHFILEINFOA
 
struct  _SHFILEINFOW
 
struct  _SHQUERYRBINFO
 
struct  _SHNAMEMAPPINGA
 
struct  _SHNAMEMAPPINGW
 
struct  _SHSTOCKICONINFO
 

Macros

#define WINSHELLAPI   DECLSPEC_IMPORT
 
#define ABE_LEFT   0
 
#define ABE_TOP   1
 
#define ABE_RIGHT   2
 
#define ABE_BOTTOM   3
 
#define ABS_AUTOHIDE   1
 
#define ABS_ALWAYSONTOP   2
 
#define SEE_MASK_DEFAULT   0x00000000
 
#define SEE_MASK_CLASSNAME   0x00000001
 
#define SEE_MASK_CLASSKEY   0x00000003
 
#define SEE_MASK_IDLIST   0x00000004
 
#define SEE_MASK_INVOKEIDLIST   0x0000000C
 
#define SEE_MASK_ICON   0x00000010
 
#define SEE_MASK_HOTKEY   0x00000020
 
#define SEE_MASK_NOCLOSEPROCESS   0x00000040
 
#define SEE_MASK_CONNECTNETDRV   0x00000080
 
#define SEE_MASK_NOASYNC   0x00000100
 
#define SEE_MASK_FLAG_DDEWAIT   SEE_MASK_NOASYNC
 
#define SEE_MASK_DOENVSUBST   0x00000200
 
#define SEE_MASK_FLAG_NO_UI   0x00000400
 
#define SEE_MASK_UNICODE   0x00004000
 
#define SEE_MASK_NO_CONSOLE   0x00008000
 
#define SEE_MASK_HASLINKNAME   0x00010000
 
#define SEE_MASK_HASTITLE   0x00020000
 
#define SEE_MASK_FLAG_SEPVDM   0x00040000
 
#define SEE_MASK_ASYNCOK   0x00100000
 
#define SEE_MASK_HMONITOR   0x00200000
 
#define SEE_MASK_NOZONECHECKS   0x00800000
 
#define SEE_MASK_NOQUERYCLASSSTORE   0x01000000
 
#define SEE_MASK_WAITFORINPUTIDLE   0x02000000
 
#define SEE_MASK_FLAG_LOG_USAGE   0x04000000
 
#define ABM_NEW   0
 
#define ABM_REMOVE   1
 
#define ABM_QUERYPOS   2
 
#define ABM_SETPOS   3
 
#define ABM_GETSTATE   4
 
#define ABM_GETTASKBARPOS   5
 
#define ABM_ACTIVATE   6
 
#define ABM_GETAUTOHIDEBAR   7
 
#define ABM_SETAUTOHIDEBAR   8
 
#define ABM_WINDOWPOSCHANGED   9
 
#define ABN_STATECHANGE   0
 
#define ABN_POSCHANGED   1
 
#define ABN_FULLSCREENAPP   2
 
#define ABN_WINDOWARRANGE   3
 
#define NIN_POPUPOPEN   (WM_USER + 6)
 
#define NIN_POPUPCLOSE   (WM_USER + 7)
 
#define NIM_ADD   0
 
#define NIM_MODIFY   1
 
#define NIM_DELETE   2
 
#define NIF_MESSAGE   1
 
#define NIF_ICON   2
 
#define NIF_TIP   4
 
#define SE_ERR_FNF   2
 
#define SE_ERR_PNF   3
 
#define SE_ERR_ACCESSDENIED   5
 
#define SE_ERR_OOM   8
 
#define SE_ERR_DLLNOTFOUND   32
 
#define SE_ERR_SHARE   26
 
#define SE_ERR_ASSOCINCOMPLETE   27
 
#define SE_ERR_DDETIMEOUT   28
 
#define SE_ERR_DDEFAIL   29
 
#define SE_ERR_DDEBUSY   30
 
#define SE_ERR_NOASSOC   31
 
#define FO_MOVE   1
 
#define FO_COPY   2
 
#define FO_DELETE   3
 
#define FO_RENAME   4
 
#define FOF_MULTIDESTFILES   0x0001
 
#define FOF_CONFIRMMOUSE   0x0002
 
#define FOF_SILENT   0x0004
 
#define FOF_RENAMEONCOLLISION   0x0008
 
#define FOF_NOCONFIRMATION   0x0010
 
#define FOF_WANTMAPPINGHANDLE   0x0020
 
#define FOF_ALLOWUNDO   0x0040
 
#define FOF_FILESONLY   0x0080
 
#define FOF_SIMPLEPROGRESS   0x0100
 
#define FOF_NOCONFIRMMKDIR   0x0200
 
#define FOF_NOERRORUI   0x0400
 
#define FOF_NOCOPYSECURITYATTRIBS   0x0800
 
#define FOF_NORECURSION   0x1000 /* don't do recursion into directories */
 
#define FOF_NO_CONNECTED_ELEMENTS   0x2000 /* don't do connected files */
 
#define FOF_WANTNUKEWARNING
 
#define FOF_NORECURSEREPARSE   0x8000 /* don't do recursion into reparse points */
 
#define PO_DELETE   19
 
#define PO_RENAME   20
 
#define PO_PORTCHANGE   32
 
#define PO_REN_PORT   52
 
#define SHGFI_ADDOVERLAYS   32
 
#define SHGFI_OVERLAYINDEX   64
 
#define SHGFI_ICON   256
 
#define SHGSI_ICON   SHGFI_ICON
 
#define SHGFI_DISPLAYNAME   512
 
#define SHGFI_TYPENAME   1024
 
#define SHGFI_ATTRIBUTES   2048
 
#define SHGFI_ICONLOCATION   4096
 
#define SHGFI_EXETYPE   8192
 
#define SHGFI_SYSICONINDEX   16384
 
#define SHGFI_LINKOVERLAY   32768
 
#define SHGFI_SELECTED   65536
 
#define SHGFI_ATTR_SPECIFIED   131072
 
#define SHGFI_LARGEICON   0
 
#define SHGFI_SMALLICON   1
 
#define SHGSI_SMALLICON   SHGFI_SMALLICON
 
#define SHGFI_OPENICON   2
 
#define SHGFI_SHELLICONSIZE   4
 
#define SHGFI_PIDL   8
 
#define SHGFI_USEFILEATTRIBUTES   16
 
#define SHIL_LARGE   0x0
 
#define SHIL_SMALL   0x1
 
#define SHIL_EXTRALARGE   0x2
 
#define SHIL_SYSSMALL   0x3
 
#define SHIL_JUMBO   0x4
 
#define SHIL_LAST   SHIL_JUMBO
 
#define NOTIFYICONDATAA_V1_SIZE   FIELD_OFFSET(NOTIFYICONDATAA, szTip[64])
 
#define NOTIFYICONDATAW_V1_SIZE   FIELD_OFFSET(NOTIFYICONDATAW, szTip[64])
 
#define NOTIFYICONDATAA_V2_SIZE   FIELD_OFFSET(NOTIFYICONDATAA, guidItem)
 
#define NOTIFYICONDATAW_V2_SIZE   FIELD_OFFSET(NOTIFYICONDATAW, guidItem)
 
#define NOTIFYICONDATAA_V3_SIZE   FIELD_OFFSET(NOTIFYICONDATAA, hBalloonIcon)
 
#define NOTIFYICONDATAW_V3_SIZE   FIELD_OFFSET(NOTIFYICONDATAW, hBalloonIcon)
 
#define SHERB_NOCONFIRMATION   0x1
 
#define SHERB_NOPROGRESSUI   0x2
 
#define SHERB_NOSOUND   0x4
 
#define SHGNLI_PIDL   0x01
 
#define SHGNLI_PREFIXNAME   0x02
 
#define SHGNLI_NOUNIQUE   0x04
 
#define SHGNLI_NOLNK   0x08
 
#define NOTIFYICONDATA_V1_SIZE   NOTIFYICONDATAA_V1_SIZE
 
#define NOTIFYICONDATA_V2_SIZE   NOTIFYICONDATAA_V2_SIZE
 
#define NOTIFYICONDATA_V3_SIZE   NOTIFYICONDATAA_V3_SIZE
 
#define DragQueryFile   DragQueryFileA
 
#define ExtractAssociatedIcon   ExtractAssociatedIconA
 
#define ExtractIcon   ExtractIconA
 
#define ExtractIconEx   ExtractIconExA
 
#define FindExecutable   FindExecutableA
 
#define Shell_NotifyIcon   Shell_NotifyIconA
 
#define ShellAbout   ShellAboutA
 
#define ShellExecute   ShellExecuteA
 
#define ShellExecuteEx   ShellExecuteExA
 
#define ShellMessageBox   ShellMessageBoxA
 
#define SHFileOperation   SHFileOperationA
 
#define SHGetFileInfo   SHGetFileInfoA
 
#define SHQueryRecycleBin   SHQueryRecycleBinA
 
#define SHEmptyRecycleBin   SHEmptyRecycleBinA
 
#define SHGetNewLinkInfo   SHGetNewLinkInfoA
 
#define DoEnvironmentSubst   DoEnvironmentSubstA
 
#define SHGSI_ICONLOCATION   0
 

Typedefs

typedef struct _SHCREATEPROCESSINFOW SHCREATEPROCESSINFOW
 
typedef struct _SHCREATEPROCESSINFOWPSHCREATEPROCESSINFOW
 
typedef WORD FILEOP_FLAGS
 
typedef WORD PRINTEROP_FLAGS
 
typedef struct _AppBarData APPBARDATA
 
typedef struct _AppBarDataPAPPBARDATA
 
typedef struct _NOTIFYICONDATAA NOTIFYICONDATAA
 
typedef struct _NOTIFYICONDATAAPNOTIFYICONDATAA
 
typedef struct _NOTIFYICONDATAW NOTIFYICONDATAW
 
typedef struct _NOTIFYICONDATAWPNOTIFYICONDATAW
 
typedef struct _SHELLEXECUTEINFOA SHELLEXECUTEINFOA
 
typedef struct _SHELLEXECUTEINFOALPSHELLEXECUTEINFOA
 
typedef struct _SHELLEXECUTEINFOW SHELLEXECUTEINFOW
 
typedef struct _SHELLEXECUTEINFOWLPSHELLEXECUTEINFOW
 
typedef struct _SHFILEOPSTRUCTA SHFILEOPSTRUCTA
 
typedef struct _SHFILEOPSTRUCTALPSHFILEOPSTRUCTA
 
typedef struct _SHFILEOPSTRUCTW SHFILEOPSTRUCTW
 
typedef struct _SHFILEOPSTRUCTWLPSHFILEOPSTRUCTW
 
typedef struct _SHFILEINFOA SHFILEINFOA
 
typedef struct _SHFILEINFOW SHFILEINFOW
 
typedef struct _SHQUERYRBINFO SHQUERYRBINFO
 
typedef struct _SHQUERYRBINFOLPSHQUERYRBINFO
 
typedef struct _SHNAMEMAPPINGA SHNAMEMAPPINGA
 
typedef struct _SHNAMEMAPPINGALPSHNAMEMAPPINGA
 
typedef struct _SHNAMEMAPPINGW SHNAMEMAPPINGW
 
typedef struct _SHNAMEMAPPINGWLPSHNAMEMAPPINGW
 
typedef NOTIFYICONDATAA NOTIFYICONDATA
 
typedef NOTIFYICONDATAAPNOTIFYICONDATA
 
typedef DRAGINFOA DRAGINFO
 
typedef DRAGINFOA * LPDRAGINFO
 
typedef SHELLEXECUTEINFOA SHELLEXECUTEINFO
 
typedef SHELLEXECUTEINFOALPSHELLEXECUTEINFO
 
typedef SHFILEOPSTRUCTA SHFILEOPSTRUCT
 
typedef SHFILEOPSTRUCTALPSHFILEOPSTRUCT
 
typedef SHFILEINFOA SHFILEINFO
 
typedef SHNAMEMAPPINGA SHNAMEMAPPING
 
typedef LPSHNAMEMAPPINGA LPSHNAMEMAPPING
 
typedef struct _SHSTOCKICONINFO SHSTOCKICONINFO
 
typedef enum SHSTOCKICONID SHSTOCKICONID
 

Enumerations

enum  SHSTOCKICONID {
  SIID_INVALID =-1, SIID_DOCNOASSOC, SIID_DOCASSOC, SIID_APPLICATION,
  SIID_FOLDER, SIID_FOLDEROPEN, SIID_DRIVE525, SIID_DRIVE35,
  SIID_DRIVERREMOVE, SIID_DRIVERFIXED, SIID_DRIVERNET, SIID_DRIVERNETDISABLE,
  SIID_DRIVERCD, SIID_DRIVERRAM, SIID_WORLD, SIID_SERVER = 15,
  SIID_PRINTER, SIID_MYNETWORK, SIID_FIND = 22, SIID_HELP,
  SIID_SHARE = 28, SIID_LINK, SIID_SLOWFILE, SIID_RECYCLER,
  SIID_RECYCLERFULL, SIID_MEDIACDAUDIO = 40, SIID_LOCK = 47, SIID_AUTOLIST = 49,
  SIID_PRINTERNET, SIID_SERVERSHARE, SIID_PRINTERFAX, SIID_PRINTERFAXNET,
  SIID_PRINTERFILE, SIID_STACK, SIID_MEDIASVCD, SIID_STUFFEDFOLDER,
  SIID_DRIVEUNKNOWN, SIID_DRIVEDVD, SIID_MEDIADVD, SIID_MEDIADVDRAM,
  SIID_MEDIADVDRW, SIID_MEDIADVDR, SIID_MEDIADVDROM, SIID_MEDIACDAUDIOPLUS,
  SIID_MEDIACDRW, SIID_MEDIACDR, SIID_MEDIACDBURN, SIID_MEDIABLANKCD,
  SIID_MEDIACDROM, SIID_AUDIOFILES, SIID_IMAGEFILES, SIID_VIDEOFILES,
  SIID_MIXEDFILES, SIID_FOLDERBACK, SIID_FOLDERFRONT, SIID_SHIELD,
  SIID_WARNING, SIID_INFO, SIID_ERROR, SIID_KEY,
  SIID_SOFTWARE, SIID_RENAME, SIID_DELETE, SIID_MEDIAAUDIODVD,
  SIID_MEDIAMOVIEDVD, SIID_MEDIAENHANCEDCD, SIID_MEDIAENHANCEDDVD, SIID_MEDIAHDDVD,
  SIID_MEDIABLUERAY, SIID_MEDIAVCD, SIID_MEDIADVDPLUSR, SIID_MEDIADVDPLUSRW,
  SIID_DESKTOPPC, SIID_MOBILEPC, SIID_USERS, SIID_MEDIASMARTMEDIA,
  SIID_MEDIACOMPACTFLASH, SIID_DEVICECELLPHONE, SIID_DEVICECAMERA, SIID_DEVICEVIDEOCAMERA,
  SIID_DEVICEAUDIOPLAYER, SIID_NETWORKCONNECT, SIID_INTERNET, SIID_ZIPFILE,
  SIID_SETTINGS, SIID_DRIVEHDDVD = 132, SIID_DRIVEBD, SIID_MEDIAHDDVDROM,
  SIID_MEDIAHDDVDR, SIID_MEDIAHDDVDRAM, SIID_MEDIABDROM, SIID_MEDIABDR,
  SIID_MEDIABDRE, SIID_CLUSTEREDDRIVE, SIID_MAX_ICONS = 175
}
 

Functions

 DECLARE_HANDLE (HDROP)
 
LPWSTR *WINAPI CommandLineToArgvW (_In_ LPCWSTR, _Out_ int *)
 
void WINAPI DragAcceptFiles (_In_ HWND, _In_ BOOL)
 
void WINAPI DragFinish (_In_ HDROP)
 
 _Success_ (return !=0) UINT WINAPI DragQueryFileA(_In_ HDROP hDrop
 
_In_ UINT _Out_writes_opt_ (cch) LPSTR lpszFile
 
BOOL WINAPI DragQueryPoint (_In_ HDROP, _Out_ LPPOINT)
 
HICON WINAPI ExtractAssociatedIconA (_Reserved_ HINSTANCE hInst, _Inout_updates_(128) LPSTR pszIconPath, _Inout_ WORD *piIcon)
 
HICON WINAPI ExtractAssociatedIconW (_Reserved_ HINSTANCE hInst, _Inout_updates_(128) LPWSTR pszIconPath, _Inout_ WORD *piIcon)
 
HICON WINAPI ExtractIconA (_Reserved_ HINSTANCE hInst, _In_ LPCSTR pszExeFileName, UINT nIconIndex)
 
HICON WINAPI ExtractIconW (_Reserved_ HINSTANCE hInst, _In_ LPCWSTR pszExeFileName, UINT nIconIndex)
 
UINT WINAPI ExtractIconExA (_In_ LPCSTR lpszFile, _In_ int nIconIndex, _Out_writes_opt_(nIcons) HICON *phiconLarge, _Out_writes_opt_(nIcons) HICON *phiconSmall, _In_ UINT nIcons)
 
UINT WINAPI ExtractIconExW (_In_ LPCWSTR lpszFile, _In_ int nIconIndex, _Out_writes_opt_(nIcons) HICON *phiconLarge, _Out_writes_opt_(nIcons) HICON *phiconSmall, _In_ UINT nIcons)
 
 _Success_ (return > 32) HINSTANCE WINAPI FindExecutableA(_In_ LPCSTR lpFile
 
_In_opt_ LPCSTR _Out_writes_ (MAX_PATH) LPSTR lpResult)
 
UINT_PTR WINAPI SHAppBarMessage (_In_ DWORD, _Inout_ PAPPBARDATA)
 
BOOL WINAPI Shell_NotifyIconA (_In_ DWORD, _In_ PNOTIFYICONDATAA)
 
BOOL WINAPI Shell_NotifyIconW (_In_ DWORD, _In_ PNOTIFYICONDATAW)
 
int WINAPI ShellAboutA (_In_opt_ HWND hWnd, _In_ LPCSTR szApp, _In_opt_ LPCSTR szOtherStuff, _In_opt_ HICON hIcon)
 
int WINAPI ShellAboutW (_In_opt_ HWND hWnd, _In_ LPCWSTR szApp, _In_opt_ LPCWSTR szOtherStuff, _In_opt_ HICON hIcon)
 
int ShellMessageBoxA (_In_opt_ HINSTANCE hAppInst, _In_opt_ HWND hWnd, _In_ LPCSTR lpcText, _In_opt_ LPCSTR lpcTitle, _In_ UINT fuStyle,...)
 
int ShellMessageBoxW (_In_opt_ HINSTANCE hAppInst, _In_opt_ HWND hWnd, _In_ LPCWSTR lpcText, _In_opt_ LPCWSTR lpcTitle, _In_ UINT fuStyle,...)
 
HINSTANCE WINAPI ShellExecuteA (_In_opt_ HWND hwnd, _In_opt_ LPCSTR lpOperation, _In_ LPCSTR lpFile, _In_opt_ LPCSTR lpParameters, _In_opt_ LPCSTR lpDirectory, _In_ INT nShowCmd)
 
HINSTANCE WINAPI ShellExecuteW (_In_opt_ HWND hwnd, _In_opt_ LPCWSTR lpOperation, _In_ LPCWSTR lpFile, _In_opt_ LPCWSTR lpParameters, _In_opt_ LPCWSTR lpDirectory, _In_ INT nShowCmd)
 
BOOL WINAPI ShellExecuteExA (_Inout_ LPSHELLEXECUTEINFOA)
 
BOOL WINAPI ShellExecuteExW (_Inout_ LPSHELLEXECUTEINFOW)
 
int WINAPI SHFileOperationA (_Inout_ LPSHFILEOPSTRUCTA)
 
int WINAPI SHFileOperationW (_Inout_ LPSHFILEOPSTRUCTW)
 
void WINAPI SHFreeNameMappings (_In_opt_ HANDLE)
 
DWORD_PTR WINAPI SHGetFileInfoA (_In_ LPCSTR pszPath, DWORD dwFileAttributes, _Inout_updates_bytes_opt_(cbFileInfo) SHFILEINFOA *psfi, UINT cbFileInfo, UINT uFlags)
 
DWORD_PTR WINAPI SHGetFileInfoW (_In_ LPCWSTR pszPath, DWORD dwFileAttributes, _Inout_updates_bytes_opt_(cbFileInfo) SHFILEINFOW *psfi, UINT cbFileInfo, UINT uFlags)
 
HRESULT WINAPI SHQueryRecycleBinA (_In_opt_ LPCSTR pszRootPath, _Inout_ LPSHQUERYRBINFO pSHQueryRBInfo)
 
HRESULT WINAPI SHQueryRecycleBinW (_In_opt_ LPCWSTR pszRootPath, _Inout_ LPSHQUERYRBINFO pSHQueryRBInfo)
 
HRESULT WINAPI SHEmptyRecycleBinA (_In_opt_ HWND hwnd, _In_opt_ LPCSTR pszRootPath, DWORD dwFlags)
 
HRESULT WINAPI SHEmptyRecycleBinW (_In_opt_ HWND hwnd, _In_opt_ LPCWSTR pszRootPath, DWORD dwFlags)
 
BOOL WINAPI SHCreateProcessAsUserW (_Inout_ PSHCREATEPROCESSINFOW)
 
DWORD WINAPI DoEnvironmentSubstA (_Inout_updates_(cchSrc) LPSTR pszSrc, UINT cchSrc)
 
DWORD WINAPI DoEnvironmentSubstW (_Inout_updates_(cchSrc) LPWSTR pszSrc, UINT cchSrc)
 

Variables

_In_ UINT iFile
 
_In_ UINT _In_ UINT cch
 
_In_opt_ LPCSTR lpDirectory
 
_In_ LPCSTR pszDir
 
_In_ LPCSTR _Out_ BOOLpfMustCopy
 
_In_ LPCSTR _Out_ BOOL _In_ UINT uFlags
 

Macro Definition Documentation

◆ ABE_BOTTOM

#define ABE_BOTTOM   3

Definition at line 20 of file shellapi.h.

◆ ABE_LEFT

#define ABE_LEFT   0

Definition at line 17 of file shellapi.h.

◆ ABE_RIGHT

#define ABE_RIGHT   2

Definition at line 19 of file shellapi.h.

◆ ABE_TOP

#define ABE_TOP   1

Definition at line 18 of file shellapi.h.

◆ ABM_ACTIVATE

#define ABM_ACTIVATE   6

Definition at line 65 of file shellapi.h.

◆ ABM_GETAUTOHIDEBAR

#define ABM_GETAUTOHIDEBAR   7

Definition at line 66 of file shellapi.h.

◆ ABM_GETSTATE

#define ABM_GETSTATE   4

Definition at line 63 of file shellapi.h.

◆ ABM_GETTASKBARPOS

#define ABM_GETTASKBARPOS   5

Definition at line 64 of file shellapi.h.

◆ ABM_NEW

#define ABM_NEW   0

Definition at line 59 of file shellapi.h.

◆ ABM_QUERYPOS

#define ABM_QUERYPOS   2

Definition at line 61 of file shellapi.h.

◆ ABM_REMOVE

#define ABM_REMOVE   1

Definition at line 60 of file shellapi.h.

◆ ABM_SETAUTOHIDEBAR

#define ABM_SETAUTOHIDEBAR   8

Definition at line 67 of file shellapi.h.

◆ ABM_SETPOS

#define ABM_SETPOS   3

Definition at line 62 of file shellapi.h.

◆ ABM_WINDOWPOSCHANGED

#define ABM_WINDOWPOSCHANGED   9

Definition at line 68 of file shellapi.h.

◆ ABN_FULLSCREENAPP

#define ABN_FULLSCREENAPP   2

Definition at line 71 of file shellapi.h.

◆ ABN_POSCHANGED

#define ABN_POSCHANGED   1

Definition at line 70 of file shellapi.h.

◆ ABN_STATECHANGE

#define ABN_STATECHANGE   0

Definition at line 69 of file shellapi.h.

◆ ABN_WINDOWARRANGE

#define ABN_WINDOWARRANGE   3

Definition at line 72 of file shellapi.h.

◆ ABS_ALWAYSONTOP

#define ABS_ALWAYSONTOP   2

Definition at line 22 of file shellapi.h.

◆ ABS_AUTOHIDE

#define ABS_AUTOHIDE   1

Definition at line 21 of file shellapi.h.

◆ DoEnvironmentSubst

#define DoEnvironmentSubst   DoEnvironmentSubstA

Definition at line 697 of file shellapi.h.

◆ DragQueryFile

#define DragQueryFile   DragQueryFileA

Definition at line 682 of file shellapi.h.

◆ ExtractAssociatedIcon

#define ExtractAssociatedIcon   ExtractAssociatedIconA

Definition at line 683 of file shellapi.h.

◆ ExtractIcon

#define ExtractIcon   ExtractIconA

Definition at line 684 of file shellapi.h.

◆ ExtractIconEx

#define ExtractIconEx   ExtractIconExA

Definition at line 685 of file shellapi.h.

◆ FindExecutable

#define FindExecutable   FindExecutableA

Definition at line 686 of file shellapi.h.

◆ FO_COPY

#define FO_COPY   2

Definition at line 134 of file shellapi.h.

◆ FO_DELETE

#define FO_DELETE   3

Definition at line 135 of file shellapi.h.

◆ FO_MOVE

#define FO_MOVE   1

Definition at line 133 of file shellapi.h.

◆ FO_RENAME

#define FO_RENAME   4

Definition at line 136 of file shellapi.h.

◆ FOF_ALLOWUNDO

#define FOF_ALLOWUNDO   0x0040

Definition at line 144 of file shellapi.h.

◆ FOF_CONFIRMMOUSE

#define FOF_CONFIRMMOUSE   0x0002

Definition at line 139 of file shellapi.h.

◆ FOF_FILESONLY

#define FOF_FILESONLY   0x0080

Definition at line 145 of file shellapi.h.

◆ FOF_MULTIDESTFILES

#define FOF_MULTIDESTFILES   0x0001

Definition at line 138 of file shellapi.h.

◆ FOF_NO_CONNECTED_ELEMENTS

#define FOF_NO_CONNECTED_ELEMENTS   0x2000 /* don't do connected files */

Definition at line 151 of file shellapi.h.

◆ FOF_NOCONFIRMATION

#define FOF_NOCONFIRMATION   0x0010

Definition at line 142 of file shellapi.h.

◆ FOF_NOCONFIRMMKDIR

#define FOF_NOCONFIRMMKDIR   0x0200

Definition at line 147 of file shellapi.h.

◆ FOF_NOCOPYSECURITYATTRIBS

#define FOF_NOCOPYSECURITYATTRIBS   0x0800

Definition at line 149 of file shellapi.h.

◆ FOF_NOERRORUI

#define FOF_NOERRORUI   0x0400

Definition at line 148 of file shellapi.h.

◆ FOF_NORECURSEREPARSE

#define FOF_NORECURSEREPARSE   0x8000 /* don't do recursion into reparse points */

Definition at line 154 of file shellapi.h.

◆ FOF_NORECURSION

#define FOF_NORECURSION   0x1000 /* don't do recursion into directories */

Definition at line 150 of file shellapi.h.

◆ FOF_RENAMEONCOLLISION

#define FOF_RENAMEONCOLLISION   0x0008

Definition at line 141 of file shellapi.h.

◆ FOF_SILENT

#define FOF_SILENT   0x0004

Definition at line 140 of file shellapi.h.

◆ FOF_SIMPLEPROGRESS

#define FOF_SIMPLEPROGRESS   0x0100

Definition at line 146 of file shellapi.h.

◆ FOF_WANTMAPPINGHANDLE

#define FOF_WANTMAPPINGHANDLE   0x0020

Definition at line 143 of file shellapi.h.

◆ FOF_WANTNUKEWARNING

#define FOF_WANTNUKEWARNING
Value:
0x4000 /* during delete operation, warn if delete instead
of recycling (even if FOF_NOCONFIRMATION) */

Definition at line 152 of file shellapi.h.

◆ NIF_ICON

#define NIF_ICON   2

Definition at line 103 of file shellapi.h.

◆ NIF_MESSAGE

#define NIF_MESSAGE   1

Definition at line 102 of file shellapi.h.

◆ NIF_TIP

#define NIF_TIP   4

Definition at line 104 of file shellapi.h.

◆ NIM_ADD

#define NIM_ADD   0

Definition at line 91 of file shellapi.h.

◆ NIM_DELETE

#define NIM_DELETE   2

Definition at line 93 of file shellapi.h.

◆ NIM_MODIFY

#define NIM_MODIFY   1

Definition at line 92 of file shellapi.h.

◆ NIN_POPUPCLOSE

#define NIN_POPUPCLOSE   (WM_USER + 7)

Definition at line 88 of file shellapi.h.

◆ NIN_POPUPOPEN

#define NIN_POPUPOPEN   (WM_USER + 6)

Definition at line 87 of file shellapi.h.

◆ NOTIFYICONDATA_V1_SIZE

#define NOTIFYICONDATA_V1_SIZE   NOTIFYICONDATAA_V1_SIZE

Definition at line 672 of file shellapi.h.

◆ NOTIFYICONDATA_V2_SIZE

#define NOTIFYICONDATA_V2_SIZE   NOTIFYICONDATAA_V2_SIZE

Definition at line 673 of file shellapi.h.

◆ NOTIFYICONDATA_V3_SIZE

#define NOTIFYICONDATA_V3_SIZE   NOTIFYICONDATAA_V3_SIZE

Definition at line 674 of file shellapi.h.

◆ NOTIFYICONDATAA_V1_SIZE

#define NOTIFYICONDATAA_V1_SIZE   FIELD_OFFSET(NOTIFYICONDATAA, szTip[64])

Definition at line 284 of file shellapi.h.

◆ NOTIFYICONDATAA_V2_SIZE

#define NOTIFYICONDATAA_V2_SIZE   FIELD_OFFSET(NOTIFYICONDATAA, guidItem)

Definition at line 286 of file shellapi.h.

◆ NOTIFYICONDATAA_V3_SIZE

#define NOTIFYICONDATAA_V3_SIZE   FIELD_OFFSET(NOTIFYICONDATAA, hBalloonIcon)

Definition at line 288 of file shellapi.h.

◆ NOTIFYICONDATAW_V1_SIZE

#define NOTIFYICONDATAW_V1_SIZE   FIELD_OFFSET(NOTIFYICONDATAW, szTip[64])

Definition at line 285 of file shellapi.h.

◆ NOTIFYICONDATAW_V2_SIZE

#define NOTIFYICONDATAW_V2_SIZE   FIELD_OFFSET(NOTIFYICONDATAW, guidItem)

Definition at line 287 of file shellapi.h.

◆ NOTIFYICONDATAW_V3_SIZE

#define NOTIFYICONDATAW_V3_SIZE   FIELD_OFFSET(NOTIFYICONDATAW, hBalloonIcon)

Definition at line 289 of file shellapi.h.

◆ PO_DELETE

#define PO_DELETE   19

Definition at line 156 of file shellapi.h.

◆ PO_PORTCHANGE

#define PO_PORTCHANGE   32

Definition at line 158 of file shellapi.h.

◆ PO_REN_PORT

#define PO_REN_PORT   52

Definition at line 159 of file shellapi.h.

◆ PO_RENAME

#define PO_RENAME   20

Definition at line 157 of file shellapi.h.

◆ SE_ERR_ACCESSDENIED

#define SE_ERR_ACCESSDENIED   5

Definition at line 124 of file shellapi.h.

◆ SE_ERR_ASSOCINCOMPLETE

#define SE_ERR_ASSOCINCOMPLETE   27

Definition at line 128 of file shellapi.h.

◆ SE_ERR_DDEBUSY

#define SE_ERR_DDEBUSY   30

Definition at line 131 of file shellapi.h.

◆ SE_ERR_DDEFAIL

#define SE_ERR_DDEFAIL   29

Definition at line 130 of file shellapi.h.

◆ SE_ERR_DDETIMEOUT

#define SE_ERR_DDETIMEOUT   28

Definition at line 129 of file shellapi.h.

◆ SE_ERR_DLLNOTFOUND

#define SE_ERR_DLLNOTFOUND   32

Definition at line 126 of file shellapi.h.

◆ SE_ERR_FNF

#define SE_ERR_FNF   2

Definition at line 122 of file shellapi.h.

◆ SE_ERR_NOASSOC

#define SE_ERR_NOASSOC   31

Definition at line 132 of file shellapi.h.

◆ SE_ERR_OOM

#define SE_ERR_OOM   8

Definition at line 125 of file shellapi.h.

◆ SE_ERR_PNF

#define SE_ERR_PNF   3

Definition at line 123 of file shellapi.h.

◆ SE_ERR_SHARE

#define SE_ERR_SHARE   26

Definition at line 127 of file shellapi.h.

◆ SEE_MASK_ASYNCOK

#define SEE_MASK_ASYNCOK   0x00100000

Definition at line 52 of file shellapi.h.

◆ SEE_MASK_CLASSKEY

#define SEE_MASK_CLASSKEY   0x00000003

Definition at line 26 of file shellapi.h.

◆ SEE_MASK_CLASSNAME

#define SEE_MASK_CLASSNAME   0x00000001

Definition at line 25 of file shellapi.h.

◆ SEE_MASK_CONNECTNETDRV

#define SEE_MASK_CONNECTNETDRV   0x00000080

Definition at line 32 of file shellapi.h.

◆ SEE_MASK_DEFAULT

#define SEE_MASK_DEFAULT   0x00000000

Definition at line 24 of file shellapi.h.

◆ SEE_MASK_DOENVSUBST

#define SEE_MASK_DOENVSUBST   0x00000200

Definition at line 35 of file shellapi.h.

◆ SEE_MASK_FLAG_DDEWAIT

#define SEE_MASK_FLAG_DDEWAIT   SEE_MASK_NOASYNC

Definition at line 34 of file shellapi.h.

◆ SEE_MASK_FLAG_LOG_USAGE

#define SEE_MASK_FLAG_LOG_USAGE   0x04000000

Definition at line 57 of file shellapi.h.

◆ SEE_MASK_FLAG_NO_UI

#define SEE_MASK_FLAG_NO_UI   0x00000400

Definition at line 36 of file shellapi.h.

◆ SEE_MASK_FLAG_SEPVDM

#define SEE_MASK_FLAG_SEPVDM   0x00040000

Definition at line 50 of file shellapi.h.

◆ SEE_MASK_HASLINKNAME

#define SEE_MASK_HASLINKNAME   0x00010000

Definition at line 48 of file shellapi.h.

◆ SEE_MASK_HASTITLE

#define SEE_MASK_HASTITLE   0x00020000

Definition at line 49 of file shellapi.h.

◆ SEE_MASK_HMONITOR

#define SEE_MASK_HMONITOR   0x00200000

Definition at line 53 of file shellapi.h.

◆ SEE_MASK_HOTKEY

#define SEE_MASK_HOTKEY   0x00000020

Definition at line 30 of file shellapi.h.

◆ SEE_MASK_ICON

#define SEE_MASK_ICON   0x00000010

Definition at line 29 of file shellapi.h.

◆ SEE_MASK_IDLIST

#define SEE_MASK_IDLIST   0x00000004

Definition at line 27 of file shellapi.h.

◆ SEE_MASK_INVOKEIDLIST

#define SEE_MASK_INVOKEIDLIST   0x0000000C

Definition at line 28 of file shellapi.h.

◆ SEE_MASK_NO_CONSOLE

#define SEE_MASK_NO_CONSOLE   0x00008000

Definition at line 38 of file shellapi.h.

◆ SEE_MASK_NOASYNC

#define SEE_MASK_NOASYNC   0x00000100

Definition at line 33 of file shellapi.h.

◆ SEE_MASK_NOCLOSEPROCESS

#define SEE_MASK_NOCLOSEPROCESS   0x00000040

Definition at line 31 of file shellapi.h.

◆ SEE_MASK_NOQUERYCLASSSTORE

#define SEE_MASK_NOQUERYCLASSSTORE   0x01000000

Definition at line 55 of file shellapi.h.

◆ SEE_MASK_NOZONECHECKS

#define SEE_MASK_NOZONECHECKS   0x00800000

Definition at line 54 of file shellapi.h.

◆ SEE_MASK_UNICODE

#define SEE_MASK_UNICODE   0x00004000

Definition at line 37 of file shellapi.h.

◆ SEE_MASK_WAITFORINPUTIDLE

#define SEE_MASK_WAITFORINPUTIDLE   0x02000000

Definition at line 56 of file shellapi.h.

◆ Shell_NotifyIcon

#define Shell_NotifyIcon   Shell_NotifyIconA

Definition at line 687 of file shellapi.h.

◆ ShellAbout

#define ShellAbout   ShellAboutA

Definition at line 688 of file shellapi.h.

◆ ShellExecute

#define ShellExecute   ShellExecuteA

Definition at line 689 of file shellapi.h.

◆ ShellExecuteEx

#define ShellExecuteEx   ShellExecuteExA

Definition at line 690 of file shellapi.h.

◆ ShellMessageBox

#define ShellMessageBox   ShellMessageBoxA

Definition at line 691 of file shellapi.h.

◆ SHEmptyRecycleBin

#define SHEmptyRecycleBin   SHEmptyRecycleBinA

Definition at line 695 of file shellapi.h.

◆ SHERB_NOCONFIRMATION

#define SHERB_NOCONFIRMATION   0x1

Definition at line 394 of file shellapi.h.

◆ SHERB_NOPROGRESSUI

#define SHERB_NOPROGRESSUI   0x2

Definition at line 395 of file shellapi.h.

◆ SHERB_NOSOUND

#define SHERB_NOSOUND   0x4

Definition at line 396 of file shellapi.h.

◆ SHFileOperation

#define SHFileOperation   SHFileOperationA

Definition at line 692 of file shellapi.h.

◆ SHGetFileInfo

#define SHGetFileInfo   SHGetFileInfoA

Definition at line 693 of file shellapi.h.

◆ SHGetNewLinkInfo

#define SHGetNewLinkInfo   SHGetNewLinkInfoA

Definition at line 696 of file shellapi.h.

◆ SHGFI_ADDOVERLAYS

#define SHGFI_ADDOVERLAYS   32

Definition at line 160 of file shellapi.h.

◆ SHGFI_ATTR_SPECIFIED

#define SHGFI_ATTR_SPECIFIED   131072

Definition at line 172 of file shellapi.h.

◆ SHGFI_ATTRIBUTES

#define SHGFI_ATTRIBUTES   2048

Definition at line 166 of file shellapi.h.

◆ SHGFI_DISPLAYNAME

#define SHGFI_DISPLAYNAME   512

Definition at line 164 of file shellapi.h.

◆ SHGFI_EXETYPE

#define SHGFI_EXETYPE   8192

Definition at line 168 of file shellapi.h.

◆ SHGFI_ICON

#define SHGFI_ICON   256

Definition at line 162 of file shellapi.h.

◆ SHGFI_ICONLOCATION

#define SHGFI_ICONLOCATION   4096

Definition at line 167 of file shellapi.h.

◆ SHGFI_LARGEICON

#define SHGFI_LARGEICON   0

Definition at line 173 of file shellapi.h.

◆ SHGFI_LINKOVERLAY

#define SHGFI_LINKOVERLAY   32768

Definition at line 170 of file shellapi.h.

◆ SHGFI_OPENICON

#define SHGFI_OPENICON   2

Definition at line 176 of file shellapi.h.

◆ SHGFI_OVERLAYINDEX

#define SHGFI_OVERLAYINDEX   64

Definition at line 161 of file shellapi.h.

◆ SHGFI_PIDL

#define SHGFI_PIDL   8

Definition at line 178 of file shellapi.h.

◆ SHGFI_SELECTED

#define SHGFI_SELECTED   65536

Definition at line 171 of file shellapi.h.

◆ SHGFI_SHELLICONSIZE

#define SHGFI_SHELLICONSIZE   4

Definition at line 177 of file shellapi.h.

◆ SHGFI_SMALLICON

#define SHGFI_SMALLICON   1

Definition at line 174 of file shellapi.h.

◆ SHGFI_SYSICONINDEX

#define SHGFI_SYSICONINDEX   16384

Definition at line 169 of file shellapi.h.

◆ SHGFI_TYPENAME

#define SHGFI_TYPENAME   1024

Definition at line 165 of file shellapi.h.

◆ SHGFI_USEFILEATTRIBUTES

#define SHGFI_USEFILEATTRIBUTES   16

Definition at line 179 of file shellapi.h.

◆ SHGNLI_NOLNK

#define SHGNLI_NOLNK   0x08

Definition at line 405 of file shellapi.h.

◆ SHGNLI_NOUNIQUE

#define SHGNLI_NOUNIQUE   0x04

Definition at line 404 of file shellapi.h.

◆ SHGNLI_PIDL

#define SHGNLI_PIDL   0x01

Definition at line 402 of file shellapi.h.

◆ SHGNLI_PREFIXNAME

#define SHGNLI_PREFIXNAME   0x02

Definition at line 403 of file shellapi.h.

◆ SHGSI_ICON

#define SHGSI_ICON   SHGFI_ICON

Definition at line 163 of file shellapi.h.

◆ SHGSI_ICONLOCATION

#define SHGSI_ICONLOCATION   0

Definition at line 710 of file shellapi.h.

◆ SHGSI_SMALLICON

#define SHGSI_SMALLICON   SHGFI_SMALLICON

Definition at line 175 of file shellapi.h.

◆ SHIL_EXTRALARGE

#define SHIL_EXTRALARGE   0x2

Definition at line 184 of file shellapi.h.

◆ SHIL_JUMBO

#define SHIL_JUMBO   0x4

Definition at line 187 of file shellapi.h.

◆ SHIL_LARGE

#define SHIL_LARGE   0x0

Definition at line 182 of file shellapi.h.

◆ SHIL_LAST

#define SHIL_LAST   SHIL_JUMBO

Definition at line 188 of file shellapi.h.

◆ SHIL_SMALL

#define SHIL_SMALL   0x1

Definition at line 183 of file shellapi.h.

◆ SHIL_SYSSMALL

#define SHIL_SYSSMALL   0x3

Definition at line 185 of file shellapi.h.

◆ SHQueryRecycleBin

#define SHQueryRecycleBin   SHQueryRecycleBinA

Definition at line 694 of file shellapi.h.

◆ WINSHELLAPI

#define WINSHELLAPI   DECLSPEC_IMPORT

Definition at line 16 of file shellapi.h.

Typedef Documentation

◆ APPBARDATA

◆ DRAGINFO

typedef DRAGINFOA DRAGINFO

Definition at line 676 of file shellapi.h.

◆ FILEOP_FLAGS

typedef WORD FILEOP_FLAGS

Definition at line 211 of file shellapi.h.

◆ LPDRAGINFO

typedef DRAGINFOA * LPDRAGINFO

Definition at line 676 of file shellapi.h.

◆ LPSHELLEXECUTEINFO

Definition at line 677 of file shellapi.h.

◆ LPSHELLEXECUTEINFOA

◆ LPSHELLEXECUTEINFOW

◆ LPSHFILEOPSTRUCT

Definition at line 678 of file shellapi.h.

◆ LPSHFILEOPSTRUCTA

◆ LPSHFILEOPSTRUCTW

◆ LPSHNAMEMAPPING

Definition at line 681 of file shellapi.h.

◆ LPSHNAMEMAPPINGA

◆ LPSHNAMEMAPPINGW

◆ LPSHQUERYRBINFO

◆ NOTIFYICONDATA

Definition at line 675 of file shellapi.h.

◆ NOTIFYICONDATAA

◆ NOTIFYICONDATAW

◆ PAPPBARDATA

◆ PNOTIFYICONDATA

Definition at line 675 of file shellapi.h.

◆ PNOTIFYICONDATAA

◆ PNOTIFYICONDATAW

◆ PRINTEROP_FLAGS

Definition at line 212 of file shellapi.h.

◆ PSHCREATEPROCESSINFOW

◆ SHCREATEPROCESSINFOW

◆ SHELLEXECUTEINFO

Definition at line 677 of file shellapi.h.

◆ SHELLEXECUTEINFOA

◆ SHELLEXECUTEINFOW

◆ SHFILEINFO

Definition at line 679 of file shellapi.h.

◆ SHFILEINFOA

◆ SHFILEINFOW

◆ SHFILEOPSTRUCT

Definition at line 678 of file shellapi.h.

◆ SHFILEOPSTRUCTA

◆ SHFILEOPSTRUCTW

◆ SHNAMEMAPPING

Definition at line 680 of file shellapi.h.

◆ SHNAMEMAPPINGA

◆ SHNAMEMAPPINGW

◆ SHQUERYRBINFO

◆ SHSTOCKICONID

◆ SHSTOCKICONINFO

Enumeration Type Documentation

◆ SHSTOCKICONID

Enumerator
SIID_INVALID 
SIID_DOCNOASSOC 
SIID_DOCASSOC 
SIID_APPLICATION 
SIID_FOLDER 
SIID_FOLDEROPEN 
SIID_DRIVE525 
SIID_DRIVE35 
SIID_DRIVERREMOVE 
SIID_DRIVERFIXED 
SIID_DRIVERNET 
SIID_DRIVERNETDISABLE 
SIID_DRIVERCD 
SIID_DRIVERRAM 
SIID_WORLD 
SIID_SERVER 
SIID_PRINTER 
SIID_MYNETWORK 
SIID_FIND 
SIID_HELP 
SIID_SHARE 
SIID_LINK 
SIID_SLOWFILE 
SIID_RECYCLER 
SIID_RECYCLERFULL 
SIID_MEDIACDAUDIO 
SIID_LOCK 
SIID_AUTOLIST 
SIID_PRINTERNET 
SIID_SERVERSHARE 
SIID_PRINTERFAX 
SIID_PRINTERFAXNET 
SIID_PRINTERFILE 
SIID_STACK 
SIID_MEDIASVCD 
SIID_STUFFEDFOLDER 
SIID_DRIVEUNKNOWN 
SIID_DRIVEDVD 
SIID_MEDIADVD 
SIID_MEDIADVDRAM 
SIID_MEDIADVDRW 
SIID_MEDIADVDR 
SIID_MEDIADVDROM 
SIID_MEDIACDAUDIOPLUS 
SIID_MEDIACDRW 
SIID_MEDIACDR 
SIID_MEDIACDBURN 
SIID_MEDIABLANKCD 
SIID_MEDIACDROM 
SIID_AUDIOFILES 
SIID_IMAGEFILES 
SIID_VIDEOFILES 
SIID_MIXEDFILES 
SIID_FOLDERBACK 
SIID_FOLDERFRONT 
SIID_SHIELD 
SIID_WARNING 
SIID_INFO 
SIID_ERROR 
SIID_KEY 
SIID_SOFTWARE 
SIID_RENAME 
SIID_DELETE 
SIID_MEDIAAUDIODVD 
SIID_MEDIAMOVIEDVD 
SIID_MEDIAENHANCEDCD 
SIID_MEDIAENHANCEDDVD 
SIID_MEDIAHDDVD 
SIID_MEDIABLUERAY 
SIID_MEDIAVCD 
SIID_MEDIADVDPLUSR 
SIID_MEDIADVDPLUSRW 
SIID_DESKTOPPC 
SIID_MOBILEPC 
SIID_USERS 
SIID_MEDIASMARTMEDIA 
SIID_MEDIACOMPACTFLASH 
SIID_DEVICECELLPHONE 
SIID_DEVICECAMERA 
SIID_DEVICEVIDEOCAMERA 
SIID_DEVICEAUDIOPLAYER 
SIID_NETWORKCONNECT 
SIID_INTERNET 
SIID_ZIPFILE 
SIID_SETTINGS 
SIID_DRIVEHDDVD 
SIID_DRIVEBD 
SIID_MEDIAHDDVDROM 
SIID_MEDIAHDDVDR 
SIID_MEDIAHDDVDRAM 
SIID_MEDIABDROM 
SIID_MEDIABDR 
SIID_MEDIABDRE 
SIID_CLUSTEREDDRIVE 
SIID_MAX_ICONS 

Definition at line 712 of file shellapi.h.

713 {
714  SIID_INVALID=-1,
718  SIID_FOLDER,
721  SIID_DRIVE35,
728  SIID_WORLD,
729  /* Missing: 14 */
730  SIID_SERVER = 15,
731  SIID_PRINTER,
733  /* Missing: 18 - 21 */
734  SIID_FIND = 22,
735  SIID_HELP,
736  /* Missing: 24 - 27 */
737  SIID_SHARE = 28,
738  SIID_LINK,
742  /* Missing: 33 - 39 */
743  SIID_MEDIACDAUDIO = 40,
744  /* Missing: 41 - 46 */
745  SIID_LOCK = 47,
746  /* Missing: 48 */
747  SIID_AUTOLIST = 49,
753  SIID_STACK,
775  SIID_SHIELD,
776  SIID_WARNING,
777  SIID_INFO,
778  SIID_ERROR,
779  SIID_KEY,
781  SIID_RENAME,
782  SIID_DELETE,
794  SIID_USERS,
803  SIID_ZIPFILE,
805  /* Missing: 107 - 131 */
806  SIID_DRIVEHDDVD = 132,
807  SIID_DRIVEBD,
815  /* Missing: 141 - 174 */
816  SIID_MAX_ICONS = 175
817 } SHSTOCKICONID;
SHSTOCKICONID
Definition: shellapi.h:712

Function Documentation

◆ _Out_writes_()

_Out_writes_ ( MAX_PATH  )

◆ _Out_writes_opt_()

_In_ UINT _Out_writes_opt_ ( cch  )

Referenced by DECLARE_INTERFACE_().

◆ _Success_() [1/2]

_Success_ ( return = 0)

Definition at line 3139 of file fsctrl.c.

3189 {
3190  PLIST_ENTRY Link;
3191 
3192  PVPB Vpb = Vcb->Vpb;
3193  PVPB OldVpb;
3194 
3195  BOOLEAN Remount = FALSE;
3196 
3197  PAGED_CODE();
3198 
3199  UNREFERENCED_PARAMETER( IrpContext );
3200 
3201  //
3202  // Check whether we are looking for a device only Mvcb.
3203  //
3204 
3205  for (Link = CdData.VcbQueue.Flink;
3206  Link != &CdData.VcbQueue;
3207  Link = Link->Flink) {
3208 
3209  *OldVcb = CONTAINING_RECORD( Link, VCB, VcbLinks );
3210 
3211  //
3212  // Skip ourselves.
3213  //
3214 
3215  if (Vcb == *OldVcb) { continue; }
3216 
3217  //
3218  // Look at the Vpb and state of the previous Vcb.
3219  //
3220 
3221  OldVpb = (*OldVcb)->Vpb;
3222 
3223  if ((OldVpb != Vpb) &&
3224  (OldVpb->RealDevice == Vpb->RealDevice) &&
3225  ((*OldVcb)->VcbCondition == VcbNotMounted)) {
3226 
3227  //
3228  // If the current disk is a raw disk then it can match a previous music or
3229  // raw disk.
3230  //
3231 
3232  if (FlagOn( Vcb->VcbState, VCB_STATE_AUDIO_DISK)) {
3233 
3234  if (FlagOn( (*OldVcb)->VcbState, VCB_STATE_AUDIO_DISK )) {
3235 
3236  //
3237  // If we have both TOC then fail the remount if the lengths
3238  // are different or they don't match.
3239  //
3240 
3241  if ((Vcb->TocLength != (*OldVcb)->TocLength) ||
3242  ((Vcb->TocLength != 0) &&
3243  !RtlEqualMemory( Vcb->CdromToc,
3244  (*OldVcb)->CdromToc,
3245  Vcb->TocLength ))) {
3246 
3247  continue;
3248  }
3249 
3250  Remount = TRUE;
3251  break;
3252  }
3253 
3254  //
3255  // The current disk is not a raw disk. Go ahead and compare
3256  // serial numbers, volume label and TOC.
3257  //
3258 
3259  }
3260  else if ((OldVpb->SerialNumber == Vpb->SerialNumber) &&
3261  (Vcb->TocLength == (*OldVcb)->TocLength) &&
3262  ((Vcb->TocLength == 0) || RtlEqualMemory( Vcb->CdromToc,
3263  (*OldVcb)->CdromToc,
3264  Vcb->TocLength )) &&
3265  (Vpb->VolumeLabelLength == OldVpb->VolumeLabelLength) &&
3266  (RtlEqualMemory( OldVpb->VolumeLabel,
3267  Vpb->VolumeLabel,
3268  Vpb->VolumeLabelLength ))) {
3269  //
3270  // Remember the old Vcb. Then set the return value to
3271  // TRUE and break.
3272  //
3273 
3274  Remount = TRUE;
3275  break;
3276  }
3277  }
3278  }
3279 
3280  return Remount;
3281 }
#define VCB_STATE_AUDIO_DISK
Definition: cdstruc.h:718
#define TRUE
Definition: types.h:120
WCHAR VolumeLabel[MAXIMUM_VOLUME_LABEL_LENGTH/sizeof(WCHAR)]
Definition: iotypes.h:175
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:323
Definition: cdstruc.h:504
static int Link(const char **args)
Definition: vfdcmd.c:2414
#define PAGED_CODE()
Definition: video.h:57
unsigned char BOOLEAN
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
struct _LIST_ENTRY * Flink
Definition: typedefs.h:119
CD_DATA CdData
Definition: cddata.c:42
NTSYSAPI ULONG NTAPI RtlEqualMemory(CONST VOID *Source1, CONST VOID *Source2, ULONG Length)
struct _DEVICE_OBJECT * RealDevice
Definition: iotypes.h:172
#define Vcb
Definition: cdprocs.h:1425
Definition: typedefs.h:117
#define FlagOn(_F, _SF)
Definition: ext2fs.h:179
LIST_ENTRY VcbQueue
Definition: cdstruc.h:340
Definition: iotypes.h:166
USHORT VolumeLabelLength
Definition: iotypes.h:170
ULONG SerialNumber
Definition: iotypes.h:173
IN OUT PVCB IN PDEVICE_OBJECT IN PVPB Vpb
Definition: fatprocs.h:1664

◆ _Success_() [2/2]

_Success_ ( return  ,
32   
)

◆ CommandLineToArgvW()

LPWSTR* WINAPI CommandLineToArgvW ( _In_  LPCWSTR,
_Out_ int  
)

◆ DECLARE_HANDLE()

DECLARE_HANDLE ( HDROP  )

◆ DoEnvironmentSubstA()

DWORD WINAPI DoEnvironmentSubstA ( _Inout_updates_(cchSrc) LPSTR  pszSrc,
UINT  cchSrc 
)

◆ DoEnvironmentSubstW()

DWORD WINAPI DoEnvironmentSubstW ( _Inout_updates_(cchSrc) LPWSTR  pszSrc,
UINT  cchSrc 
)

◆ DragAcceptFiles()

void WINAPI DragAcceptFiles ( _In_  HWND,
_In_  BOOL 
)

◆ DragFinish()

void WINAPI DragFinish ( _In_  HDROP)

◆ DragQueryPoint()

BOOL WINAPI DragQueryPoint ( _In_  HDROP,
_Out_  LPPOINT 
)

◆ ExtractAssociatedIconA()

HICON WINAPI ExtractAssociatedIconA ( _Reserved_ HINSTANCE  hInst,
_Inout_updates_(128) LPSTR  pszIconPath,
_Inout_ WORD piIcon 
)

◆ ExtractAssociatedIconW()

HICON WINAPI ExtractAssociatedIconW ( _Reserved_ HINSTANCE  hInst,
_Inout_updates_(128) LPWSTR  pszIconPath,
_Inout_ WORD piIcon 
)

◆ ExtractIconA()

HICON WINAPI ExtractIconA ( _Reserved_ HINSTANCE  hInst,
_In_ LPCSTR  pszExeFileName,
UINT  nIconIndex 
)

◆ ExtractIconExA()

UINT WINAPI ExtractIconExA ( _In_ LPCSTR  lpszFile,
_In_ int  nIconIndex,
_Out_writes_opt_(nIcons) HICON phiconLarge,
_Out_writes_opt_(nIcons) HICON phiconSmall,
_In_ UINT  nIcons 
)

◆ ExtractIconExW()

UINT WINAPI ExtractIconExW ( _In_ LPCWSTR  lpszFile,
_In_ int  nIconIndex,
_Out_writes_opt_(nIcons) HICON phiconLarge,
_Out_writes_opt_(nIcons) HICON phiconSmall,
_In_ UINT  nIcons 
)

◆ ExtractIconW()

HICON WINAPI ExtractIconW ( _Reserved_ HINSTANCE  hInst,
_In_ LPCWSTR  pszExeFileName,
UINT  nIconIndex 
)

◆ SHAppBarMessage()

UINT_PTR WINAPI SHAppBarMessage ( _In_  DWORD,
_Inout_  PAPPBARDATA 
)

◆ SHCreateProcessAsUserW()

BOOL WINAPI SHCreateProcessAsUserW ( _Inout_  PSHCREATEPROCESSINFOW)

◆ Shell_NotifyIconA()

BOOL WINAPI Shell_NotifyIconA ( _In_  DWORD,
_In_  PNOTIFYICONDATAA 
)

◆ Shell_NotifyIconW()

BOOL WINAPI Shell_NotifyIconW ( _In_  DWORD,
_In_  PNOTIFYICONDATAW 
)

◆ ShellAboutA()

int WINAPI ShellAboutA ( _In_opt_ HWND  hWnd,
_In_ LPCSTR  szApp,
_In_opt_ LPCSTR  szOtherStuff,
_In_opt_ HICON  hIcon 
)

◆ ShellAboutW()

int WINAPI ShellAboutW ( _In_opt_ HWND  hWnd,
_In_ LPCWSTR  szApp,
_In_opt_ LPCWSTR  szOtherStuff,
_In_opt_ HICON  hIcon 
)

◆ ShellExecuteA()

HINSTANCE WINAPI ShellExecuteA ( _In_opt_ HWND  hwnd,
_In_opt_ LPCSTR  lpOperation,
_In_ LPCSTR  lpFile,
_In_opt_ LPCSTR  lpParameters,
_In_opt_ LPCSTR  lpDirectory,
_In_ INT  nShowCmd 
)

◆ ShellExecuteExA()

BOOL WINAPI ShellExecuteExA ( _Inout_  LPSHELLEXECUTEINFOA)

◆ ShellExecuteExW()

BOOL WINAPI ShellExecuteExW ( _Inout_  LPSHELLEXECUTEINFOW)

◆ ShellExecuteW()

HINSTANCE WINAPI ShellExecuteW ( _In_opt_ HWND  hwnd,
_In_opt_ LPCWSTR  lpOperation,
_In_ LPCWSTR  lpFile,
_In_opt_ LPCWSTR  lpParameters,
_In_opt_ LPCWSTR  lpDirectory,
_In_ INT  nShowCmd 
)

◆ ShellMessageBoxA()

int ShellMessageBoxA ( _In_opt_ HINSTANCE  hAppInst,
_In_opt_ HWND  hWnd,
_In_ LPCSTR  lpcText,
_In_opt_ LPCSTR  lpcTitle,
_In_ UINT  fuStyle,
  ... 
)

◆ ShellMessageBoxW()

int ShellMessageBoxW ( _In_opt_ HINSTANCE  hAppInst,
_In_opt_ HWND  hWnd,
_In_ LPCWSTR  lpcText,
_In_opt_ LPCWSTR  lpcTitle,
_In_ UINT  fuStyle,
  ... 
)

◆ SHEmptyRecycleBinA()

HRESULT WINAPI SHEmptyRecycleBinA ( _In_opt_ HWND  hwnd,
_In_opt_ LPCSTR  pszRootPath,
DWORD  dwFlags 
)

◆ SHEmptyRecycleBinW()

HRESULT WINAPI SHEmptyRecycleBinW ( _In_opt_ HWND  hwnd,
_In_opt_ LPCWSTR  pszRootPath,
DWORD  dwFlags 
)

◆ SHFileOperationA()

int WINAPI SHFileOperationA ( _Inout_  LPSHFILEOPSTRUCTA)

◆ SHFileOperationW()

int WINAPI SHFileOperationW ( _Inout_  LPSHFILEOPSTRUCTW)

◆ SHFreeNameMappings()

void WINAPI SHFreeNameMappings ( _In_opt_  HANDLE)

◆ SHGetFileInfoA()

DWORD_PTR WINAPI SHGetFileInfoA ( _In_ LPCSTR  pszPath,
DWORD  dwFileAttributes,
_Inout_updates_bytes_opt_(cbFileInfo) SHFILEINFOA psfi,
UINT  cbFileInfo,
UINT  uFlags 
)

◆ SHGetFileInfoW()

DWORD_PTR WINAPI SHGetFileInfoW ( _In_ LPCWSTR  pszPath,
DWORD  dwFileAttributes,
_Inout_updates_bytes_opt_(cbFileInfo) SHFILEINFOW psfi,
UINT  cbFileInfo,
UINT  uFlags 
)

◆ SHQueryRecycleBinA()

HRESULT WINAPI SHQueryRecycleBinA ( _In_opt_ LPCSTR  pszRootPath,
_Inout_ LPSHQUERYRBINFO  pSHQueryRBInfo 
)

◆ SHQueryRecycleBinW()

HRESULT WINAPI SHQueryRecycleBinW ( _In_opt_ LPCWSTR  pszRootPath,
_Inout_ LPSHQUERYRBINFO  pSHQueryRBInfo 
)

Variable Documentation

◆ cch

Definition at line 418 of file shellapi.h.

◆ iFile

Definition at line 416 of file shellapi.h.

◆ lpDirectory

◆ pfMustCopy

_In_ LPCWSTR _Out_ BOOL * pfMustCopy

Definition at line 582 of file shellapi.h.

Referenced by SHGetNewLinkInfoA(), SHGetNewLinkInfoW(), and SHGetNewLinkInfoWrapW().

◆ pszDir

◆ uFlags

Definition at line 582 of file shellapi.h.