M
Michael Senf
Hi,
I working on a very simple prototype to intercept file system change
messages on my Pocket PC.
When I use the SHGetSpecialFolderLocation function, I get a
MissingMethodException.
What am I doing wrong? If anybody has sample code how to receive fife system
notifiations, tat would be even better..
Here's my code:
[DllImport("shell32.dll")]
private static extern uint SHGetSpecialFolderLocation(IntPtr hWnd,
int nFolder, out IntPtr Pidl);
public static IntPtr GetPidlFromFolderID(IntPtr hWnd, int Id)
{
IntPtr pIdl = IntPtr.Zero;
uint myvalue = SHGetSpecialFolderLocation(hWnd, Id, out pIdl);
}
Thanks,
michael
I working on a very simple prototype to intercept file system change
messages on my Pocket PC.
When I use the SHGetSpecialFolderLocation function, I get a
MissingMethodException.
What am I doing wrong? If anybody has sample code how to receive fife system
notifiations, tat would be even better..
Here's my code:
[DllImport("shell32.dll")]
private static extern uint SHGetSpecialFolderLocation(IntPtr hWnd,
int nFolder, out IntPtr Pidl);
public static IntPtr GetPidlFromFolderID(IntPtr hWnd, int Id)
{
IntPtr pIdl = IntPtr.Zero;
uint myvalue = SHGetSpecialFolderLocation(hWnd, Id, out pIdl);
}
Thanks,
michael