本人最近学习API,发现书上的API函数,我在API text reviewer中找不到?
这是什么原因?是盗版的原因吗?
比如 SHShutDownDialog;  RtlMoveMemory

解决方案 »

  1.   

    是别名吧:
    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)
      

  2.   

    SHShutDownDialog函数比较特殊,在shell32.dll中没有定义函数名称,只有一个编号—60,下面是它的声明:
    Private Declare Function SHShutDownDialog Lib "shell32" Alias "#60" (ByVal lType As Long) As Long
      

  3.   

    本來就有些msdn沒有公開啊
    If you work with API, you've probably noticed that the win32api.txt-file that comes with Microsoft's API Viewer is totally out of date. This file is based on the Windows 95 header files, and with the arrival of Windows 98, Windows 2000, Windows ME and Windows XP many new functions were created.