Bull DPX/20 Betriebsanweisung Seite 238

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 237
1 2 ... 233 234 235 236 237 238 239 240 241 242 243 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare