| 网站镜像:电信 网通 | 加入收藏 | 设为首页

使用PB调用API自动更新(非FTP模式)(一、STRUCTURE定义)


  • 一、STRUCTURE定义
    1、s_filetime
    global type s_filetime from structure
     long  dwlowdatetime
     long  dwhighdatetime
    end type

    2、s_win32_find_data
    global type s_win32_find_data from structure
     long  dwfileattributes
     s_filetime  ftcreationtime
     s_filetime  ftlastaccesstime
     s_filetime  ftlastwritetime
     long  nfilesizehigh
     long  nfilesizelow
     long  dwreserved0
     long  dwreserved1
     character  cfilename[255]
     character  calternatefilename[14]
    end type

    3、s_netresource
    global type s_netresource from structure
     long  dwScope
     long  dwType
     long  dwDisplayType
     long  dwUsage
     string  lpLocalName
     string  lpRemoteName
     string  lpComment
     string  lpProvider
    end type