Close callback function

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

Syntax


VOID WINAPI Close(
  _In_ RESID ResourceId
);

typedef VOID (WINAPI *PCLOSE_ROUTINE)(
    _In_ RESID ResourceId
);

Parameters

ResourceId [in]

Resource identifier of the resource to close.

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ResApi.h

See also

Resource DLL Entry-Point Functions

 

 

Show: