BOOL gdi_LineTo(HGDI_DC hdc, UINT32 nXEnd, UINT32 nYEnd)
{
- UINT32 x, y;
- UINT32 x1, y1;
- UINT32 x2, y2;
+ INT32 x, y;
+ INT32 x1, y1;
+ INT32 x2, y2;
INT32 e, e2;
INT32 dx, dy;
INT32 sx, sy;
if (updateSizeEstimate > maxUpdateSize)
{
- UINT32 i, j;
+ INT32 i, j;
UINT32 updateSize;
UINT32 newUpdateSize;
BITMAP_DATA* fragBitmapData = NULL;
{
const BYTE* buffer;
BYTE* pointer;
- int position;
- int length;
- int capacity;
+ UINT32 position;
+ UINT32 length;
+ UINT32 capacity;
UINT32 mask;
UINT32 offset;
UINT32 prefetch;
if(mode_out->colortype == LCT_PALETTE)
{
- size_t palsize = 1u << mode_out->bitdepth;
+ size_t palsize = 1u << mode_out->bitdepth;
if(mode_out->palettesize < palsize) palsize = mode_out->palettesize;
color_tree_init(&tree);
for(i = 0; i < palsize; i++)
hServer = WTS_CURRENT_SERVER_HANDLE;
- bSuccess = WTSSendMessage(hServer, WTS_CURRENT_SESSION,TITLE,strlen(TITLE) + 1, MESSAGE, strlen(MESSAGE) + 1, MB_CANCELTRYCONTINUE, 3 , &result,TRUE);
+ bSuccess = WTSSendMessageA(hServer, WTS_CURRENT_SESSION,TITLE,strlen(TITLE) + 1, MESSAGE, strlen(MESSAGE) + 1, MB_CANCELTRYCONTINUE, 3 , &result,TRUE);
if (!bSuccess)
{
ULONG logonId = 0;
char logonIdStr[10];
- bSuccess = GetEnvironmentVariable("TEST_SESSION_LOGON_ID", logonIdStr, 10);
+ bSuccess = GetEnvironmentVariableA("TEST_SESSION_LOGON_ID", logonIdStr, 10);
if(bSuccess)
{
sscanf(logonIdStr, "%u\n", &logonId);