StartupEx callback function

Loads a resource DLL, returning a structure that contains a function table and a version number. The PSTARTUP_EX_ROUTINE type defines a pointer to this function.

Syntax


DWORD WINAPI StartupEx(
  _In_  LPCWSTR                        ResourceType,
  _In_  DWORD                          MinVersionSupported,
  _In_  DWORD                          MaxVersionSupported,
  _In_  PCLRES_CALLBACK_FUNCTION_TABLE MonitorCallbackFunctions,
  _Out_ PCLRES_FUNCTION_TABLE          *ResourceDllInterfaceFunctions
);

typedef DWORD (WINAPI *PSTARTUP_EX_ROUTINE)(
    _In_  LPCWSTR                        ResourceType,
    _In_  DWORD                          MinVersionSupported,
    _In_  DWORD                          MaxVersionSupported,
    _In_  PCLRES_CALLBACK_FUNCTION_TABLE MonitorCallbackFunctions,
    _Out_ PCLRES_FUNCTION_TABLE          *ResourceDllInterfaceFunctions
);

Parameters

ResourceType [in]

The type of resource to start.

MinVersionSupported [in]

The minimum version of the Resource API supported by the Cluster service.

MaxVersionSupported [in]

The maximum version of the Resource API supported by the Cluster service.

MonitorCallbackFunctions [in]

TBD

ResourceDllInterfaceFunctions [out]

TBD

Return value

ERROR_SUCCESS

0

The request was successful.

ERROR_REVISION_MISMATCH

1306 (0x51A)

The resource DLL does not support a version that falls in the range identified by the MinVersionSupported and MaxVersionSupported parameters.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Header

ResApi.h

See also

Resource DLL Entry-Point Functions

 

 

Show: