added sysprog entities
This commit is contained in:
62
SYSPROG/STPROCINS/MSWIN_SHFOLDER_EQUATES.txt
Normal file
62
SYSPROG/STPROCINS/MSWIN_SHFOLDER_EQUATES.txt
Normal file
@ -0,0 +1,62 @@
|
||||
compile insert msWin_SHFolder_Equates
|
||||
/*
|
||||
Author Mr C
|
||||
Date April 2018
|
||||
Purpose Equates for use with Win32 Shell Folder functions
|
||||
|
||||
Comments
|
||||
========
|
||||
|
||||
Extracted from shfolder.h and shlobj.h
|
||||
|
||||
|
||||
Amended Date Reason
|
||||
======= ==== ======
|
||||
|
||||
*/
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _MSWIN_SHFOLDER_EQUATES_
|
||||
#define _MSWIN_SHFOLDER_EQUATES_
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
declare function msWin_SHGetFolderPath
|
||||
$insert msWin_Max_Path_Equates
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
equ CSIDL_PERSONAL$ to 0x0005 ; * // My Documents
|
||||
equ CSIDL_MYMUSIC$ to 0x000d ; * // "My Music" folder
|
||||
equ CSIDL_APPDATA$ to 0x001A ; * // Application Data
|
||||
equ CSIDL_LOCAL_APPDATA$ to 0x001C ; * // non roaming,
|
||||
; * // user\Local Settings\Application Data
|
||||
equ CSIDL_INTERNET_CACHE$ to 0x0020 ;
|
||||
equ CSIDL_COOKIES$ to 0x0021 ;
|
||||
equ CSIDL_HISTORY$ to 0x0022 ;
|
||||
equ CSIDL_COMMON_APPDATA$ to 0x0023 ; * // All Users\Application Data
|
||||
equ CSIDL_WINDOWS$ to 0x0024 ; * // GetWindowsDirectory()
|
||||
equ CSIDL_SYSTEM$ to 0x0025 ; * // GetSystemDirectory()
|
||||
equ CSIDL_PROGRAM_FILES$ to 0x0026 ; * // C:\Program Files
|
||||
equ CSIDL_MYPICTURES$ to 0x0027 ; * // My Pictures, new for Win2K
|
||||
equ CSIDL_PROGRAM_FILES_COMMON$ to 0x002b ; * // C:\Program Files\Common
|
||||
equ CSIDL_COMMON_DOCUMENTS$ to 0x002e ; * // All Users\Documents
|
||||
equ CSIDL_RESOURCES$ to 0x0038 ; * // %windir%\Resources\,
|
||||
; * // For theme and other windows resources.
|
||||
equ CSIDL_RESOURCES_LOCALIZED$ to 0x0039 ; * // %windir%\Resources\<LangID>,
|
||||
; * // for theme and other windows specific resources.
|
||||
equ CSIDL_COMMON_ADMINTOOLS$ to 0x002f ; * // All Users\Start Menu\Programs\Administrative Tools
|
||||
equ CSIDL_ADMINTOOLS$ to 0x0030 ; * // <user name>\Start Menu\Programs\Administrative Tools
|
||||
|
||||
equ CSIDL_FLAG_CREATE$ to 0x8000 ; * // new for Win2K, or this in to force creation of folder
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
equ SHGFP_TYPE_CURRENT$ to 0 ; * // current value for user, verify it exists
|
||||
equ SHGFP_TYPE_DEFAULT$ to 1
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#endif
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user