Ignore:
Timestamp:
Mar 24, 2001, 4:42:20 PM (24 years ago)
Author:
sandervl
Message:

header update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/OS2WIN.H

    r4285 r5369  
    1 /* $Id: OS2WIN.H,v 1.9 2000-09-20 21:32:56 hugh Exp $ */
    21#ifndef _OS2WIN_H
    32  #define _OS2WIN_H
     
    345344UINT    OPEN32API _O32_DdeGetLastError(DWORD );
    346345
    347 UINT    OPEN32API _O32_DdeInitialize(PDWORD, PFNCALLBACK, DWORD, DWORD );
     346UINT    OPEN32API _O32_DdeInitialize(PDWORD, PFNCALLBACK_O32, DWORD, DWORD );
    348347
    349348BOOL    OPEN32API _O32_DdeKeepStringHandle(DWORD, HSZ );
     
    567566BOOL    OPEN32API _O32_FreeLibrary( HINSTANCE );
    568567
     568BOOL    OPEN32API _O32_GdiComment(HDC hdc, UINT cbSize, CONST BYTE * lpData);
     569
    569570UINT    OPEN32API _O32_GetACP( VOID );
    570571
     
    715716int       OPEN32API _O32_GetKeyNameText( LPARAM, LPSTR, int );
    716717
     718USHORT  OPEN32API _O32_GetAsyncKeyState(INT nVirtKey);
    717719SHORT   OPEN32API _O32_GetKeyState( int );
    718720
     
    28982900}
    28992901
    2900 inline UINT O32_DdeInitialize(PDWORD a, PFNCALLBACK b, DWORD c, DWORD d)
     2902inline UINT O32_DdeInitialize(PDWORD a, PFNCALLBACK_O32 b, DWORD c, DWORD d)
    29012903{
    29022904 UINT yyrc;
     
    40954097}
    40964098
     4099inline BOOL O32_GdiComment(HDC hdc, UINT cbSize, CONST BYTE * lpData)
     4100{
     4101 BOOL yyrc;
     4102 USHORT sel = RestoreOS2FS();
     4103
     4104    yyrc = _O32_GdiComment(hdc, cbSize, lpData);
     4105    SetFS(sel);
     4106
     4107    return yyrc;
     4108}
     4109
    40974110inline UINT O32_GetACP()
    40984111{
     
    49094922}
    49104923
     4924inline SHORT O32_GetAsyncKeyState(int a)
     4925{
     4926 SHORT yyrc;
     4927 USHORT sel = RestoreOS2FS();
     4928
     4929    yyrc = _O32_GetAsyncKeyState(a);
     4930    SetFS(sel);
     4931
     4932    return yyrc;
     4933}
     4934
    49114935inline SHORT O32_GetKeyState(int a)
    49124936{
Note: See TracChangeset for help on using the changeset viewer.