Changeset 258 for Include/api_shell.sbp


Ignore:
Timestamp:
May 21, 2007, 1:03:21 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

Prompt.sbp内を名前空間に入れた。EnvironmentのMachineName, UserName, GetFolderPathを実装。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_shell.sbp

    r170 r258  
    374374
    375375' ShlObj.h
     376
     377'要IE4
    376378Declare Function SHGetSpecialFolderPath Lib "shell32" Alias _FuncName_SHGetSpecialFolderPath (hwndOwner As HWND, lpszPath As LPTSTR, nFolder As Long, fCreate As BOOL) As BOOL
    377379
     
    379381Declare Function SHGetInstanceExplorer Lib "shell32" (ByRef ppunk As *IUnknown) As HRESULT
    380382
    381 Const CSIDL_PERSONAL = 5
    382 Const CSIDL_FAVORITIES = 6
     383'shlobj.h
     384Declare Function SHGetSpecialFolderLocation Lib "shell32" (hwndOwner As HWND, nFolder As Long, ByRef pidl As LPITEMIDLIST) As HRESULT
     385
     386'shlobj.h
     387'要Win2k/Me
     388'Declare Function SHGetFolderLocation Lib "shell32" (hwndOwner As HWND, nFolder As Long, hToken As HANDLE, dwReserved As DWord, ByRef pidl As LPITEMIDLIST) As HRESULT
     389
     390Const CSIDL_DESKTOP = &h0000
     391Const CSIDL_INTERNET = &h0001
     392Const CSIDL_PROGRAMS = &h0002
     393Const CSIDL_CONTROLS = &h0003
     394Const CSIDL_PRINTERS = &h0004
     395Const CSIDL_PERSONAL = &h0005
     396Const CSIDL_FAVORITES = &h0006
     397Const CSIDL_STARTUP = &h0007
     398Const CSIDL_RECENT = &h0008
     399Const CSIDL_SENDTO = &h0009
     400Const CSIDL_BITBUCKET = &h000a
     401Const CSIDL_STARTMENU = &h000b
     402Const CSIDL_MYMUSIC = &h000d
     403Const CSIDL_DESKTOPDIRECTORY = &h0010
     404Const CSIDL_DRIVES = &h0011
     405Const CSIDL_NETWORK = &h0012
     406Const CSIDL_NETHOOD = &h0013
     407Const CSIDL_FONTS = &h0014
     408Const CSIDL_TEMPLATES = &h0015
     409Const CSIDL_COMMON_STARTMENU = &h0016
     410Const CSIDL_COMMON_PROGRAMS = &h0017
     411Const CSIDL_COMMON_STARTUP = &h0018
     412Const CSIDL_COMMON_DESKTOPDIRECTORY = &h0019
     413Const CSIDL_APPDATA = &h001a
     414Const CSIDL_PRINTHOOD = &h001b
     415Const CSIDL_LOCAL_APPDATA = &h001c
     416Const CSIDL_ALTSTARTUP = &h001d
     417Const CSIDL_COMMON_ALTSTARTUP = &h001e
     418Const CSIDL_COMMON_FAVORITES = &h001f
     419Const CSIDL_INTERNET_CACHE = &h0020
     420Const CSIDL_COOKIES = &h0021
     421Const CSIDL_HISTORY = &h0022
     422Const CSIDL_COMMON_APPDATA = &h0023
     423Const CSIDL_WINDOWS = &h0024
     424Const CSIDL_SYSTEM = &h0025
     425Const CSIDL_PROGRAM_FILES = &h0026
     426Const CSIDL_MYPICTURES = &h0027
     427Const CSIDL_PROFILE = &h0028
     428Const CSIDL_PROGRAM_FILES_COMMON = &h002b
     429Const CSIDL_COMMON_TEMPLATES = &h002d
     430Const CSIDL_COMMON_DOCUMENTS = &h002e
     431Const CSIDL_COMMON_ADMINTOOLS = &h002f
     432Const CSIDL_ADMINTOOLS = &h0030
    383433
    384434Const SHGFI_ICON              = &H000000100
Note: See TracChangeset for help on using the changeset viewer.