本文整理汇总了C++中NDR_PRINT_OUT_DEBUG函数的典型用法代码示例。如果您正苦于以下问题:C++ NDR_PRINT_OUT_DEBUG函数的具体用法?C++ NDR_PRINT_OUT_DEBUG怎么用?C++ NDR_PRINT_OUT_DEBUG使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了NDR_PRINT_OUT_DEBUG函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: rpccli_PNP_GetFirstLogConf
NTSTATUS rpccli_PNP_GetFirstLogConf(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_GetFirstLogConf r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_GetFirstLogConf, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_GETFIRSTLOGCONF,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_GetFirstLogConf, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例2: rpccli_PNP_QueryArbitratorFreeSize
NTSTATUS rpccli_PNP_QueryArbitratorFreeSize(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_QueryArbitratorFreeSize r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_QueryArbitratorFreeSize, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_QUERYARBITRATORFREESIZE,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_QueryArbitratorFreeSize, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例3: rpccli_PNP_IsDockStationPresent
NTSTATUS rpccli_PNP_IsDockStationPresent(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_IsDockStationPresent r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_IsDockStationPresent, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_ISDOCKSTATIONPRESENT,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_IsDockStationPresent, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例4: rpccli_PNP_GetServerSideDeviceInstallFlags
NTSTATUS rpccli_PNP_GetServerSideDeviceInstallFlags(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_GetServerSideDeviceInstallFlags r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_GetServerSideDeviceInstallFlags, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_GETSERVERSIDEDEVICEINSTALLFLAGS,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_GetServerSideDeviceInstallFlags, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例5: rpccli_PNP_SetDeviceRegProp
NTSTATUS rpccli_PNP_SetDeviceRegProp(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_SetDeviceRegProp r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_SetDeviceRegProp, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_SETDEVICEREGPROP,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_SetDeviceRegProp, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例6: rpccli_PNP_GetRelatedDeviceInstance
NTSTATUS rpccli_PNP_GetRelatedDeviceInstance(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_GetRelatedDeviceInstance r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_GetRelatedDeviceInstance, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_GETRELATEDDEVICEINSTANCE,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_GetRelatedDeviceInstance, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例7: rpccli_svcctl_SCSendTSMessage
NTSTATUS rpccli_svcctl_SCSendTSMessage(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct svcctl_SCSendTSMessage r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(svcctl_SCSendTSMessage, &r);
}
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
NDR_SVCCTL_SCSENDTSMESSAGE,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(svcctl_SCSendTSMessage, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例8: rpccli_svcctl_NotifyBootConfigStatus
NTSTATUS rpccli_svcctl_NotifyBootConfigStatus(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct svcctl_NotifyBootConfigStatus r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(svcctl_NotifyBootConfigStatus, &r);
}
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
NDR_SVCCTL_NOTIFYBOOTCONFIGSTATUS,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(svcctl_NotifyBootConfigStatus, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例9: rpccli_svcctl_EnumServiceGroupW
NTSTATUS rpccli_svcctl_EnumServiceGroupW(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct svcctl_EnumServiceGroupW r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(svcctl_EnumServiceGroupW, &r);
}
status = cli->dispatch(cli,
mem_ctx,
&ndr_table_svcctl,
NDR_SVCCTL_ENUMSERVICEGROUPW,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(svcctl_EnumServiceGroupW, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例10: rpccli_PNP_DeleteClassKey
NTSTATUS rpccli_PNP_DeleteClassKey(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_DeleteClassKey r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_DeleteClassKey, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_DELETECLASSKEY,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_DeleteClassKey, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例11: rpccli_winreg_ReplaceKey
NTSTATUS rpccli_winreg_ReplaceKey(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct winreg_ReplaceKey r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(winreg_ReplaceKey, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_winreg,
NDR_WINREG_REPLACEKEY,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(winreg_ReplaceKey, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例12: rpccli_winreg_QueryMultipleValues2
NTSTATUS rpccli_winreg_QueryMultipleValues2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct winreg_QueryMultipleValues2 r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(winreg_QueryMultipleValues2, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_winreg,
NDR_WINREG_QUERYMULTIPLEVALUES2,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(winreg_QueryMultipleValues2, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例13: rpccli_PNP_GetInterfaceDeviceList
NTSTATUS rpccli_PNP_GetInterfaceDeviceList(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_GetInterfaceDeviceList r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_GetInterfaceDeviceList, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_GETINTERFACEDEVICELIST,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_GetInterfaceDeviceList, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例14: rpccli_PNP_GetBlockedDriverInfo
NTSTATUS rpccli_PNP_GetBlockedDriverInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_GetBlockedDriverInfo r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_GetBlockedDriverInfo, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_GETBLOCKEDDRIVERINFO,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_GetBlockedDriverInfo, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}
示例15: rpccli_PNP_UnregisterNotification
NTSTATUS rpccli_PNP_UnregisterNotification(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror)
{
struct PNP_UnregisterNotification r;
NTSTATUS status;
/* In parameters */
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(PNP_UnregisterNotification, &r);
}
status = cli_do_rpc_ndr(cli,
mem_ctx,
&ndr_table_ntsvcs,
NDR_PNP_UNREGISTERNOTIFICATION,
&r);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
if (DEBUGLEVEL >= 10) {
NDR_PRINT_OUT_DEBUG(PNP_UnregisterNotification, &r);
}
if (NT_STATUS_IS_ERR(status)) {
return status;
}
/* Return variables */
/* Return result */
if (werror) {
*werror = r.out.result;
}
return werror_to_ntstatus(r.out.result);
}