1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Use pidl for NTSVCS.

Guenther
(This used to be commit 84a9bf0b73)
This commit is contained in:
Günther Deschner 2008-02-17 20:25:05 +01:00
parent 0ad7db900e
commit 082392d975
10 changed files with 11032 additions and 2 deletions

View File

@ -288,7 +288,8 @@ LIBNDR_GEN_OBJ = librpc/gen_ndr/ndr_wkssvc.o \
librpc/gen_ndr/ndr_samr.o \
librpc/gen_ndr/ndr_dssetup.o \
librpc/gen_ndr/ndr_notify.o \
librpc/gen_ndr/ndr_xattr.o
librpc/gen_ndr/ndr_xattr.o \
librpc/gen_ndr/ndr_ntsvcs.o
RPC_PARSE_OBJ0 = rpc_parse/parse_prs.o rpc_parse/parse_misc.o
@ -429,6 +430,7 @@ LIBMSRPC_GEN_OBJ = librpc/gen_ndr/cli_lsa.o \
librpc/gen_ndr/cli_netlogon.o \
librpc/gen_ndr/cli_samr.o \
librpc/gen_ndr/cli_dssetup.o \
librpc/gen_ndr/cli_ntsvcs.o \
$(LIBNDR_GEN_OBJ) \
$(RPCCLIENT_NDR_OBJ)
@ -1124,7 +1126,7 @@ modules: SHOWFLAGS $(MODULES)
IDL_FILES = unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
dssetup.idl krb5pac.idl
dssetup.idl krb5pac.idl ntsvcs.idl
idl:
@IDL_FILES="$(IDL_FILES)" CPP="$(CPP)" PERL="$(PERL)" \

View File

@ -34,6 +34,7 @@
#include "librpc/gen_ndr/cli_samr.h"
#include "librpc/gen_ndr/cli_netlogon.h"
#include "librpc/gen_ndr/cli_dssetup.h"
#include "librpc/gen_ndr/cli_ntsvcs.h"
/* macro to expand cookie-cutter code in cli_xxx() using rpc_api_pipe_req() */

View File

@ -309,6 +309,7 @@ extern const DATA_BLOB data_blob_null;
#include "librpc/gen_ndr/dssetup.h"
#include "librpc/gen_ndr/libnet_join.h"
#include "librpc/gen_ndr/krb5pac.h"
#include "librpc/gen_ndr/ntsvcs.h"
struct lsa_dom_info {
bool valid;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,134 @@
#include "librpc/gen_ndr/ndr_ntsvcs.h"
#ifndef __CLI_NTSVCS__
#define __CLI_NTSVCS__
NTSTATUS rpccli_PNP_Disconnect(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_Connect(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetVersion(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetGlobalState(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_InitDetection(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_ReportLogOn(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_ValidateDeviceInstance(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetRootDeviceInstance(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetRelatedDeviceInstance(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_EnumerateSubKeys(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetDeviceList(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetDeviceListSize(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetDepth(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetDeviceRegProp(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_SetDeviceRegProp(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetClassInstance(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_CreateKey(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_DeleteRegistryKey(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetClassCount(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetClassName(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_DeleteClassKey(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetInterfaceDeviceAlias(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetInterfaceDeviceList(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetInterfaceDeviceListSize(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_RegisterDeviceClassAssociation(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_UnregisterDeviceClassAssociation(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetClassRegProp(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_SetClassRegProp(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_CreateDevInst(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_DeviceInstanceAction(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetDeviceStatus(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_SetDeviceProblem(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_DisableDevInst(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_UninstallDevInst(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_AddID(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_RegisterDriver(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_QueryRemove(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_RequestDeviceEject(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_IsDockStationPresent(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_RequestEjectPC(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_HwProfFlags(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetHwProfInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_AddEmptyLogConf(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_FreeLogConf(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetFirstLogConf(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetNextLogConf(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetLogConfPriority(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_AddResDes(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_FreeResDes(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetNextResDes(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetResDesData(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetResDesDataSize(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_ModifyResDes(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_DetectResourceLimit(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_QueryResConfList(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_SetHwProf(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_QueryArbitratorFreeData(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_QueryArbitratorFreeSize(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_RunDetection(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_RegisterNotification(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_UnregisterNotification(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetCustomDevProp(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetVersionInternal(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetBlockedDriverInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
NTSTATUS rpccli_PNP_GetServerSideDeviceInstallFlags(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx);
#endif /* __CLI_NTSVCS__ */

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,210 @@
/* header auto-generated by pidl */
#include "librpc/ndr/libndr.h"
#include "librpc/gen_ndr/ntsvcs.h"
#ifndef _HEADER_NDR_ntsvcs
#define _HEADER_NDR_ntsvcs
#define NDR_NTSVCS_UUID "8d9f4e40-a03d-11ce-8f69-08003e30051b"
#define NDR_NTSVCS_VERSION 1.0
#define NDR_NTSVCS_NAME "ntsvcs"
#define NDR_NTSVCS_HELPSTRING "Plug and Play services"
extern const struct ndr_interface_table ndr_table_ntsvcs;
#define NDR_PNP_DISCONNECT (0x00)
#define NDR_PNP_CONNECT (0x01)
#define NDR_PNP_GETVERSION (0x02)
#define NDR_PNP_GETGLOBALSTATE (0x03)
#define NDR_PNP_INITDETECTION (0x04)
#define NDR_PNP_REPORTLOGON (0x05)
#define NDR_PNP_VALIDATEDEVICEINSTANCE (0x06)
#define NDR_PNP_GETROOTDEVICEINSTANCE (0x07)
#define NDR_PNP_GETRELATEDDEVICEINSTANCE (0x08)
#define NDR_PNP_ENUMERATESUBKEYS (0x09)
#define NDR_PNP_GETDEVICELIST (0x0a)
#define NDR_PNP_GETDEVICELISTSIZE (0x0b)
#define NDR_PNP_GETDEPTH (0x0c)
#define NDR_PNP_GETDEVICEREGPROP (0x0d)
#define NDR_PNP_SETDEVICEREGPROP (0x0e)
#define NDR_PNP_GETCLASSINSTANCE (0x0f)
#define NDR_PNP_CREATEKEY (0x10)
#define NDR_PNP_DELETEREGISTRYKEY (0x11)
#define NDR_PNP_GETCLASSCOUNT (0x12)
#define NDR_PNP_GETCLASSNAME (0x13)
#define NDR_PNP_DELETECLASSKEY (0x14)
#define NDR_PNP_GETINTERFACEDEVICEALIAS (0x15)
#define NDR_PNP_GETINTERFACEDEVICELIST (0x16)
#define NDR_PNP_GETINTERFACEDEVICELISTSIZE (0x17)
#define NDR_PNP_REGISTERDEVICECLASSASSOCIATION (0x18)
#define NDR_PNP_UNREGISTERDEVICECLASSASSOCIATION (0x19)
#define NDR_PNP_GETCLASSREGPROP (0x1a)
#define NDR_PNP_SETCLASSREGPROP (0x1b)
#define NDR_PNP_CREATEDEVINST (0x1c)
#define NDR_PNP_DEVICEINSTANCEACTION (0x1d)
#define NDR_PNP_GETDEVICESTATUS (0x1e)
#define NDR_PNP_SETDEVICEPROBLEM (0x1f)
#define NDR_PNP_DISABLEDEVINST (0x20)
#define NDR_PNP_UNINSTALLDEVINST (0x21)
#define NDR_PNP_ADDID (0x22)
#define NDR_PNP_REGISTERDRIVER (0x23)
#define NDR_PNP_QUERYREMOVE (0x24)
#define NDR_PNP_REQUESTDEVICEEJECT (0x25)
#define NDR_PNP_ISDOCKSTATIONPRESENT (0x26)
#define NDR_PNP_REQUESTEJECTPC (0x27)
#define NDR_PNP_HWPROFFLAGS (0x28)
#define NDR_PNP_GETHWPROFINFO (0x29)
#define NDR_PNP_ADDEMPTYLOGCONF (0x2a)
#define NDR_PNP_FREELOGCONF (0x2b)
#define NDR_PNP_GETFIRSTLOGCONF (0x2c)
#define NDR_PNP_GETNEXTLOGCONF (0x2d)
#define NDR_PNP_GETLOGCONFPRIORITY (0x2e)
#define NDR_PNP_ADDRESDES (0x2f)
#define NDR_PNP_FREERESDES (0x30)
#define NDR_PNP_GETNEXTRESDES (0x31)
#define NDR_PNP_GETRESDESDATA (0x32)
#define NDR_PNP_GETRESDESDATASIZE (0x33)
#define NDR_PNP_MODIFYRESDES (0x34)
#define NDR_PNP_DETECTRESOURCELIMIT (0x35)
#define NDR_PNP_QUERYRESCONFLIST (0x36)
#define NDR_PNP_SETHWPROF (0x37)
#define NDR_PNP_QUERYARBITRATORFREEDATA (0x38)
#define NDR_PNP_QUERYARBITRATORFREESIZE (0x39)
#define NDR_PNP_RUNDETECTION (0x3a)
#define NDR_PNP_REGISTERNOTIFICATION (0x3b)
#define NDR_PNP_UNREGISTERNOTIFICATION (0x3c)
#define NDR_PNP_GETCUSTOMDEVPROP (0x3d)
#define NDR_PNP_GETVERSIONINTERNAL (0x3e)
#define NDR_PNP_GETBLOCKEDDRIVERINFO (0x3f)
#define NDR_PNP_GETSERVERSIDEDEVICEINSTALLFLAGS (0x40)
#define NDR_NTSVCS_CALL_COUNT (65)
void ndr_print_PNP_Disconnect(struct ndr_print *ndr, const char *name, int flags, const struct PNP_Disconnect *r);
void ndr_print_PNP_Connect(struct ndr_print *ndr, const char *name, int flags, const struct PNP_Connect *r);
void ndr_print_PNP_GetVersion(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetVersion *r);
void ndr_print_PNP_GetGlobalState(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetGlobalState *r);
void ndr_print_PNP_InitDetection(struct ndr_print *ndr, const char *name, int flags, const struct PNP_InitDetection *r);
void ndr_print_PNP_ReportLogOn(struct ndr_print *ndr, const char *name, int flags, const struct PNP_ReportLogOn *r);
void ndr_print_PNP_ValidateDeviceInstance(struct ndr_print *ndr, const char *name, int flags, const struct PNP_ValidateDeviceInstance *r);
void ndr_print_PNP_GetRootDeviceInstance(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetRootDeviceInstance *r);
void ndr_print_PNP_GetRelatedDeviceInstance(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetRelatedDeviceInstance *r);
void ndr_print_PNP_EnumerateSubKeys(struct ndr_print *ndr, const char *name, int flags, const struct PNP_EnumerateSubKeys *r);
void ndr_print_PNP_GetDeviceList(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetDeviceList *r);
void ndr_print_PNP_GetDeviceListSize(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetDeviceListSize *r);
void ndr_print_PNP_GetDepth(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetDepth *r);
void ndr_print_PNP_GetDeviceRegProp(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetDeviceRegProp *r);
void ndr_print_PNP_SetDeviceRegProp(struct ndr_print *ndr, const char *name, int flags, const struct PNP_SetDeviceRegProp *r);
void ndr_print_PNP_GetClassInstance(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetClassInstance *r);
void ndr_print_PNP_CreateKey(struct ndr_print *ndr, const char *name, int flags, const struct PNP_CreateKey *r);
void ndr_print_PNP_DeleteRegistryKey(struct ndr_print *ndr, const char *name, int flags, const struct PNP_DeleteRegistryKey *r);
void ndr_print_PNP_GetClassCount(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetClassCount *r);
void ndr_print_PNP_GetClassName(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetClassName *r);
void ndr_print_PNP_DeleteClassKey(struct ndr_print *ndr, const char *name, int flags, const struct PNP_DeleteClassKey *r);
void ndr_print_PNP_GetInterfaceDeviceAlias(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetInterfaceDeviceAlias *r);
void ndr_print_PNP_GetInterfaceDeviceList(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetInterfaceDeviceList *r);
void ndr_print_PNP_GetInterfaceDeviceListSize(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetInterfaceDeviceListSize *r);
void ndr_print_PNP_RegisterDeviceClassAssociation(struct ndr_print *ndr, const char *name, int flags, const struct PNP_RegisterDeviceClassAssociation *r);
void ndr_print_PNP_UnregisterDeviceClassAssociation(struct ndr_print *ndr, const char *name, int flags, const struct PNP_UnregisterDeviceClassAssociation *r);
void ndr_print_PNP_GetClassRegProp(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetClassRegProp *r);
void ndr_print_PNP_SetClassRegProp(struct ndr_print *ndr, const char *name, int flags, const struct PNP_SetClassRegProp *r);
void ndr_print_PNP_CreateDevInst(struct ndr_print *ndr, const char *name, int flags, const struct PNP_CreateDevInst *r);
void ndr_print_PNP_DeviceInstanceAction(struct ndr_print *ndr, const char *name, int flags, const struct PNP_DeviceInstanceAction *r);
void ndr_print_PNP_GetDeviceStatus(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetDeviceStatus *r);
void ndr_print_PNP_SetDeviceProblem(struct ndr_print *ndr, const char *name, int flags, const struct PNP_SetDeviceProblem *r);
void ndr_print_PNP_DisableDevInst(struct ndr_print *ndr, const char *name, int flags, const struct PNP_DisableDevInst *r);
void ndr_print_PNP_UninstallDevInst(struct ndr_print *ndr, const char *name, int flags, const struct PNP_UninstallDevInst *r);
void ndr_print_PNP_AddID(struct ndr_print *ndr, const char *name, int flags, const struct PNP_AddID *r);
void ndr_print_PNP_RegisterDriver(struct ndr_print *ndr, const char *name, int flags, const struct PNP_RegisterDriver *r);
void ndr_print_PNP_QueryRemove(struct ndr_print *ndr, const char *name, int flags, const struct PNP_QueryRemove *r);
void ndr_print_PNP_RequestDeviceEject(struct ndr_print *ndr, const char *name, int flags, const struct PNP_RequestDeviceEject *r);
void ndr_print_PNP_IsDockStationPresent(struct ndr_print *ndr, const char *name, int flags, const struct PNP_IsDockStationPresent *r);
void ndr_print_PNP_RequestEjectPC(struct ndr_print *ndr, const char *name, int flags, const struct PNP_RequestEjectPC *r);
void ndr_print_PNP_HwProfFlags(struct ndr_print *ndr, const char *name, int flags, const struct PNP_HwProfFlags *r);
void ndr_print_PNP_GetHwProfInfo(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetHwProfInfo *r);
void ndr_print_PNP_AddEmptyLogConf(struct ndr_print *ndr, const char *name, int flags, const struct PNP_AddEmptyLogConf *r);
void ndr_print_PNP_FreeLogConf(struct ndr_print *ndr, const char *name, int flags, const struct PNP_FreeLogConf *r);
void ndr_print_PNP_GetFirstLogConf(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetFirstLogConf *r);
void ndr_print_PNP_GetNextLogConf(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetNextLogConf *r);
void ndr_print_PNP_GetLogConfPriority(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetLogConfPriority *r);
void ndr_print_PNP_AddResDes(struct ndr_print *ndr, const char *name, int flags, const struct PNP_AddResDes *r);
void ndr_print_PNP_FreeResDes(struct ndr_print *ndr, const char *name, int flags, const struct PNP_FreeResDes *r);
void ndr_print_PNP_GetNextResDes(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetNextResDes *r);
void ndr_print_PNP_GetResDesData(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetResDesData *r);
void ndr_print_PNP_GetResDesDataSize(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetResDesDataSize *r);
void ndr_print_PNP_ModifyResDes(struct ndr_print *ndr, const char *name, int flags, const struct PNP_ModifyResDes *r);
void ndr_print_PNP_DetectResourceLimit(struct ndr_print *ndr, const char *name, int flags, const struct PNP_DetectResourceLimit *r);
void ndr_print_PNP_QueryResConfList(struct ndr_print *ndr, const char *name, int flags, const struct PNP_QueryResConfList *r);
void ndr_print_PNP_SetHwProf(struct ndr_print *ndr, const char *name, int flags, const struct PNP_SetHwProf *r);
void ndr_print_PNP_QueryArbitratorFreeData(struct ndr_print *ndr, const char *name, int flags, const struct PNP_QueryArbitratorFreeData *r);
void ndr_print_PNP_QueryArbitratorFreeSize(struct ndr_print *ndr, const char *name, int flags, const struct PNP_QueryArbitratorFreeSize *r);
void ndr_print_PNP_RunDetection(struct ndr_print *ndr, const char *name, int flags, const struct PNP_RunDetection *r);
void ndr_print_PNP_RegisterNotification(struct ndr_print *ndr, const char *name, int flags, const struct PNP_RegisterNotification *r);
void ndr_print_PNP_UnregisterNotification(struct ndr_print *ndr, const char *name, int flags, const struct PNP_UnregisterNotification *r);
void ndr_print_PNP_GetCustomDevProp(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetCustomDevProp *r);
void ndr_print_PNP_GetVersionInternal(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetVersionInternal *r);
void ndr_print_PNP_GetBlockedDriverInfo(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetBlockedDriverInfo *r);
void ndr_print_PNP_GetServerSideDeviceInstallFlags(struct ndr_print *ndr, const char *name, int flags, const struct PNP_GetServerSideDeviceInstallFlags *r);
#endif /* _HEADER_NDR_ntsvcs */

View File

@ -0,0 +1,333 @@
/* header auto-generated by pidl */
#include <stdint.h>
#ifndef _HEADER_ntsvcs
#define _HEADER_ntsvcs
struct PNP_Disconnect {
int _dummy_element;
};
struct PNP_Connect {
int _dummy_element;
};
struct PNP_GetVersion {
int _dummy_element;
};
struct PNP_GetGlobalState {
int _dummy_element;
};
struct PNP_InitDetection {
int _dummy_element;
};
struct PNP_ReportLogOn {
int _dummy_element;
};
struct PNP_ValidateDeviceInstance {
int _dummy_element;
};
struct PNP_GetRootDeviceInstance {
int _dummy_element;
};
struct PNP_GetRelatedDeviceInstance {
int _dummy_element;
};
struct PNP_EnumerateSubKeys {
int _dummy_element;
};
struct PNP_GetDeviceList {
int _dummy_element;
};
struct PNP_GetDeviceListSize {
int _dummy_element;
};
struct PNP_GetDepth {
int _dummy_element;
};
struct PNP_GetDeviceRegProp {
int _dummy_element;
};
struct PNP_SetDeviceRegProp {
int _dummy_element;
};
struct PNP_GetClassInstance {
int _dummy_element;
};
struct PNP_CreateKey {
int _dummy_element;
};
struct PNP_DeleteRegistryKey {
int _dummy_element;
};
struct PNP_GetClassCount {
int _dummy_element;
};
struct PNP_GetClassName {
int _dummy_element;
};
struct PNP_DeleteClassKey {
int _dummy_element;
};
struct PNP_GetInterfaceDeviceAlias {
int _dummy_element;
};
struct PNP_GetInterfaceDeviceList {
int _dummy_element;
};
struct PNP_GetInterfaceDeviceListSize {
int _dummy_element;
};
struct PNP_RegisterDeviceClassAssociation {
int _dummy_element;
};
struct PNP_UnregisterDeviceClassAssociation {
int _dummy_element;
};
struct PNP_GetClassRegProp {
int _dummy_element;
};
struct PNP_SetClassRegProp {
int _dummy_element;
};
struct PNP_CreateDevInst {
int _dummy_element;
};
struct PNP_DeviceInstanceAction {
int _dummy_element;
};
struct PNP_GetDeviceStatus {
int _dummy_element;
};
struct PNP_SetDeviceProblem {
int _dummy_element;
};
struct PNP_DisableDevInst {
int _dummy_element;
};
struct PNP_UninstallDevInst {
int _dummy_element;
};
struct PNP_AddID {
int _dummy_element;
};
struct PNP_RegisterDriver {
int _dummy_element;
};
struct PNP_QueryRemove {
int _dummy_element;
};
struct PNP_RequestDeviceEject {
int _dummy_element;
};
struct PNP_IsDockStationPresent {
int _dummy_element;
};
struct PNP_RequestEjectPC {
int _dummy_element;
};
struct PNP_HwProfFlags {
int _dummy_element;
};
struct PNP_GetHwProfInfo {
int _dummy_element;
};
struct PNP_AddEmptyLogConf {
int _dummy_element;
};
struct PNP_FreeLogConf {
int _dummy_element;
};
struct PNP_GetFirstLogConf {
int _dummy_element;
};
struct PNP_GetNextLogConf {
int _dummy_element;
};
struct PNP_GetLogConfPriority {
int _dummy_element;
};
struct PNP_AddResDes {
int _dummy_element;
};
struct PNP_FreeResDes {
int _dummy_element;
};
struct PNP_GetNextResDes {
int _dummy_element;
};
struct PNP_GetResDesData {
int _dummy_element;
};
struct PNP_GetResDesDataSize {
int _dummy_element;
};
struct PNP_ModifyResDes {
int _dummy_element;
};
struct PNP_DetectResourceLimit {
int _dummy_element;
};
struct PNP_QueryResConfList {
int _dummy_element;
};
struct PNP_SetHwProf {
int _dummy_element;
};
struct PNP_QueryArbitratorFreeData {
int _dummy_element;
};
struct PNP_QueryArbitratorFreeSize {
int _dummy_element;
};
struct PNP_RunDetection {
int _dummy_element;
};
struct PNP_RegisterNotification {
int _dummy_element;
};
struct PNP_UnregisterNotification {
int _dummy_element;
};
struct PNP_GetCustomDevProp {
int _dummy_element;
};
struct PNP_GetVersionInternal {
int _dummy_element;
};
struct PNP_GetBlockedDriverInfo {
int _dummy_element;
};
struct PNP_GetServerSideDeviceInstallFlags {
int _dummy_element;
};
#endif /* _HEADER_ntsvcs */

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,71 @@
#include "librpc/gen_ndr/ndr_ntsvcs.h"
#ifndef __SRV_NTSVCS__
#define __SRV_NTSVCS__
void _PNP_Disconnect(pipes_struct *p, struct PNP_Disconnect *r);
void _PNP_Connect(pipes_struct *p, struct PNP_Connect *r);
void _PNP_GetVersion(pipes_struct *p, struct PNP_GetVersion *r);
void _PNP_GetGlobalState(pipes_struct *p, struct PNP_GetGlobalState *r);
void _PNP_InitDetection(pipes_struct *p, struct PNP_InitDetection *r);
void _PNP_ReportLogOn(pipes_struct *p, struct PNP_ReportLogOn *r);
void _PNP_ValidateDeviceInstance(pipes_struct *p, struct PNP_ValidateDeviceInstance *r);
void _PNP_GetRootDeviceInstance(pipes_struct *p, struct PNP_GetRootDeviceInstance *r);
void _PNP_GetRelatedDeviceInstance(pipes_struct *p, struct PNP_GetRelatedDeviceInstance *r);
void _PNP_EnumerateSubKeys(pipes_struct *p, struct PNP_EnumerateSubKeys *r);
void _PNP_GetDeviceList(pipes_struct *p, struct PNP_GetDeviceList *r);
void _PNP_GetDeviceListSize(pipes_struct *p, struct PNP_GetDeviceListSize *r);
void _PNP_GetDepth(pipes_struct *p, struct PNP_GetDepth *r);
void _PNP_GetDeviceRegProp(pipes_struct *p, struct PNP_GetDeviceRegProp *r);
void _PNP_SetDeviceRegProp(pipes_struct *p, struct PNP_SetDeviceRegProp *r);
void _PNP_GetClassInstance(pipes_struct *p, struct PNP_GetClassInstance *r);
void _PNP_CreateKey(pipes_struct *p, struct PNP_CreateKey *r);
void _PNP_DeleteRegistryKey(pipes_struct *p, struct PNP_DeleteRegistryKey *r);
void _PNP_GetClassCount(pipes_struct *p, struct PNP_GetClassCount *r);
void _PNP_GetClassName(pipes_struct *p, struct PNP_GetClassName *r);
void _PNP_DeleteClassKey(pipes_struct *p, struct PNP_DeleteClassKey *r);
void _PNP_GetInterfaceDeviceAlias(pipes_struct *p, struct PNP_GetInterfaceDeviceAlias *r);
void _PNP_GetInterfaceDeviceList(pipes_struct *p, struct PNP_GetInterfaceDeviceList *r);
void _PNP_GetInterfaceDeviceListSize(pipes_struct *p, struct PNP_GetInterfaceDeviceListSize *r);
void _PNP_RegisterDeviceClassAssociation(pipes_struct *p, struct PNP_RegisterDeviceClassAssociation *r);
void _PNP_UnregisterDeviceClassAssociation(pipes_struct *p, struct PNP_UnregisterDeviceClassAssociation *r);
void _PNP_GetClassRegProp(pipes_struct *p, struct PNP_GetClassRegProp *r);
void _PNP_SetClassRegProp(pipes_struct *p, struct PNP_SetClassRegProp *r);
void _PNP_CreateDevInst(pipes_struct *p, struct PNP_CreateDevInst *r);
void _PNP_DeviceInstanceAction(pipes_struct *p, struct PNP_DeviceInstanceAction *r);
void _PNP_GetDeviceStatus(pipes_struct *p, struct PNP_GetDeviceStatus *r);
void _PNP_SetDeviceProblem(pipes_struct *p, struct PNP_SetDeviceProblem *r);
void _PNP_DisableDevInst(pipes_struct *p, struct PNP_DisableDevInst *r);
void _PNP_UninstallDevInst(pipes_struct *p, struct PNP_UninstallDevInst *r);
void _PNP_AddID(pipes_struct *p, struct PNP_AddID *r);
void _PNP_RegisterDriver(pipes_struct *p, struct PNP_RegisterDriver *r);
void _PNP_QueryRemove(pipes_struct *p, struct PNP_QueryRemove *r);
void _PNP_RequestDeviceEject(pipes_struct *p, struct PNP_RequestDeviceEject *r);
void _PNP_IsDockStationPresent(pipes_struct *p, struct PNP_IsDockStationPresent *r);
void _PNP_RequestEjectPC(pipes_struct *p, struct PNP_RequestEjectPC *r);
void _PNP_HwProfFlags(pipes_struct *p, struct PNP_HwProfFlags *r);
void _PNP_GetHwProfInfo(pipes_struct *p, struct PNP_GetHwProfInfo *r);
void _PNP_AddEmptyLogConf(pipes_struct *p, struct PNP_AddEmptyLogConf *r);
void _PNP_FreeLogConf(pipes_struct *p, struct PNP_FreeLogConf *r);
void _PNP_GetFirstLogConf(pipes_struct *p, struct PNP_GetFirstLogConf *r);
void _PNP_GetNextLogConf(pipes_struct *p, struct PNP_GetNextLogConf *r);
void _PNP_GetLogConfPriority(pipes_struct *p, struct PNP_GetLogConfPriority *r);
void _PNP_AddResDes(pipes_struct *p, struct PNP_AddResDes *r);
void _PNP_FreeResDes(pipes_struct *p, struct PNP_FreeResDes *r);
void _PNP_GetNextResDes(pipes_struct *p, struct PNP_GetNextResDes *r);
void _PNP_GetResDesData(pipes_struct *p, struct PNP_GetResDesData *r);
void _PNP_GetResDesDataSize(pipes_struct *p, struct PNP_GetResDesDataSize *r);
void _PNP_ModifyResDes(pipes_struct *p, struct PNP_ModifyResDes *r);
void _PNP_DetectResourceLimit(pipes_struct *p, struct PNP_DetectResourceLimit *r);
void _PNP_QueryResConfList(pipes_struct *p, struct PNP_QueryResConfList *r);
void _PNP_SetHwProf(pipes_struct *p, struct PNP_SetHwProf *r);
void _PNP_QueryArbitratorFreeData(pipes_struct *p, struct PNP_QueryArbitratorFreeData *r);
void _PNP_QueryArbitratorFreeSize(pipes_struct *p, struct PNP_QueryArbitratorFreeSize *r);
void _PNP_RunDetection(pipes_struct *p, struct PNP_RunDetection *r);
void _PNP_RegisterNotification(pipes_struct *p, struct PNP_RegisterNotification *r);
void _PNP_UnregisterNotification(pipes_struct *p, struct PNP_UnregisterNotification *r);
void _PNP_GetCustomDevProp(pipes_struct *p, struct PNP_GetCustomDevProp *r);
void _PNP_GetVersionInternal(pipes_struct *p, struct PNP_GetVersionInternal *r);
void _PNP_GetBlockedDriverInfo(pipes_struct *p, struct PNP_GetBlockedDriverInfo *r);
void _PNP_GetServerSideDeviceInstallFlags(pipes_struct *p, struct PNP_GetServerSideDeviceInstallFlags *r);
void ntsvcs_get_pipe_fns(struct api_struct **fns, int *n_fns);
NTSTATUS rpc_ntsvcs_init(void);
#endif /* __SRV_NTSVCS__ */