Resource Identifiers

Each instance of a resource must be assigned a unique resource identifier, or RESID, which is passed back to the Cluster service from the Open entry point function. The RESID (defined as a PVOID by ResUtils.h) allows the Cluster service to refer to specific instances in subsequent calls to the resource DLL. Thus the RESID must behave like an index, allowing your resource DLL to locate the correct instance and its associated data.

For more information, see Implementing Instance Management.