Page 1 of 1

Message constants

Posted: Thu Jul 19, 2012 8:21 pm
by spillai
Hi,
I am trying to use the dll in VB. Where I can get the message const values?
Thank you.

FPCM_GET_FRAMENUM
FPCM_GET_ALIGNMODE
FPCM_PUT_ALIGNMODE
FPCM_GET_SCALEMODE
FPCM_PUT_SCALEMODE

Posted: Fri Jul 20, 2012 7:27 am
by asdw
I found these in the DLL version's header:

Code: Select all

FPCM_PUT_SCALEMODE      = (FPCM_FIRST + 309)
FPCM_GET_SCALEMODE      = (FPCM_FIRST + 310)
FPCM_PUT_ALIGNMODE      = (FPCM_FIRST + 311)
FPCM_GET_ALIGNMODE      = (FPCM_FIRST + 312)
FPCM_PUT_FRAMENUM      = (FPCM_FIRST + 321)
FPCM_GET_FRAMENUM      = (FPCM_FIRST + 322)


And the FPCM_FIRST is defined as

Code: Select all

FPCM_FIRST          =  (WM_USER + 0x1000)


Hope this helps! :)

Posted: Fri Jul 20, 2012 2:17 pm
by spillai
Thank you very much. That helps a lot.