Serial port and GPS

Clip.SHGetPathFromIDListM Method 

Creates filename for an item identifier.

[Visual Basic]
Private Shared Function SHGetPathFromIDListM( _
   ByVal pidl As IntPtr, _
   ByVal pszPath As StringBuilder _
) As Integer
[C#]
private static int SHGetPathFromIDListM(
   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 a mobile windows version and it won't work with desktop windows.

See Also

Clip Class | serial Namespace | idlistfn