CLRES_V1_FUNCTION_TABLE

The CLRES_V1_FUNCTION_TABLE macro initializes a function table for version 1 of the Resource API. The CLRES_V1_FUNCTION_TABLE macro is defined in RESAPI.H.

CLRES_V1_FUNCTION_TABLE(
  _Name, _Version, _Prefix, _Arbitrate,
  _Release, _ResControl, _ResTypeControl )
 

Parameters

Name
Label for the function table.
Version
Defines the exact version, such as CLRES_VERSION_V1_00.
Prefix
Prefix to be appended to the front of each of the names of the entry points in the function table.
Arbitrate
Name of the Arbitrate entry point.
Release
Name of the Release entry point.
ResControl
Name of the ResourceControl entry point.
ResTypeControl
Name of the ResourceTypeControl entry point.

Remarks

The CLRES_V1_FUNCTION_TABLE macro creates a function table for version 1.0 of the Resource API using the version specified by the Version parameter and the label specified by the Name parameter. The actual names of the entry points are generated by combining the prefix specified in the Prefix parameter with the generic names as defined in the Resource API. For example, if Prefix is set to the string "FileShare," then the name of the Open function would be "FileShareOpen." Notice that the optional entry point functions may be NULL.

The resulting function table includes the following members:

PrefixOpen The name of the Open entry point.
PrefixClose The name of the Close entry point.
PrefixOnline The name of the Online entry point.
PrefixOffline The name of the Offline entry point.
PrefixTerminate The name of the Terminate entry point.
PrefixLooksAlive The name of the LooksAlive entry point.
PrefixIsAlive The name of the IsAlive entry point.
PrefixArbitrate The name of the Arbitrate entry point or NULL.
PrefixRelease The name of the Release entry point or NULL.
PrefixResControl The name of the ResourceControl entry point or NULL.
PrefixResTypeControl The name of the ResourceTypeControl entry point or NULL.

To view the format of the function table, see CLRES_FUNCTION_TABLE structure.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in resapi.h.