PCLOSE_ROUTINE callback function (resapi.h)

Closes a resource. The PCLOSE_ROUTINE type defines a pointer to this function.

Syntax

PCLOSE_ROUTINE PcloseRoutine;

void PcloseRoutine(
  RESID Resource
)
{...}

Parameters

Resource

Return value

None. Call SetLastError to specify that an error has occurred.

Remarks

For effective implementation strategies of the Close entry-point function, see Implementing Close.

Examples

See Resource DLL Examples.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header resapi.h

See also

Resource DLL Entry-Point Functions