線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:835
推到 Plurk!
推到 Facebook!

请问如何调用windows 网上邻居用户密码输入窗口?

尚未結案
spritemm
一般會員


發表:4
回覆:3
積分:1
註冊:2004-05-11

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-06-22 11:59:52 IP:218.79.xxx.xxx 未訂閱
我的程序里需要连接网上邻居!每次都要先连上网上邻居才能运行我的程序! 發表人 - spritemm 於 2004/06/22 14:14:04
LargeWon
一般會員


發表:3
回覆:10
積分:2
註冊:2002-12-24

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-06-23 10:35:01 IP:211.162.xxx.xxx 未訂閱
The LogonUser function attempts to perform a user logon operation. You specify the user with a user name and domain, and authenticate the user with a clear-text password. If the function succeeds, you receive a handle to a token that represents the logged-on user. You can then use this token handle to impersonate the specified user, or in most cases, to create a process running in the context of the specified user. BOOL LogonUser( LPTSTR lpszUsername, // string that specifies the user name LPTSTR lpszDomain, // string that specifies the domain or server LPTSTR lpszPassword, // string that specifies the password DWORD dwLogonType, // specifies the type of logon operation DWORD dwLogonProvider, // specifies the logon provider PHANDLE phToken // pointer to variable to receive token handle ); 老王
------
老王
系統時間:2024-05-15 16:47:08
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!