CLRES_V2_FUNCTIONS structure (resapi.h)

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

Syntax

typedef struct CLRES_V2_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;
  PRESOURCE_CONTROL_ROUTINE      ResourceControl;
  PRESOURCE_TYPE_CONTROL_ROUTINE ResourceTypeControl;
  PCANCEL_ROUTINE                Cancel;
} CLRES_V2_FUNCTIONS, *PCLRES_V2_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.

ResourceControl

Pointer to the ResourceControl entry point.

ResourceTypeControl

Pointer to the ResourceTypeControl entry point.

Cancel

Pointer to the Cancel entry point.

Requirements

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

See also

Resource DLL Structures