Solved

GetRandomRgn

Posted on 2001-09-03
4
415 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

12 Experts available now in Live!

Get 1:1 Help Now