Changeset 4573 for trunk/src/user32/user32.cpp
- Timestamp:
- Nov 9, 2000, 7:15:23 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/user32.cpp
r4554 r4573 1 /* $Id: user32.cpp,v 1.8 6 2000-11-05 13:39:50sandervl Exp $ */1 /* $Id: user32.cpp,v 1.87 2000-11-09 18:15:18 sandervl Exp $ */ 2 2 3 3 /* … … 368 368 } else return FALSE; 369 369 } 370 /*****************************************************************************371 * Name : HCURSOR WIN32API LoadCursorFromFileA372 * Purpose : The LoadCursorFromFile function creates a cursor based on data373 * contained in a file. The file is specified by its name or by a374 * system cursor identifier. The function returns a handle to the375 * newly created cursor. Files containing cursor data may be in376 * either cursor (.CUR) or animated cursor (.ANI) format.377 * Parameters: LPCTSTR lpFileName pointer to cursor file, or system cursor id378 * Variables :379 * Result : If the function is successful, the return value is a handle to380 * the new cursor.381 * If the function fails, the return value is NULL. To get extended382 * error information, call GetLastError. GetLastError may return383 * the following384 * Remark :385 * Status : UNTESTED STUB386 *387 * Author : Patrick Haller [Thu, 1998/02/26 11:55]388 *****************************************************************************/389 HCURSOR WIN32API LoadCursorFromFileA(LPCTSTR lpFileName)390 {391 if (!HIWORD(lpFileName))392 {393 return LoadCursorA(NULL,lpFileName);394 }395 else396 {397 dprintf(("USER32:LoadCursorFromFileA (%s) not implemented.\n",398 lpFileName));399 400 return (NULL);401 }402 }403 /*****************************************************************************404 * Name : HCURSOR WIN32API LoadCursorFromFileW405 * Purpose : The LoadCursorFromFile function creates a cursor based on data406 * contained in a file. The file is specified by its name or by a407 * system cursor identifier. The function returns a handle to the408 * newly created cursor. Files containing cursor data may be in409 * either cursor (.CUR) or animated cursor (.ANI) format.410 * Parameters: LPCTSTR lpFileName pointer to cursor file, or system cursor id411 * Variables :412 * Result : If the function is successful, the return value is a handle to413 * the new cursor.414 * If the function fails, the return value is NULL. To get extended415 * error information, call GetLastError. GetLastError may return416 * the following417 * Remark :418 * Status : UNTESTED STUB419 *420 * Author : Patrick Haller [Thu, 1998/02/26 11:55]421 *****************************************************************************/422 HCURSOR WIN32API LoadCursorFromFileW(LPCWSTR lpFileName)423 {424 if (!HIWORD(lpFileName))425 {426 return LoadCursorW(NULL,lpFileName);427 } else428 {429 dprintf(("USER32:LoadCursorFromFileW (%s) not implemented.\n",430 lpFileName));431 432 return (NULL);433 }434 }435 370 //****************************************************************************** 436 371 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.