1#include "../librpc/gen_ndr/ndr_ntsvcs.h"
2#ifndef __SRV_NTSVCS__
3#define __SRV_NTSVCS__
4WERROR _PNP_Disconnect(pipes_struct *p, struct PNP_Disconnect *r);
5WERROR _PNP_Connect(pipes_struct *p, struct PNP_Connect *r);
6WERROR _PNP_GetVersion(pipes_struct *p, struct PNP_GetVersion *r);
7WERROR _PNP_GetGlobalState(pipes_struct *p, struct PNP_GetGlobalState *r);
8WERROR _PNP_InitDetection(pipes_struct *p, struct PNP_InitDetection *r);
9WERROR _PNP_ReportLogOn(pipes_struct *p, struct PNP_ReportLogOn *r);
10WERROR _PNP_ValidateDeviceInstance(pipes_struct *p, struct PNP_ValidateDeviceInstance *r);
11WERROR _PNP_GetRootDeviceInstance(pipes_struct *p, struct PNP_GetRootDeviceInstance *r);
12WERROR _PNP_GetRelatedDeviceInstance(pipes_struct *p, struct PNP_GetRelatedDeviceInstance *r);
13WERROR _PNP_EnumerateSubKeys(pipes_struct *p, struct PNP_EnumerateSubKeys *r);
14WERROR _PNP_GetDeviceList(pipes_struct *p, struct PNP_GetDeviceList *r);
15WERROR _PNP_GetDeviceListSize(pipes_struct *p, struct PNP_GetDeviceListSize *r);
16WERROR _PNP_GetDepth(pipes_struct *p, struct PNP_GetDepth *r);
17WERROR _PNP_GetDeviceRegProp(pipes_struct *p, struct PNP_GetDeviceRegProp *r);
18WERROR _PNP_SetDeviceRegProp(pipes_struct *p, struct PNP_SetDeviceRegProp *r);
19WERROR _PNP_GetClassInstance(pipes_struct *p, struct PNP_GetClassInstance *r);
20WERROR _PNP_CreateKey(pipes_struct *p, struct PNP_CreateKey *r);
21WERROR _PNP_DeleteRegistryKey(pipes_struct *p, struct PNP_DeleteRegistryKey *r);
22WERROR _PNP_GetClassCount(pipes_struct *p, struct PNP_GetClassCount *r);
23WERROR _PNP_GetClassName(pipes_struct *p, struct PNP_GetClassName *r);
24WERROR _PNP_DeleteClassKey(pipes_struct *p, struct PNP_DeleteClassKey *r);
25WERROR _PNP_GetInterfaceDeviceAlias(pipes_struct *p, struct PNP_GetInterfaceDeviceAlias *r);
26WERROR _PNP_GetInterfaceDeviceList(pipes_struct *p, struct PNP_GetInterfaceDeviceList *r);
27WERROR _PNP_GetInterfaceDeviceListSize(pipes_struct *p, struct PNP_GetInterfaceDeviceListSize *r);
28WERROR _PNP_RegisterDeviceClassAssociation(pipes_struct *p, struct PNP_RegisterDeviceClassAssociation *r);
29WERROR _PNP_UnregisterDeviceClassAssociation(pipes_struct *p, struct PNP_UnregisterDeviceClassAssociation *r);
30WERROR _PNP_GetClassRegProp(pipes_struct *p, struct PNP_GetClassRegProp *r);
31WERROR _PNP_SetClassRegProp(pipes_struct *p, struct PNP_SetClassRegProp *r);
32WERROR _PNP_CreateDevInst(pipes_struct *p, struct PNP_CreateDevInst *r);
33WERROR _PNP_DeviceInstanceAction(pipes_struct *p, struct PNP_DeviceInstanceAction *r);
34WERROR _PNP_GetDeviceStatus(pipes_struct *p, struct PNP_GetDeviceStatus *r);
35WERROR _PNP_SetDeviceProblem(pipes_struct *p, struct PNP_SetDeviceProblem *r);
36WERROR _PNP_DisableDevInst(pipes_struct *p, struct PNP_DisableDevInst *r);
37WERROR _PNP_UninstallDevInst(pipes_struct *p, struct PNP_UninstallDevInst *r);
38WERROR _PNP_AddID(pipes_struct *p, struct PNP_AddID *r);
39WERROR _PNP_RegisterDriver(pipes_struct *p, struct PNP_RegisterDriver *r);
40WERROR _PNP_QueryRemove(pipes_struct *p, struct PNP_QueryRemove *r);
41WERROR _PNP_RequestDeviceEject(pipes_struct *p, struct PNP_RequestDeviceEject *r);
42WERROR _PNP_IsDockStationPresent(pipes_struct *p, struct PNP_IsDockStationPresent *r);
43WERROR _PNP_RequestEjectPC(pipes_struct *p, struct PNP_RequestEjectPC *r);
44WERROR _PNP_HwProfFlags(pipes_struct *p, struct PNP_HwProfFlags *r);
45WERROR _PNP_GetHwProfInfo(pipes_struct *p, struct PNP_GetHwProfInfo *r);
46WERROR _PNP_AddEmptyLogConf(pipes_struct *p, struct PNP_AddEmptyLogConf *r);
47WERROR _PNP_FreeLogConf(pipes_struct *p, struct PNP_FreeLogConf *r);
48WERROR _PNP_GetFirstLogConf(pipes_struct *p, struct PNP_GetFirstLogConf *r);
49WERROR _PNP_GetNextLogConf(pipes_struct *p, struct PNP_GetNextLogConf *r);
50WERROR _PNP_GetLogConfPriority(pipes_struct *p, struct PNP_GetLogConfPriority *r);
51WERROR _PNP_AddResDes(pipes_struct *p, struct PNP_AddResDes *r);
52WERROR _PNP_FreeResDes(pipes_struct *p, struct PNP_FreeResDes *r);
53WERROR _PNP_GetNextResDes(pipes_struct *p, struct PNP_GetNextResDes *r);
54WERROR _PNP_GetResDesData(pipes_struct *p, struct PNP_GetResDesData *r);
55WERROR _PNP_GetResDesDataSize(pipes_struct *p, struct PNP_GetResDesDataSize *r);
56WERROR _PNP_ModifyResDes(pipes_struct *p, struct PNP_ModifyResDes *r);
57WERROR _PNP_DetectResourceLimit(pipes_struct *p, struct PNP_DetectResourceLimit *r);
58WERROR _PNP_QueryResConfList(pipes_struct *p, struct PNP_QueryResConfList *r);
59WERROR _PNP_SetHwProf(pipes_struct *p, struct PNP_SetHwProf *r);
60WERROR _PNP_QueryArbitratorFreeData(pipes_struct *p, struct PNP_QueryArbitratorFreeData *r);
61WERROR _PNP_QueryArbitratorFreeSize(pipes_struct *p, struct PNP_QueryArbitratorFreeSize *r);
62WERROR _PNP_RunDetection(pipes_struct *p, struct PNP_RunDetection *r);
63WERROR _PNP_RegisterNotification(pipes_struct *p, struct PNP_RegisterNotification *r);
64WERROR _PNP_UnregisterNotification(pipes_struct *p, struct PNP_UnregisterNotification *r);
65WERROR _PNP_GetCustomDevProp(pipes_struct *p, struct PNP_GetCustomDevProp *r);
66WERROR _PNP_GetVersionInternal(pipes_struct *p, struct PNP_GetVersionInternal *r);
67WERROR _PNP_GetBlockedDriverInfo(pipes_struct *p, struct PNP_GetBlockedDriverInfo *r);
68WERROR _PNP_GetServerSideDeviceInstallFlags(pipes_struct *p, struct PNP_GetServerSideDeviceInstallFlags *r);
69void ntsvcs_get_pipe_fns(struct api_struct **fns, int *n_fns);
70NTSTATUS rpc_ntsvcs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *r);
71WERROR _PNP_Disconnect(pipes_struct *p, struct PNP_Disconnect *r);
72WERROR _PNP_Connect(pipes_struct *p, struct PNP_Connect *r);
73WERROR _PNP_GetVersion(pipes_struct *p, struct PNP_GetVersion *r);
74WERROR _PNP_GetGlobalState(pipes_struct *p, struct PNP_GetGlobalState *r);
75WERROR _PNP_InitDetection(pipes_struct *p, struct PNP_InitDetection *r);
76WERROR _PNP_ReportLogOn(pipes_struct *p, struct PNP_ReportLogOn *r);
77WERROR _PNP_ValidateDeviceInstance(pipes_struct *p, struct PNP_ValidateDeviceInstance *r);
78WERROR _PNP_GetRootDeviceInstance(pipes_struct *p, struct PNP_GetRootDeviceInstance *r);
79WERROR _PNP_GetRelatedDeviceInstance(pipes_struct *p, struct PNP_GetRelatedDeviceInstance *r);
80WERROR _PNP_EnumerateSubKeys(pipes_struct *p, struct PNP_EnumerateSubKeys *r);
81WERROR _PNP_GetDeviceList(pipes_struct *p, struct PNP_GetDeviceList *r);
82WERROR _PNP_GetDeviceListSize(pipes_struct *p, struct PNP_GetDeviceListSize *r);
83WERROR _PNP_GetDepth(pipes_struct *p, struct PNP_GetDepth *r);
84WERROR _PNP_GetDeviceRegProp(pipes_struct *p, struct PNP_GetDeviceRegProp *r);
85WERROR _PNP_SetDeviceRegProp(pipes_struct *p, struct PNP_SetDeviceRegProp *r);
86WERROR _PNP_GetClassInstance(pipes_struct *p, struct PNP_GetClassInstance *r);
87WERROR _PNP_CreateKey(pipes_struct *p, struct PNP_CreateKey *r);
88WERROR _PNP_DeleteRegistryKey(pipes_struct *p, struct PNP_DeleteRegistryKey *r);
89WERROR _PNP_GetClassCount(pipes_struct *p, struct PNP_GetClassCount *r);
90WERROR _PNP_GetClassName(pipes_struct *p, struct PNP_GetClassName *r);
91WERROR _PNP_DeleteClassKey(pipes_struct *p, struct PNP_DeleteClassKey *r);
92WERROR _PNP_GetInterfaceDeviceAlias(pipes_struct *p, struct PNP_GetInterfaceDeviceAlias *r);
93WERROR _PNP_GetInterfaceDeviceList(pipes_struct *p, struct PNP_GetInterfaceDeviceList *r);
94WERROR _PNP_GetInterfaceDeviceListSize(pipes_struct *p, struct PNP_GetInterfaceDeviceListSize *r);
95WERROR _PNP_RegisterDeviceClassAssociation(pipes_struct *p, struct PNP_RegisterDeviceClassAssociation *r);
96WERROR _PNP_UnregisterDeviceClassAssociation(pipes_struct *p, struct PNP_UnregisterDeviceClassAssociation *r);
97WERROR _PNP_GetClassRegProp(pipes_struct *p, struct PNP_GetClassRegProp *r);
98WERROR _PNP_SetClassRegProp(pipes_struct *p, struct PNP_SetClassRegProp *r);
99WERROR _PNP_CreateDevInst(pipes_struct *p, struct PNP_CreateDevInst *r);
100WERROR _PNP_DeviceInstanceAction(pipes_struct *p, struct PNP_DeviceInstanceAction *r);
101WERROR _PNP_GetDeviceStatus(pipes_struct *p, struct PNP_GetDeviceStatus *r);
102WERROR _PNP_SetDeviceProblem(pipes_struct *p, struct PNP_SetDeviceProblem *r);
103WERROR _PNP_DisableDevInst(pipes_struct *p, struct PNP_DisableDevInst *r);
104WERROR _PNP_UninstallDevInst(pipes_struct *p, struct PNP_UninstallDevInst *r);
105WERROR _PNP_AddID(pipes_struct *p, struct PNP_AddID *r);
106WERROR _PNP_RegisterDriver(pipes_struct *p, struct PNP_RegisterDriver *r);
107WERROR _PNP_QueryRemove(pipes_struct *p, struct PNP_QueryRemove *r);
108WERROR _PNP_RequestDeviceEject(pipes_struct *p, struct PNP_RequestDeviceEject *r);
109WERROR _PNP_IsDockStationPresent(pipes_struct *p, struct PNP_IsDockStationPresent *r);
110WERROR _PNP_RequestEjectPC(pipes_struct *p, struct PNP_RequestEjectPC *r);
111WERROR _PNP_HwProfFlags(pipes_struct *p, struct PNP_HwProfFlags *r);
112WERROR _PNP_GetHwProfInfo(pipes_struct *p, struct PNP_GetHwProfInfo *r);
113WERROR _PNP_AddEmptyLogConf(pipes_struct *p, struct PNP_AddEmptyLogConf *r);
114WERROR _PNP_FreeLogConf(pipes_struct *p, struct PNP_FreeLogConf *r);
115WERROR _PNP_GetFirstLogConf(pipes_struct *p, struct PNP_GetFirstLogConf *r);
116WERROR _PNP_GetNextLogConf(pipes_struct *p, struct PNP_GetNextLogConf *r);
117WERROR _PNP_GetLogConfPriority(pipes_struct *p, struct PNP_GetLogConfPriority *r);
118WERROR _PNP_AddResDes(pipes_struct *p, struct PNP_AddResDes *r);
119WERROR _PNP_FreeResDes(pipes_struct *p, struct PNP_FreeResDes *r);
120WERROR _PNP_GetNextResDes(pipes_struct *p, struct PNP_GetNextResDes *r);
121WERROR _PNP_GetResDesData(pipes_struct *p, struct PNP_GetResDesData *r);
122WERROR _PNP_GetResDesDataSize(pipes_struct *p, struct PNP_GetResDesDataSize *r);
123WERROR _PNP_ModifyResDes(pipes_struct *p, struct PNP_ModifyResDes *r);
124WERROR _PNP_DetectResourceLimit(pipes_struct *p, struct PNP_DetectResourceLimit *r);
125WERROR _PNP_QueryResConfList(pipes_struct *p, struct PNP_QueryResConfList *r);
126WERROR _PNP_SetHwProf(pipes_struct *p, struct PNP_SetHwProf *r);
127WERROR _PNP_QueryArbitratorFreeData(pipes_struct *p, struct PNP_QueryArbitratorFreeData *r);
128WERROR _PNP_QueryArbitratorFreeSize(pipes_struct *p, struct PNP_QueryArbitratorFreeSize *r);
129WERROR _PNP_RunDetection(pipes_struct *p, struct PNP_RunDetection *r);
130WERROR _PNP_RegisterNotification(pipes_struct *p, struct PNP_RegisterNotification *r);
131WERROR _PNP_UnregisterNotification(pipes_struct *p, struct PNP_UnregisterNotification *r);
132WERROR _PNP_GetCustomDevProp(pipes_struct *p, struct PNP_GetCustomDevProp *r);
133WERROR _PNP_GetVersionInternal(pipes_struct *p, struct PNP_GetVersionInternal *r);
134WERROR _PNP_GetBlockedDriverInfo(pipes_struct *p, struct PNP_GetBlockedDriverInfo *r);
135WERROR _PNP_GetServerSideDeviceInstallFlags(pipes_struct *p, struct PNP_GetServerSideDeviceInstallFlags *r);
136NTSTATUS rpc_ntsvcs_init(void);
137#endif /* __SRV_NTSVCS__ */
138