1 | /*
|
---|
2 | Unix SMB/CIFS implementation.
|
---|
3 | SMB parameters and setup
|
---|
4 | Copyright (C) Gerald (Jerry) Carter 2005
|
---|
5 |
|
---|
6 | This program is free software; you can redistribute it and/or modify
|
---|
7 | it under the terms of the GNU General Public License as published by
|
---|
8 | the Free Software Foundation; either version 3 of the License, or
|
---|
9 | (at your option) any later version.
|
---|
10 |
|
---|
11 | This program is distributed in the hope that it will be useful,
|
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | GNU General Public License for more details.
|
---|
15 |
|
---|
16 | You should have received a copy of the GNU General Public License
|
---|
17 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
18 | */
|
---|
19 |
|
---|
20 | #ifndef _RPC_NTSVCS_H /* _RPC_NTSVCS_H */
|
---|
21 | #define _RPC_NTSVCS_H
|
---|
22 |
|
---|
23 | /* ntsvcs pipe */
|
---|
24 |
|
---|
25 | #define NTSVCS_GET_VERSION 0x02
|
---|
26 | #define NTSVCS_VALIDATE_DEVICE_INSTANCE 0x06
|
---|
27 | #define NTSVCS_GET_ROOT_DEVICE_INSTANCE 0x07
|
---|
28 | #define NTSVCS_GET_DEVICE_LIST 0x0a
|
---|
29 | #define NTSVCS_GET_DEVICE_LIST_SIZE 0x0b
|
---|
30 | #define NTSVCS_GET_DEVICE_REG_PROPERTY 0x0d
|
---|
31 | #define NTSVCS_HW_PROFILE_FLAGS 0x28
|
---|
32 | #define NTSVCS_GET_HW_PROFILE_INFO 0x29
|
---|
33 | #define NTSVCS_GET_VERSION_INTERNAL 0x3e
|
---|
34 |
|
---|
35 |
|
---|
36 | /**************************/
|
---|
37 |
|
---|
38 | typedef struct {
|
---|
39 | UNISTR2 *devicename;
|
---|
40 | uint32 buffer_size;
|
---|
41 | uint32 flags;
|
---|
42 | } NTSVCS_Q_GET_DEVICE_LIST;
|
---|
43 |
|
---|
44 | typedef struct {
|
---|
45 | UNISTR2 devicepath;
|
---|
46 | uint32 needed;
|
---|
47 | WERROR status;
|
---|
48 | } NTSVCS_R_GET_DEVICE_LIST;
|
---|
49 |
|
---|
50 | /**************************/
|
---|
51 |
|
---|
52 | #define DEV_REGPROP_DESC 1
|
---|
53 |
|
---|
54 | typedef struct {
|
---|
55 | UNISTR2 devicepath;
|
---|
56 | uint32 property;
|
---|
57 | uint32 unknown2;
|
---|
58 | uint32 buffer_size1;
|
---|
59 | uint32 buffer_size2;
|
---|
60 | uint32 unknown5;
|
---|
61 | } NTSVCS_Q_GET_DEVICE_REG_PROPERTY;
|
---|
62 |
|
---|
63 | typedef struct {
|
---|
64 | uint32 unknown1;
|
---|
65 | REGVAL_BUFFER value;
|
---|
66 | uint32 size;
|
---|
67 | uint32 needed;
|
---|
68 | WERROR status;
|
---|
69 | } NTSVCS_R_GET_DEVICE_REG_PROPERTY;
|
---|
70 |
|
---|
71 | #endif /* _RPC_NTSVCS_H */
|
---|