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

IKnownFolderManager (Interfaces)
 
.
Summary
TODO - a short description

C# Definition:

[ComImport, Guid ( "44BEAAEC-24F4-4E90-B3F0-23D258FBB146" ), InterfaceType ( ComInterfaceType.InterfaceIsIUnknown )]
interface IKnownFolderManager
{
    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void FolderIdFromCsidl ( [In] int nCsidl, out Guid pfid );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void FolderIdToCsidl ( [In] ref Guid rfid, out int pnCsidl );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetFolderIds ( [Out] IntPtr ppKFId, [In, Out] ref uint pCount );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetFolder ( [In] ref Guid rfid, [MarshalAs ( UnmanagedType.Interface )] out IKnownFolder ppkf );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void GetFolderByName ( [In, MarshalAs ( UnmanagedType.LPWStr )] string pszCanonicalName,
                   [MarshalAs ( UnmanagedType.Interface )] out IKnownFolder ppkf );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void RegisterFolder ( [In] ref Guid rfid, [In] ref NativeMethods.KNOWNFOLDER_DEFINITION pKFD );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void UnregisterFolder ( [In] ref Guid rfid );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void FindFolderFromPath ( [In, MarshalAs ( UnmanagedType.LPWStr )] string pszPath,
                  [In] NativeMethods.FFFP_MODE mode,
                  [MarshalAs ( UnmanagedType.Interface )] out IKnownFolder ppkf );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void FindFolderFromIDList ( [In] IntPtr pidl, [MarshalAs ( UnmanagedType.Interface )] out IKnownFolder ppkf );

    [MethodImpl ( MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime )]
    void Redirect ( [In] ref Guid rfid, [In] IntPtr hwnd, [In] uint Flags,
            [In, MarshalAs ( UnmanagedType.LPWStr )] string pszTargetPath, [In] uint cFolders,
            [In] ref Guid pExclusion, [MarshalAs ( UnmanagedType.LPWStr )] out string ppszError );
}

VB Definition:

<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IKnownFolderManager
   TODO
End Interface

User-Defined Types:

None.

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions