术语 | openwindowstation |
释义 | OpenWindowStation 语法: C++ HWINSTA WINAPI OpenWindowStation( __in LPTSTR lpszWinSta, __in BOOL fInherit, __in ACCESS_MASK dwDesiredAccess ); OpenWindowStation功能 打开指定的窗口站。 参数 lpszWinSta [in] 窗口的站名被打开。窗口站名是区分大小写的。 这个窗口站必须属于本届会议。 fInherit [in] 如果该值为TRUE,进程创建的这一进程将继承处理。否则,该进程不会继承此处理。 dwDesiredAccess [in] 到窗口站访问。如需使用权名单,见窗口站的安全和访问权限。 返回值 如果函数成功,返回值是处理到指定的窗口站。 如果函数失败,返回值为NULL。为了获得更多错误信息,调用GetLastError。 备注 之后,您对处理完成后,您必须调用CloseWindowStation释放处理。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinuser.h(头文件:winuser.h) LibraryUser32.lib DLLUser32.dll Unicode和ANSI namesOpenWindowStationW(Unicode)和OpenWindowStationA(ANSI)的 参见 CloseWindowStation ExitWindows 调用ExitWindowsEx 窗口站和桌面功能 窗口站 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==OpenWindowStation Function Opens the specified window station. Syntax C++ HWINSTA WINAPI OpenWindowStation( __in LPTSTR lpszWinSta, __in BOOL fInherit, __in ACCESS_MASK dwDesiredAccess ); Parameters lpszWinSta [in] The name of the window station to be opened. Window station names are case-insensitive. This window station must belong to the current session. fInherit [in] If this value is TRUE, processes created by this process will inherit the handle. Otherwise, the processes do not inherit this handle. dwDesiredAccess [in] The access to the window station. For a list of access rights, see Window Station Security and Access Rights . Return Value If the function succeeds, the return value is the handle to the specified window station. If the function fails, the return value is NULL. To get extended error information, call GetLastError . Remarks After you are done with the handle, you must call CloseWindowStation to free the handle. Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinuser.h (include Windows.h) LibraryUser32.lib DLLUser32.dll Unicode and ANSI namesOpenWindowStationW (Unicode) and OpenWindowStationA (ANSI) See Also CloseWindowStation ExitWindows ExitWindowsEx Window Station and Desktop Functions Window Stations Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms684339(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。