Serial port and GPS

Clip.SHGetPathFromIDListD Method 

Creates filename for an item identifier.

[Visual Basic]
Private Shared Function SHGetPathFromIDListD( _
   ByVal pidl As IntPtr, _
   ByVal pszPath As StringBuilder _
) As Integer
[C#]
private static int SHGetPathFromIDListD(
   IntPtr pidl,
   StringBuilder pszPath
);

Parameters

pidl
Pointer to an item identifier.
pszPath
The returned path.

Return Value

!= 0 for success, 0 for error

Remarks

SDK API function helping translating Shell IDList Array into a usual filename. Warning! This is desktop windows version and it won't work with windows mobile.

See Also

Clip Class | serial Namespace | idlistfn