CLRES_V4_FUNCTIONS structure (resapi.h)

Contains pointers to all Resource API version 4.0 entry points, except StartupEx.

Syntax

typedef struct CLRES_V4_FUNCTIONS {
  POPEN_V2_ROUTINE                   Open;
  PCLOSE_ROUTINE                     Close;
  PONLINE_V2_ROUTINE                 Online;
  POFFLINE_V2_ROUTINE                Offline;
  PTERMINATE_ROUTINE                 Terminate;
  PLOOKS_ALIVE_ROUTINE               LooksAlive;
  PIS_ALIVE_ROUTINE                  IsAlive;
  PARBITRATE_ROUTINE                 Arbitrate;
  PRELEASE_ROUTINE                   Release;
  PBEGIN_RESCALL_ROUTINE             BeginResourceControl;
  PBEGIN_RESTYPECALL_ROUTINE         BeginResourceTypeControl;
  PCANCEL_ROUTINE                    Cancel;
  PBEGIN_RESCALL_AS_USER_ROUTINE     BeginResourceControlAsUser;
  PBEGIN_RESTYPECALL_AS_USER_ROUTINE BeginResourceTypeControlAsUser;
} CLRES_V4_FUNCTIONS, *PCLRES_V4_FUNCTIONS;

Members

Open

Pointer to the OpenV2 entry point.

Close

Pointer to the Close entry point.

Online

Pointer to the OnlineV2 entry point.

Offline

Pointer to the OfflineV2 entry point.

Terminate

Pointer to the Terminate entry point.

LooksAlive

Pointer to the LooksAlive entry point.

IsAlive

Pointer to the IsAlive entry point.

Arbitrate

Pointer to the Arbitrate entry point.

Release

Pointer to the Release entry point.

BeginResourceControl

Pointer to the BeginResourceControl entry point.

BeginResourceTypeControl

Pointer to the BeginResourceTypeControl entry point.

Cancel

Pointer to the Cancel entry point.

BeginResourceControlAsUser

Pointer to the BeginResourceControlAsUser entry point.

BeginResourceTypeControlAsUser

Pointer to the BeginResourceTypeControlAsUser entry point.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2016
Header resapi.h

See also

Resource DLL Structures