Jump to content

TASKREC: Difference between revisions

From EDM2
Created page with "Task information structure. == Type == struct == C Declaration Method== typedef struct == Example Code== <PRE> typedef struct _TASKREC { struct _TASKREC *next; Pointer to the next record in the list of current tasks.: ULONG useCount; Usage count (this structure can be referenced by multiple objects).: PVOID pStdDlg; Pointer to a standard Workplace Shell task dialog.: ..."
 
(No difference)

Latest revision as of 03:09, 3 May 2025

Task information structure.

Type

struct

C Declaration Method

typedef struct

Example Code

typedef struct _TASKREC {
  struct _TASKREC      *next;                 /*  Pointer to the next record in the list of current tasks. */
  ULONG                 useCount;             /*  Usage count (this structure can be referenced by multiple objects). */
  PVOID                 pStdDlg;              /*  Pointer to a standard Workplace Shell task dialog. */
  WPFolder             *folder;               /*  Pointer to the intended folder for the object. */
  LONG                  xOrigin;              /*  Intended x-coordinate position for the object. */
  LONG                  yOrigin;              /*  Intended y-coordinate position for the object. */
  PSZ                   pszTitle;             /*  Intended name for the object. */
  ULONG                 cbTitle;              /*  Length of the name buffer for pszTitle. */
  PMINIRECORDCORE       positionAfterRecord;  /*  Intended sort position for the object. */
  BOOL                  fKeepAssociations;
  PVOID                 pReserved;            /*  Reserved.  Set to NULL. */
} TASKREC;

typedef   TASKREC   * PTASKREC ;