Ignore:
Timestamp:
Nov 9, 2000, 7:15:23 PM (25 years ago)
Author:
sandervl
Message:

Icon api rewrite + small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/user32.cpp

    r4554 r4573  
    1 /* $Id: user32.cpp,v 1.86 2000-11-05 13:39:50 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.87 2000-11-09 18:15:18 sandervl Exp $ */
    22
    33/*
     
    368368    } else return FALSE;
    369369}
    370 /*****************************************************************************
    371  * Name      : HCURSOR WIN32API LoadCursorFromFileA
    372  * Purpose   : The LoadCursorFromFile function creates a cursor based on data
    373  *             contained in a file. The file is specified by its name or by a
    374  *             system cursor identifier. The function returns a handle to the
    375  *             newly created cursor. Files containing cursor data may be in
    376  *             either cursor (.CUR) or animated cursor (.ANI) format.
    377  * Parameters: LPCTSTR  lpFileName pointer to cursor file, or system cursor id
    378  * Variables :
    379  * Result    : If the function is successful, the return value is a handle to
    380  *               the new cursor.
    381  *             If the function fails, the return value is NULL. To get extended
    382  *               error information, call GetLastError. GetLastError may return
    383  *               the following
    384  * Remark    :
    385  * Status    : UNTESTED STUB
    386  *
    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   else
    396   {
    397     dprintf(("USER32:LoadCursorFromFileA (%s) not implemented.\n",
    398            lpFileName));
    399 
    400     return (NULL);
    401   }
    402 }
    403 /*****************************************************************************
    404  * Name      : HCURSOR WIN32API LoadCursorFromFileW
    405  * Purpose   : The LoadCursorFromFile function creates a cursor based on data
    406  *             contained in a file. The file is specified by its name or by a
    407  *             system cursor identifier. The function returns a handle to the
    408  *             newly created cursor. Files containing cursor data may be in
    409  *             either cursor (.CUR) or animated cursor (.ANI) format.
    410  * Parameters: LPCTSTR  lpFileName pointer to cursor file, or system cursor id
    411  * Variables :
    412  * Result    : If the function is successful, the return value is a handle to
    413  *               the new cursor.
    414  *             If the function fails, the return value is NULL. To get extended
    415  *               error information, call GetLastError. GetLastError may return
    416  *               the following
    417  * Remark    :
    418  * Status    : UNTESTED STUB
    419  *
    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   } else
    428   {
    429     dprintf(("USER32:LoadCursorFromFileW (%s) not implemented.\n",
    430            lpFileName));
    431 
    432     return (NULL);
    433   }
    434 }
    435370//******************************************************************************
    436371//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.