[kernel] add dummy HeapSetInformation()

Robert Shearman rob at codeweavers.com
Thu Jul 20 13:11:16 CDT 2006


dank at vroo.pair.com wrote:

> /***********************************************************************
>+ *           HeapSetInformation   (KERNEL32.@)
>+ * Change options for a given heap.
>+ *
>+ * NOTES
>+ *	All options are ignored.
>+ *
>+ * RETURNS
>+ *	TRUE: Success
>+ *	FALSE: Failure
>+ */
>+BOOL WINAPI HeapSetInformation(
>+              HANDLE heap, /* [in] Handle to the heap */
>+              DWORD class, /* [in] enum describing which option to set */
>+              LPCVOID poption, /* [in] Pointer to option value */
>+              DWORD optionlen  /* [in] Length of option value */
>+) {
>+    /* Only option available is Low Fragmentation Heap, which
>+     * is just a performance thing.  Allow but ignore; this should let
>+     * Lionhead Studios' Black & White 2 run.
>+     */
>+    return TRUE;
>+}
>+
>  
>

You should make this function print a fixme and a minor nitpick that 
NOTES should probably be BUGS instead.

-- 
Rob Shearman




More information about the wine-devel mailing list