VMS Help  —  DCE  DCE_RPC, Application Routines, rpc_set_local_float_drep
 Name:

   rpc_set_local_float_drep - Sets the float type in the runtime to
                              the one with which the application is
                              being compiled

 SYNOPSIS:

   #include <dce/rpc.h>
   void rpc_set_local_float_drep (unsigned8 float_drep,
                                   unsigned32 *status);

 PARAMETERS

 Input

   float_drep
                 The parameter should always be passed as using the
                 macro "RPC_APPLICATION_FLOAT_TYPE". This macro will
                 be define to 0 or 1 based on the compilation option
                 specified for the float type.

   Output

   status
                 The routine will always return "rpc_s_ok" status.

 DESCRIPTION:

   The routine rpc_set_local_float_drep allows the RPC application
   to set the floating point type being used by the application
   Only G_FLOAT and IEEE_FLOAT floating types are supported. This
   routine if used,should be placed before any other API calls to
   the RPC runtime. The first parameter float_drep should be passed
   using the macro RPC_APPLICATION_FLOAT_TYPE that is defined in
   IDLBASE.H header file. This macro will be set to appropriate value
   based on the /FLOAT compilation option.

   This routine can be used only on Alpha and I64 and will not be
   supported on VAX.

 RETURN TYPE:

   No value is returned.
Close Help