Home > General > Dce_error_inq_text


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. 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 The size of the required buffer is not defined in the documentation. + * 3. statusReturns the status code from this operation.

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; All messages for a given component are stored in a single message catalog generated by the sams utility when the component is built. (The messages may also be compiled into the Implementations must support the syntax and semantics of the dce_error_inq_text routine specified in appendix M. typedef char dce_error_string_t[dce_c_error_string_len]; void dce … Installing, Configuring, and Running the rpcsimp Application.

The MSDN documentation currently declares that the second argument is + * unsigned char *, even for the W version. Previous section. 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 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.

DceErrorInqText function The DceErrorInqText function returns the message text for a status code. Toggle navigation DCE/RPC Contributing Documentation Source Not Found The requested URL was not found on this server. The application must provide memory for the returned message. 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

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. typedef RPC_BINDING_HANDLE rpc_binding_handle_t Definition at line 69 of file dce2msrpc.h. 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 Requirements Minimum supported client Windows 2000 Professional [desktop apps only] Minimum supported server Windows 2000 Server [desktop apps only] Header Rpcdce.h (include Rpc.h) Library Rpcrt4.lib DLL Rpcrt4.dll Unicode and ANSI names DceErrorInqTextW (Unicode)

This documentation is archived and is not being maintained. Implementations must adhere to the mappings for transfer syntax UUIDs … ← Previous Post Next Post → If you enjoyed this article please consider sharing it! 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 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

typedef RPC_IF_HANDLE rpc_if_handle_t Definition at line 70 of file dce2msrpc.h. click here now If the call fails, this routine returns a message as well as a failure code in the status argument. Conforms. The application must provide memory for the returned message.

I do not + * yet know if the string differs by environment. + * 4. Contents Nextsection Index Application Development Reference dce_error_inq_text Purpose Retrieves message text associated with a DCE error code Synopsis #include void dce_error_inq_text( error_status_t status_to_convert dce_error_string_t error_text int *status); Parameters Input ErrorText Returns the text corresponding to the error code. 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,

Defines #defineerror_status_ok0 #definerpc_binding_free(binding, status)(*(status) = RpcBindingFree(binding)) #definerpc_binding_from_string_binding(string_binding, binding, status)(*(status) = RpcBindingFromStringBinding(string_binding, binding)) #definerpc_binding_to_string_binding(binding, string_binding, status)(*(status) = RpcBindingToStringBinding(binding, string_binding)) #definerpc_ep_register(if_handle, binding_vec, object_uuid_vec, annotation, status)(*(status) = RpcEpRegister(if_handle, binding_vec, object_uuid_vec, annotation)) #definerpc_ep_resolve_binding(binding, if_handle, status)(*(status) That is, the text string returned by dce_error_inq_text() is dependant on the current locale. Copyright © 2016 James Peach. Member of Polarhome portal.

All rights reserved. Toggle navigation DCE/RPC Contributing Documentation Source Not Found The requested URL was not found on this server. typedef boolean idl_boolean Definition at line 82 of file dce2msrpc.h.

The special value of all-bits-zero is reserved to indicate success.

The special value of all-bits-zero is reserved to indicate success. There are several different DCE messaging routines. All DCE message texts are assigned a unique 32-bit message ID. Generated by Doxygen 1.8.0

Based on Fawad Halim's script. ................................................................... typedef RPC_IF_ID rpc_if_id_t Definition at line 71 of file dce2msrpc.h. 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 /* 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

Copyright © 2016 James Peach. Typedef Documentation typedef TCHAR dce_error_string_t[1024] Definition at line 86 of file dce2msrpc.h. 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. Copyright © 2016 James Peach.

The definitive version is available as an electronic publication on CD-ROM from The Open Group. For some codes a specific "not recognised" string is returned. RETURN VALUE None. 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

Yes No Additional feedback? 1500 characters remaining Submit Skip this Thank you! 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 ValueMeaning RPC_S_OK The call succeeded. Introduction to the RPC API.

Implementations must adhere to the mappings for transfer syntax UUIDs, as specified in appendix N. The largest returned message is dce_c_error_string_len characters long, including the terminating NULL character. On passing a NULL pointer the code does bomb out. + * 2.