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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for