加载 资源 DLL,返回包含函数表和版本号的结构。 PSTARTUP_EX_ROUTINE类型定义指向此函数的指针。
语法
PSTARTUP_EX_ROUTINE PstartupExRoutine;
DWORD PstartupExRoutine(
[in] LPCWSTR ResourceType,
[in] DWORD MinVersionSupported,
[in] DWORD MaxVersionSupported,
[in] [in] PCLRES_CALLBACK_FUNCTION_TABLE MonitorCallbackFunctions,
[out] [out] PCLRES_FUNCTION_TABLE *ResourceDllInterfaceFunctions
)
{...}
parameters
[in] ResourceType
要启动的资源的类型。
[in] MinVersionSupported
[in] MaxVersionSupported
群集服务支持的资源 API 的最高版本。
[in] [in] MonitorCallbackFunctions
TBD
[out] [out] ResourceDllInterfaceFunctions
TBD
返回值
| 返回代码/值 | 说明 |
|---|---|
|
请求已成功。 |
|
资源 DLL 不支持属于 MinVersionSupported 和 MaxVersionSupported 参数所标识范围内的版本。 |
要求
| 最低受支持的客户端 | 无受支持的版本 |
| 最低受支持的服务器 | Windows Server 2012 |
| 目标平台 | Windows |
| 标头 | resapi.h |