论文部分内容阅读
在Win2000/XP系统中带有动态连接库Netapi32.dll,其中包含了API函数NetMessageBufferSend的定义和实现,利用此函数可以实现如Win9X下的WINPOP.EXE的功能。NetMessageBufferSend函数的定义为: NET_API_STATUS NetMessageBufferSend (LPWSTR servername,LPWSTR msgname,LPWSTR fromname,LPBYTE buf,DWORD buflen);其中各参数的含义如下:servername的含义是包含Unicode字符串的远程服务器名。这个函数就在这个服务器上执行。为空指针或空字符串时表示函数就在本机执行。
In Win2000 / XP system with a dynamic link library Netapi32.dll, which contains the definition and implementation of the API function NetMessageBufferSend, use this function can be achieved, such as Win9X WINPOP.EXE function. The NetMessageBufferSend function is defined as: NET_API_STATUS NetMessageBufferSend (LPWSTR servername, LPWSTR msgname, LPWSTR fromname, LPBYTE buf, DWORD buflen); The meaning of each parameter is as follows: The meaning of servername is the name of the remote server that contains the Unicode string. This function is executed on this server. Empty pointer or empty string means that the function is executed locally.