The Startup entry point function loads a resource DLL, returning a structure containing a function table and a version number.
DWORD WINAPI Startup(
LPCWSTR ResourceType,
DWORD MinVersionSupported,
DWORD MaxVersionSupported,
PSET_RESOURCE_STATUS_ROUTINE SetResourceStatus,
PLOG_EVENT_ROUTINE LogEvent,
PCLRES_FUNCTION_TABLE * FunctionTable
);
If the operation was unsuccessful, Startup should return a Win32 error value.
The Startup entry point function returns a function table that describes:
At present, only Resource API version 1.0 is supported.
If your resource supports more than one version of the Resource API, return a function table for the latest version. The version number should be less than or equal to the MaxVersionSupported parameter. If the version of the function table pointed to by the FunctionTable parameter is not within range, your resource cannot be loaded successfully.
Attempt to make your implementation of Startup finish in less than 300 milliseconds.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in resapi.h.