Desktop Functions: Smart Device Functions:
|
Search Results for "SHGetFolderPath" in [All]shell321: CSIDL
/// A CSIDL is used in conjunction with one of four Shell functions, SHGetFolderLocation, SHGetFolderPath,
static extern int SHGetFolderPath(IntPtr hwndOwner, int nFolder, IntPtr hToken,
Private Shared Function SHGetFolderPath(ByVal hwndOwner As IntPtr, ByVal nFolder As Int32, ByVal hToken As IntPtr, ByVal dwFlags As Int32, ByVal pszPath As StringBuilder) As Int32
If SHGetFolderPath(Nothing, CSIDL_WINDOWS, Nothing, 0, winPath) <> 0 Then
SHGetFolderPath(IntPtr.Zero,0x0019,IntPtr.Zero,0x0000,SB);
SHGetFolderPath(IntPtr.Zero, fontFolder, IntPtr.Zero, 0x0000, sb);
SHGetFolderPath(IntPtr.Zero, (int)folder, IntPtr.Zero, 0x0000, builder); Enums4: SHGFP_TYPE
|