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
Solved

GetRandomRgn

Posted on 2001-09-03
4
439 Views
Last Modified: 2013-12-03
The MSDN page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/hh/gdi/clipping_4q0e.asp
documents GetRandomRgn and says the 3rd parameter must be SYSRGN.
Can anyone tell me the value of SYSRGN?

Cheers Greg
0
Comment
Question by:GGRUNDY
  • 2
4 Comments
 
LVL 7

Expert Comment

by:peterchen092700
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....

0
 
LVL 86

Accepted Solution

by:
jkr earned 200 total points
ID: 6453188
0
 
LVL 3

Author Comment

by:GGRUNDY
ID: 6454669
Thanks heaps jkr.

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

Cheers Greg
0
 
LVL 86

Expert Comment

by:jkr
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 metacrawler.com

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Method 'OpenReport' of the object Docmd failed 7 31
Windows Installer 4 76
SignTool Error with Windows 10 5 177
String manipulation in Visual Basic 7 73
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

840 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