winecoreaudio: Adapt "release_render_buffer_params" struct to mmdevapi's.
[wine.git] / include / lmuse.h
blob66b362701af26c2516de0ad150d37eb11a87f23c
1 /*
2 * Copyright (C) 2007 Tim Schwartz
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.
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.
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
18 #ifndef _LMUSE_H
19 #define _LMUSE_H
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 #include "lmcons.h"
26 #include "lmuseflg.h"
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
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
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
50 typedef struct _USE_INFO_1
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;
61 typedef struct _USE_INFO_2
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;
74 NET_API_STATUS WINAPI NetUseAdd(LMSTR,DWORD,LPBYTE,LPDWORD);
75 NET_API_STATUS WINAPI NetUseDel(LMSTR,LMSTR,DWORD);
76 NET_API_STATUS WINAPI NetUseEnum(LMSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
77 NET_API_STATUS WINAPI NetUseGetInfo(LMSTR,LMSTR,DWORD,LPBYTE*);
79 #ifdef __cplusplus
81 #endif
83 #endif /* _LMUSE_H */