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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 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