Technical review basic map drive.
Function GetNetworkDriveMappings(SList:TStrings):Integer;
Var
i:Char;
sPath:String;
dwMaxPathLen:DWord;
Begin
SList.Clear;
dwMaxPathLen:=MAX_PATH;
SetLength(sPath,MAX_PATH);
For I := 'A' to 'Z' Do
If WNetGetConnection( PChar(''+i+':'),PChar(sPath),dwMaxPathLen)=NO_ERROR Then
SList.Add(I+': '+sPath);
Result := SList.Count;
End;
Android smartphone
2010-06-27
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment