Home > General > Dce_error_inq_text

Dce_error_inq_text

Toggle navigation DCE/RPC Contributing Documentation Source Not Found The requested URL was not found on this server. Downloads and tools Windows 10 dev tools Visual Studio Windows SDK Windows Store badges Essentials API reference (Windows apps) API reference (desktop apps) Code samples How-to guides (Windows apps) Learning resources All rights reserved. For those who want to learn more, the polarhome community provides shell access and support. [legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ] Tweet Polarhome, production since 1999.

For all others it seems merely to return FormatMessage's answer. + * 5. It is possible for an application to accomplish all of its messaging tasks with only one or two of these routines (dce_printf() and dce_error_inq_text()); additional routines allow applications to perform manipulations This chapter provides a general description of the programming model implemented by the RPC Application Programming Interface …… … { if(input_status != rpc_s_ok) { dce_error_inq_text(input_status, error_string, &error_stat); fprintf(stderr, "%s %sn", comment, Examples The following code fragment shows how dce_error_inq_text() can be used to retrieve the message text describing the status code returned by a DCE RPC library routine: dce_error_string_t error_string; error_status_t status; http://pubs.opengroup.org/onlinepubs/9629399/apdxm.htm

Generated by Doxygen 1.8.0 We appreciate your feedback. The definitive version is available as an electronic publication on CD-ROM from The Open Group. There are several different DCE messaging routines.

typedef char dce_error_string_t[dce_c_error_string_len]; void dce … Installing, Configuring, and Running the rpcsimp Application. typedef boolean idl_boolean Definition at line 82 of file dce2msrpc.h. ErrorText Returns the text corresponding to the error code. For some codes a specific "not recognised" string is returned.

Syntax C++ Copy RPC_STATUS RPC_ENTRY DceErrorInqText(  unsigned long StatusToConvert,  unsigned char *ErrorText ); Parameters StatusToConvert Status code to convert to a text string. Previous section. Vote for polarhome Implement DceErrorInqText Bill Medland billmedland at mercuryspeed.com Tue Dec 21 20:30:22 CST 2004 Previous message: [LOSTWAGES] update Fun Projects Next message: Replace 'All xxx pages' text in common check here The special value of all-bits-zero is reserved to indicate success.

The application must provide memory for the returned message. This documentation is archived and is not being maintained. DceErrorInqText function The DceErrorInqText function returns the message text for a status code. A value of 0 (zero) indicates that the operation completed successfully.

Copyright © 2016 James Peach. http://www.dcerpc.org/trac/changeset/9083b5b0fbfd0e9176e101838095a6e59d67e434/dcerpc/ncklib/cominit.c Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Please note that the html version of this specification may contain formatting aberrations. Because this routine is not specifically RPC-related, it is specified in this appendix rather than as part of RPC API Manual Pages .

The dce_error_inq_text() routine uses the message ID as a series of indices into the correct DCE component's message catalog; the text found by this indexing is the message that explains the Yes No Additional feedback? 1500 characters remaining Submit Skip this Thank you! That is, the text string returned by dce_error_inq_text() is dependant on the current locale. Typedef Documentation typedef TCHAR dce_error_string_t[1024] Definition at line 86 of file dce2msrpc.h.

Digital DCE for OpenVMS VAX and OpenVMS Alpha Product Guide. RPC_S_INVALID_ARG Unknown error code.   Return value This function returns RPC_S_OK if it is successful, or an error code if not. Implementations must support the syntax and semantics of the dce_error_inq_text routine specified in appendix M. typedef RPC_IF_HANDLE rpc_if_handle_t Definition at line 70 of file dce2msrpc.h.

DCE 1.1: Remote Procedure Call - dce_error_inq_text Previous section. The dce_error_inq_text() routine uses the message ID as a series of indices; the string found and returned explains the associated status code. NAME dce_error_inq_text- returns the message text associated with a status code SYNOPSIS

 #include  #include  void dce_error_inq_text( 

error_status_t status_to_convert, dce_error_string_t *error_text,

int *status);

PARAMETERS Input status_to_convertSpecifies

Copyright © 2016 James Peach.

CDE 1.1: Remote Procedure Call Copyright © 1997 The Open Group The dce_error_inq_text Manual Page The dce_error_inq_text() routine may be used by RPC applications to return message text corresponding to Based on Fawad Halim's script. ................................................................... Previous: Contents: … { error_status_t rst; dce_error_inq_text(st, error_buf, &rst); return error_buf; } main() { error_status_t st; rpc_binding_vector_p_t bvec; /* Register all supported … The dce_error_inq_text() routine uses the message ID as ValueMeaning RPC_S_OK The call succeeded.

See ASP.NET Ajax CDN Terms of Use – http://www.asp.net/ajaxlibrary/CDN.ashx. ]]> Toggle navigation DCE/RPC Contributing Documentation Source Not Found The RETURN VALUE None. Note that + * they are not guaranteed to be valid. + */ +static int acceptable_rpc_code (unsigned long e) +{ + return (!( (1642 <= e && e < RPC_S_INVALID_STRING_BINDING /* Toggle navigation DCE/RPC Contributing Documentation Source Not Found The requested URL was not found on this server.

The following steps provide you with the instructions for installing, … dce_error_inq_text(status, error_string, &error_stat); fprintf(stderr, "%s %sn", "inq_auth_client failed", Introduction to the RPC Specification. … Implementations must support the syntax and A value of -1 indicates that it failed. DESCRIPTION The dce_error_inq_text() routine retrieves message text associated with a status code returned by a routine. On passing a NULL pointer the code does bomb out. + * 2. Member of Polarhome portal.

The largest returned message is dce_c_error_string_len characters long, including the terminating NULL character. All rights reserved. The special value of all-bits-zero is reserved to indicate success. HomeSitemap Services Welcome Home » Software » Dce_error_inq_text Dce_error_inq_text Posted on admin in Software on February 26, 2015 Comments Off on Dce_error_inq_text Application Development Guide -Core Components – DCE Messaging Routines.

Note  For a list of valid error codes, see RPC Return Values.   Remarks The DceErrorInqText routine fills the string pointed to by the ErrorText parameter with a null-terminated character string message I don't believe it. + */ + +/* These are the codes that may be presented to FormatMessage. status Returns the status code from this operation. The status code is set to 0 on success, and to -1 on failure. Description The dce_error_inq_text() routine retrieves from the installed DCE component message catalogs the message text associated

typedef RPC_BINDING_VECTOR* rpc_binding_vector_p_t Definition at line 68 of file dce2msrpc.h.