Desktop Functions: Smart Device Functions:
|
SHGetSpecialFolderPath (shell32)
C# Signature:
[DllImport("Shell32.dll")] VB Signature:
<DllImport("Shell32.dll")> Shared Function SHGetSpecialFolderPath(ByVal hwndOwner As IntPtr, User-Defined Types:None. Notes:lpszPath must be at least MAX_PATH (260) characters in size. Tips & Tricks:Please add some! Sample Code:
int CSIDL_MYMUSIC = 0x000d; Alternative Managed API:Environment.GetFolderPath(Environment.SpecialFolder.xxx) probably calls this internally - it does the same thing. However not all of the enums are available (e.g. CSIDL_COMMON_DOCUMENTS missing on .NET 1.1) therefore this is needed sometimes. Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|