CLRES_V1_FUNCTIONS structure (resapi.h)
Contains pointers to all Resource API version 1.0 entry points except Startup.
Syntax
typedef struct CLRES_V1_FUNCTIONS {
POPEN_ROUTINE Open;
PCLOSE_ROUTINE Close;
PONLINE_ROUTINE Online;
POFFLINE_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;
} CLRES_V1_FUNCTIONS, *PCLRES_V1_FUNCTIONS;
Members
Open
Pointer to the Open entry point.
Close
Pointer to the Close entry point.
Online
Pointer to the Online entry point.
Offline
Pointer to the Offline 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.
Remarks
The CLRES_V1_FUNCTIONS structure is the function table that is returned by the Startup function in Resource API 1.0. Resource DLLs that support multiple resource types must provide one function table for each resource type. All function pointers must be non-NULL except for the following entry points:
For more information, see Implementing Resource DLLs.To create a function table for version 1.0 of the Resource API, use the CLRES_V1_FUNCTION_TABLE macro.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |
Header | resapi.h |
See also
ResourceControl