NOTE: This Technical Note has been retired. Please see the Technical Notes page for current documentation.

Technical Note ME05
MoveHHi and SetResPurge

CONTENTS

SetResPurge(TRUE) is called to make the Memory Manager call the Resource Manager before purging a block specified by a handle. If the handle is a handle to a resource, and its resChanged bit is set, the resource data will be written out (using WriteResource).

[Mar 01 1987]






Introduction

When MoveHHi is called, even though the handle's block is not actually being purged, the resource data specified by the handle will be written out. An application can prevent this by calling SetResPurge(FALSE) before calling MoveHHi (and then calling SetResPurge(TRUE) after the MoveHHi call).

Back to top

References

The Memory Manager

The Resource Manager

Back to top

Downloadables

Acrobat gif

Acrobat version of this Note (28K)

Download


Back to top


Developer Documentation | Technical Q&As | Development Kits | Sample Code