Bull DPX/20 Guida Utente Pagina 238

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 237
2-70
SOMobjects Base Toolkit: Programmers Reference Manual
get_default_context Method
Purpose
Returns the default process Context object.
IDL Syntax
ORBStatus get_default_context (
out Context ctx);
Description
The get_default_context method gets the default process Context object.
Ownership of the allocated Context object is transferred to the caller.
Parameters
receiver A pointer to the ORB object.
env A pointer to the Environment structure for the method caller.
ctx A pointer to where the method will store a pointer to the returned Context
object.
Return Value
The get_default_context method returns an ORBStatus return code: 0 indicates success,
while a non-zero value is a DSOM error code (see Chapter 6 of the SOM Toolkit User’s
Guide).
Example
#include <somd.h>
Environment ev;
Context cxt;
long rc;
...
rc = _get_default_context(SOMD_ORBObject, &ev, &cxt);
Original Class
ORB
Vedere la pagina 237
1 2 ... 233 234 235 236 237 238 239 240 241 242 243 ... 423 424

Commenti su questo manuale

Nessun commento