Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "CSIDL " in [All]

shell32

.

        public enum CSIDL {

.

Declare Function CSIDL  Lib "shell32.dll" (TODO) As TODO

.
Documentation
CSIDL @msdn on MSDN
.
Summary
CSIDL values provide a unique system-independent way to identify special folders used frequently by applications, but which may not have the same name or location on any given system. For example, the system folder may be "C:\Windows" on one system and "C:\Winnt" on another. These constants are defined in Shlobj.h and Shfolder.h.
.

    /// 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

Enums

.

enum CSIDL {

Interfaces

.

    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 );


 
Access PInvoke.net directly from VS: