http://mail.ustc.edu.cn/~hlliu3/api.zip
http://mail.ustc.edu.cn/~hlliu3/api32.chm
and http://phunter.126.com is my homepage
welcome

解决方案 »

  1.   

    http://ygyuan.go.163.com/
    http://ygyuan.3322.net/
      

  2.   

    http://www.eshunet.com/e书时空——电子图书下载中心
    http://www.ebook007.com/ 北极星书库-电子书免费下载公益站点-ebooks center-www.ebook007.com-电子书库首页-free ebook
    http://np-gz2.pconline.com.cn/pcedu/empolder/gj/vb/index.html国内最丰富电脑教程----网络学院
    http://np-bj.pconline.com.cn/pcedu/国内最丰富电脑教程----太平洋网络学院
    http://go4.163.com/lonling/vb好地方
      

  3.   

    我收集的API工具:
    http://www.commacn.com/vbsworld/ExtFiles/api32.zip
    343KB
    Win32 API帮助文件(中文版)http://sd.onlinedown.net/Snowswinapi.htm
    最新1.2版
    超人气的编程工具,一本实用的教科书,一个几万人使用的共享软件,为什么不下载试试,API尽情掌屋在你的手中。http://www.dapha.net/soure/api/allapi.zip
    3981KB
    它是一套学习Api函数不可缺少的软件,内置api流览器
      

  4.   

    VBGOOD网站有在线查询!www.vbgood.com
      

  5.   

    最新最全的api网站:
    http://www.allapi.net
    其中有两个工具api-guide,api-viewer
    你用这两个工具可以查到几乎所有的api函数(过程/类型/常量)
    以下是在api-guide中查到的内容:
    Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
    函数简介:
    The GetPrivateProfileString function retrieves a string from the specified section in an initialization file. This function is provided for compatibility with 16-bit Windows-based applications.
    参数说明:
    ?lpAppName
    Points to a null-terminated string that specifies the section containing the key name. If this parameter is NULL, the GetPrivateProfileString function copies all section names in the file to the supplied buffer.?lpKeyName
    Pointer to the null-terminated string containing the key name whose associated string is to be retrieved. If this parameter is NULL, all key names in the section specified by the lpAppName parameter are copied to the buffer specified by the lpReturnedString parameter.?lpDefault
    Pointer to a null-terminated default string. If the lpKeyName key cannot be found in the initialization file, GetPrivateProfileString copies the default string to the lpReturnedString buffer. This parameter cannot be NULL.
    Avoid specifying a default string with trailing blank characters. The function inserts a null character in the lpReturnedString buffer to strip any trailing blanks.
    Windows 95: Although lpDefault is declared as a constant parameter, Windows 95 strips any trailing blanks by inserting a null character into the lpDefault string before copying it to the lpReturnedString buffer.
    Windows NT: Windows NT does not modify the lpDefault string. This means that if the default string contains trailing blanks, the lpReturnedString and lpDefault strings will not match when compared using the lstrcmp function.?lpReturnedString
    Pointer to the buffer that receives the retrieved string.?nSize
    Specifies the size, in characters, of the buffer pointed to by the lpReturnedString parameter.?lpFileName
    Pointer to a null-terminated string that names the initialization file. If this parameter does not contain a full path to the file, Windows searches for the file in the Windows directory.
      

  6.   

    返回值:
    If the function succeeds, the return value is the number of characters copied to the buffer, not including the terminating null character. If neither lpAppName nor lpKeyName is NULL and the supplied destination buffer is too small to hold the requested string, the string is truncated and followed by a null character, and the return value is equal to nSize minus one. If either lpAppName or lpKeyName is NULL and the supplied destination buffer is too small to hold all the strings, the last string is truncated and followed by two null characters. In this case, the return value is equal to nSize minus two. 
    以下为例子:
    例子1名称:PrivateProfileString
    Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
    Private Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As Any, ByVal lpFileName As String) As Long
    Private Sub Form_Load()
        'KPD-Team 1999
        'URL: http://www.allapi.net/
        'E-Mail: [email protected]
        Dim Ret As String, NC As Long
        'Write the setting to the file (c:\test.ini) under
        '   Project1 -> Keyname
        WritePrivateProfileString App.Title, "KeyName", "This is the value", "c:\test.ini"
        'Create a buffer
        Ret = String(255, 0)
        'Retrieve the string
        NC = GetPrivateProfileString(App.Title, "KeyName", "Default", Ret, 255, "C:\test.ini")
        'NC is the number of characters copied to the buffer
        If NC <> 0 Then Ret = Left$(Ret, NC)
        'Show our string
        MsgBox Ret
        'Delete the file
        Kill "c:\test.ini"
    End Sub例子2名称:INI Files
    'Example by Antti H?kkinen ([email protected])
    'Visit his website at http://www.theredstar.f2s.com/
    'require variable declaration
    Option Explicit'declares for ini controlling
    Private Declare Function GetPrivateProfileSection Lib "kernel32" Alias "GetPrivateProfileSectionA" (ByVal lpAppName As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
    Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
    Private Declare Function WritePrivateProfileSection Lib "kernel32" Alias "WritePrivateProfileSectionA" (ByVal lpAppName As String, ByVal lpString As String, ByVal lpFileName As String) As Long
    Private Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As Any, ByVal lpFileName As String) As Long'when form is loaded
    Private Sub Form_Load()'if error occures resume still
    On Error Resume Next'local variables
    Dim File As String, OFLen As Double, _
        Str As String'set our varibles
    File = "C:\temp.txt"
    OFLen = FileLen(File)'write few example sections:
    WriteIniSection File, "Test1", ""
    WriteIniSection File, "Test2", "Here shoud be found some text"'write few ini strings
    WriteIni File, "Test3", "Ini1", "This is ini 1"
    WriteIni File, "Test1", "Ini2", "This is ini 2"'inform we're written the data
    MsgBox Format((FileLen(File) - OFLen) / 1024, "0.00") & " KB data written to " & Chr(34) & File & Chr(34)'read the ini file
    Str = Str & "Test2 section: " & vbTab & ReadIniSection(File, "Test2") & vbCrLf
    Str = Str & "Test1 section: " & vbTab & ReadIniSection(File, "Test1") & vbCrLf
    Str = Str & "Ini1 string: " & vbTab & ReadIni(File, "Test3", "Ini1") & vbCrLf
    Str = Str & "Ini2 string: " & vbTab & ReadIni(File, "Test1", "Ini2") & vbCrLf'show data
    MsgBox Str'end application
    EndEnd Sub'// INI CONTROLLING PROCEDURES'reads ini string
    Public Function ReadIni(Filename As Strig, Section As String, Key As String) As String
    Dim RetVal As String * 255, v As Long
    v = GetPrivateProfileString(Section, Key, "", RetVal, 255, Filename)
    ReadIni = Left(RetVal, v - 1)
    End Function'reads ini section
    Public Function ReadIniSection(Filename As String, Section As String) As String
    Dim RetVal As String * 255, v As Long
    v = GetPrivateProfileSection(Section, RetVal, 255, Filename)
    ReadIniSection = Left(RetVal, v - 1)
    End Function'writes ini
    Public Sub WriteIni(Filename As String, Section As String, Key As String, Value As String)
    WritePrivateProfileString Section, Key, Value, Filename
    End Sub'writes ini section
    Public Sub WriteIniSection(Filename As String, Section As String, Value As String)
    WritePrivateProfileSection Section, Value, Filename
    End Sub
      

  7.   

    以下为中文说明:
    (注意:中文说明不是api-guide中的内容)
    【VB声明】
      Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long【别名】
      GetPrivateProfileStringA【说明】
      为初始化文件中指定的条目取得字串 【返回值】
      Long,复制到lpReturnedString缓冲区的字节数量,其中不包括那些NULL中止字符。如lpReturnedString缓冲区不够大,不能容下全部信息,就返回nSize-1(若lpApplicationName或lpKeyName为NULL,则返回nSize-2) 【备注】
      在vb的api文本查看器中复制的声明为:Declare
      Function GetPrivateProfileString Lib "kernel32" Alias
      "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName
      As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long,
      ByVal lpFileName As String) As Long【参数表】
      lpApplicationName -  String,欲在其中查找条目的小节名称。这个字串不区分大小写。如设为vbNullString,就在lpReturnedString缓冲区内装载这个ini文件所有小节的列表  lpKeyName ------  String,欲获取的项名或条目名。这个字串不区分大小写。如设为vbNullString,就在lpReturnedString缓冲区内装载指定小节所有项的列表  lpDefault ------  String,指定的条目没有找到时返回的默认值。可设为空("")  lpReturnedString -  String,指定一个字串缓冲区,长度至少为nSize  nSize ----------  Long,指定装载到lpReturnedString缓冲区的最大字符数量  lpFileName -----  String,初始化文件的名字。如没有指定一个完整路径名,windows就在Windows目录中查找文件
      

  8.   

    还是
    www.allapi.net
    不错 
    不过不是中文