Posted on 2001-09-03
Last Modified: 2013-12-03
The MSDN page
documents GetRandomRgn and says the 3rd parameter must be SYSRGN.
Can anyone tell me the value of SYSRGN?

Cheers Greg
Question by:GGRUNDY
  • 2

Expert Comment

ID: 6452842
strange function you digged out ;)
Although it's exported from my gdi32.dll here (Win98SE), it's not declared in any of the windows headers (VC6).

Besides reverse engineering, all you could do is try 0 or 1....

LVL 86

Accepted Solution

jkr earned 200 total points
ID: 6453188

Author Comment

ID: 6454669
Thanks heaps jkr.

BTW, did you use a search engine to turn them up. If so which one?

Cheers Greg
LVL 86

Expert Comment

ID: 6455130
>>BTW, did you use a search engine to turn them up

Sure, I don't have all references on my hands - I usually use a meta-engine, such as


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now