Desktop Functions: Smart Device Functions:
|
Search Results for "CSIDL " in [All]shell321: CSIDL
2: CSIDL
/// CSIDL values provide a unique system-independent way to identify special folders used frequently by applications,
/// A CSIDL is used in conjunction with one of four Shell functions, SHGetFolderLocation, SHGetFolderPath,
/// The remaining CSIDLs correspond to either file system folders or virtual folders. Where the CSIDL
internal enum CSIDL :int
/// Version 5.0. Combine this CSIDL with any of the following CSIDLs to force the creation of the associated folder.
/// A typical path is C:\Documents and Settings\username\Application Data. This CSIDL is supported by the
Declare Function CSIDL Lib "shell32.dll" (TODO) As TODO
// This CSIDL is supported by the redistributable Shfolder.dll
// Version 5.0. Combine this CSIDL with any of the following CSIDLs
public enum SpecialFolderCSIDL : int
/// <param name="folder">The special folder's CSIDL enumeration</param>
public static string GetSpecialFolder(SpecialFolderCSIDL folder)
Dim CplCsidl As CSIDL = CSIDL.CONTROLS
Dim pcCsidl As CSIDL = CSIDL.DRIVES
static extern int SHGetSpecialFolderLocation(IntPtr hwndOwner, CSIDL nFolder,
static extern int SHGetSpecialFolderLocation(IntPtr hwndOwner, CSIDL nFolder, ref IntPtr ppidl);
public enum CSIDL
Public Shared Function SpecialFolderPathSH32(csidl As Integer, _
If csidl <> CInt(Environment.SpecialFolder.MyComputer) _
If csidl = 12 Then ' !!! MYDOCUMENTS
ElseIf csidl = 17 Then ' !!! MYCOMPUTER Enums7: CSIDL
enum CSIDL { Interfaces8: IKnownFolder
void FolderIdFromCsidl ( [In] int nCsidl, out Guid pfid );
void FolderIdToCsidl ( [In] ref Guid rfid, out int pnCsidl );
void FolderIdFromCsidl ( [In] int nCsidl, out Guid pfid );
void FolderIdToCsidl ( [In] ref Guid rfid, out int pnCsidl ); |