Jump to content

wpQueryJobId

From EDM2
Revision as of 03:22, 25 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpQueryJobId}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method returns the job ID of the current job. ==Syntax== _wpQueryJobId(somSelf) ==Parameters== ;''somSelf'' (WPJob *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPJob. ==Returns== ;''ulJobId'' (ULONG) - returns :Job ID of the current object. ==How to Override== This method is g...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This method is specific to version 3, or higher, of the OS/2 operating system.

This instance method returns the job ID of the current job.

Syntax

_wpQueryJobId(somSelf)

Parameters

somSelf (WPJob *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPJob.

Returns

ulJobId (ULONG) - returns
Job ID of the current object.

How to Override

This method is generally not overridden.

Usage

This method can be called at any time.

Remarks

This method is not covered in the provided text.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPJob *somSelf; /* Pointer to the object on which the method is being invoked. */
ULONG ulJobId; /* Job ID of the current object. */

ulJobId = _wpQueryJobId(somSelf);

Related Methods