Passing parameters to a Windows DWORD flag?

From: Martin, Marc <"Martin,>
Date: Thu, 5 Aug 2004 17:47:37 -0700

----boundary-LibPST-iamunique-1097808788_-_-
Content-type: text/plain

Hi all,

I'm sure this has been covered before, but I can't
find any reference to it in my archives.

I'm calling a Windows API function which requires
a DWORD flag. This, I believe, is represented
as a 32-bit unsigned integer. I want to pass
to this parameter the value:

  decimal: 2147483647
  hex: 0x80000000

In Component Pascal, do I declare this parameter
as an INTEGER? SET? And what value do I pass to
it, since this value is outside the range of a
32-bit signed integer?

Thanks,

Marc
--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy

Current posting policy:

a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.

b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.


----boundary-LibPST-iamunique-1097808788_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpIGFsbCxccGFyDQpccGFyDQpJJ20gc3VyZSB0
aGlzI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Received on Fri Aug 06 2004 - 02:47:37 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:40 UTC