VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/lmuse.h@ 53201

最後變更 在這個檔案從53201是 53201,由 vboxsync 提交於 10 年 前

Devices/Main: vmsvga updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.4 KB
 
1/*
2 * Copyright (C) 2007 Tim Schwartz
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18#ifndef _LMUSE_H
19#define _LMUSE_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include "lmcons.h"
26#include "lmuseflg.h"
27
28
29#define USE_LOCAL_PARMNUM 1
30#define USE_REMOTE_PARMNUM 2
31#define USE_PASSWORD_PARMNUM 3
32#define USE_ASGTYPE_PARMNUM 4
33#define USE_USERNAME_PARMNUM 5
34#define USE_DOMAINNAME_PARMNUM 6
35
36#define USE_OK 0
37#define USE_PAUSED 1
38#define USE_SESSLOST 2
39#define USE_DISCONN USE_SESSLOST
40#define USE_NETERR 3
41#define USE_CONN 4
42#define USE_RECONN 5
43
44#define USE_WILDCARD ((DWORD)-1)
45#define USE_DISKDEV 0
46#define USE_SPOOLDEV 1
47#define USE_CHARDEV 2
48#define USE_IPC 3
49
50typedef struct _USE_INFO_1
51{
52 LMSTR ui1_local;
53 LMSTR ui1_remote;
54 LMSTR ui1_password;
55 DWORD ui1_status;
56 DWORD ui1_asg_type;
57 DWORD ui1_refcount;
58 DWORD ui1_usecount;
59} USE_INFO_1, *PUSE_INFO_1, *LPUSE_INFO_1;
60
61typedef struct _USE_INFO_2
62{
63 LMSTR ui2_local;
64 LMSTR ui2_remote;
65 LMSTR ui2_password;
66 DWORD ui2_status;
67 DWORD ui2_asg_type;
68 DWORD ui2_refcount;
69 DWORD ui2_usecount;
70 LMSTR ui2_username;
71 LMSTR ui2_domainname;
72} USE_INFO_2, *PUSE_INFO_2, *LPUSE_INFO_2;
73
74NET_API_STATUS WINAPI NetUseAdd(LMSTR,DWORD,LPBYTE,LPDWORD);
75NET_API_STATUS WINAPI NetUseDel(LMSTR,LMSTR,DWORD);
76NET_API_STATUS WINAPI NetUseEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
77NET_API_STATUS WINAPI NetUseGetInfo(LMSTR,LMSTR,DWORD,LPBYTE*);
78
79#ifdef __cplusplus
80}
81#endif
82
83#endif /* _LMUSE_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette