msvfw32: Replace long with LONG.
This commit is contained in:
parent
16468517bb
commit
bdc85b69f6
|
@ -48,7 +48,7 @@ typedef struct
|
||||||
int alias;
|
int alias;
|
||||||
UINT dev_type;
|
UINT dev_type;
|
||||||
UINT mode;
|
UINT mode;
|
||||||
long position;
|
LONG position;
|
||||||
SIZE size; /* size of the original frame rect */
|
SIZE size; /* size of the original frame rect */
|
||||||
int zoom;
|
int zoom;
|
||||||
LPWSTR lpName;
|
LPWSTR lpName;
|
||||||
|
@ -158,7 +158,7 @@ static inline void MCIWND_notify_pos(MCIWndInfo *mwi)
|
||||||
{
|
{
|
||||||
if (mwi->dwStyle & MCIWNDF_NOTIFYPOS)
|
if (mwi->dwStyle & MCIWNDF_NOTIFYPOS)
|
||||||
{
|
{
|
||||||
long new_pos = SendMessageW(mwi->hWnd, MCIWNDM_GETPOSITIONW, 0, 0);
|
LONG new_pos = SendMessageW(mwi->hWnd, MCIWNDM_GETPOSITIONW, 0, 0);
|
||||||
if (new_pos != mwi->position)
|
if (new_pos != mwi->position)
|
||||||
{
|
{
|
||||||
mwi->position = new_pos;
|
mwi->position = new_pos;
|
||||||
|
|
Loading…
Reference in New Issue