Ignore:
Timestamp:
Mar 26, 2000, 6:32:33 PM (25 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/shell.h

    r4 r3242  
    1 /* $Id: shell.h,v 1.1 1999-05-24 20:19:19 ktk Exp $ */
     1/* $Id: shell.h,v 1.2 2000-03-26 16:29:40 cbratschi Exp $ */
    22
    33/*
    4  *                              Shell Library definitions
     4 *                              Shell Library definitions
    55 */
    66#ifndef __WINE_SHELL_H
     
    1919/* global functions used from shell32 */
    2020extern HINSTANCE SHELL_FindExecutable(LPCSTR,LPCSTR ,LPSTR);
    21 extern HGLOBAL16 WINAPI InternalExtractIcon16(HINSTANCE16,LPCSTR,UINT16,WORD);
     21extern HGLOBAL WINAPI InternalExtractIcon(HINSTANCE,LPCSTR,UINT,WORD);
    2222
    2323/****************************************************************************
     
    2525*/
    2626/****************************************************************************
    27 * common return codes 
     27* common return codes
    2828*/
    2929#define SHELL_ERROR_SUCCESS           0L
     
    3838
    3939/****************************************************************************
    40 * common shell file structures 
     40* common shell file structures
    4141*/
    4242/******************************
    4343* DRAG&DROP API
    4444*/
    45 typedef struct {           /* structure for dropped files */
    46         WORD            wSize;
    47         POINT16         ptMousePos;   
    48         BOOL16          fInNonClientArea;
    49         /* memory block with filenames follows */     
    50 } DROPFILESTRUCT16, *LPDROPFILESTRUCT16; 
    51 
    52 typedef struct {           /* structure for dropped files */
    53         DWORD           lSize;
    54         POINT           ptMousePos;   
    55         BOOL            fInNonClientArea;
     45typedef struct {           /* structure for dropped files */
     46        WORD            wSize;
     47        POINT16         ptMousePos;
     48        BOOL16          fInNonClientArea;
     49        /* memory block with filenames follows */
     50} DROPFILESTRUCT16, *LPDROPFILESTRUCT16;
     51
     52typedef struct {           /* structure for dropped files */
     53        DWORD           lSize;
     54        POINT           ptMousePos;
     55        BOOL            fInNonClientArea;
    5656        BOOL          fWideChar;
    57         /* memory block with filenames follows */     
    58 } DROPFILESTRUCT, *LPDROPFILESTRUCT; 
    59 
    60 
    61 /****************************************************************************
    62 * SHITEMID, ITEMIDLIST, PIDL API 
     57        /* memory block with filenames follows */
     58} DROPFILESTRUCT, *LPDROPFILESTRUCT;
     59
     60
     61/****************************************************************************
     62* SHITEMID, ITEMIDLIST, PIDL API
    6363*/
    6464#include "pshpack1.h"
    65 typedef struct 
    66 { WORD  cb;     /* nr of bytes in this item */
    67   BYTE  abID[1];/* first byte in this item */
     65typedef struct
     66{ WORD  cb;     /* nr of bytes in this item */
     67  BYTE  abID[1];/* first byte in this item */
    6868} SHITEMID,*LPSHITEMID;
    6969
    70 typedef struct 
     70typedef struct
    7171{ SHITEMID mkid; /* first itemid in list */
    7272} ITEMIDLIST,*LPITEMIDLIST,*LPCITEMIDLIST;
     
    110110BOOL WINAPI PathIsRootAW(LPCVOID x);
    111111
    112 LPSTR  WINAPI PathAddBackslashA(LPSTR path);   
    113 LPWSTR WINAPI PathAddBackslashW(LPWSTR path);   
     112LPSTR  WINAPI PathAddBackslashA(LPSTR path);
     113LPWSTR WINAPI PathAddBackslashW(LPWSTR path);
    114114#define  PathAddBackslash WINELIB_NAME_AW(PathAddBackslash)
    115 LPVOID  WINAPI PathAddBackslashAW(LPVOID path); 
    116 
    117 BOOL  WINAPI PathQualifyA(LPCSTR path); 
    118 BOOL WINAPI PathQualifyW(LPCWSTR path); 
     115LPVOID  WINAPI PathAddBackslashAW(LPVOID path);
     116
     117BOOL  WINAPI PathQualifyA(LPCSTR path);
     118BOOL WINAPI PathQualifyW(LPCWSTR path);
    119119#define  PathQualify WINELIB_NAME_AW(PathQualify)
    120 BOOL  WINAPI PathQualifyAW(LPCVOID path);       
    121 
    122 LPSTR  WINAPI PathQuoteSpacesA(LPCSTR path);   
    123 LPWSTR WINAPI PathQuoteSpacesW(LPCWSTR path);   
     120BOOL  WINAPI PathQualifyAW(LPCVOID path);
     121
     122LPSTR  WINAPI PathQuoteSpacesA(LPCSTR path);
     123LPWSTR WINAPI PathQuoteSpacesW(LPCWSTR path);
    124124#define  PathQuoteSpaces WINELIB_NAME_AW(PathQuoteSpaces)
    125 LPVOID  WINAPI PathQuoteSpacesAW(LPCVOID path); 
     125LPVOID  WINAPI PathQuoteSpacesAW(LPCVOID path);
    126126
    127127LPSTR  WINAPI PathCombineA(LPSTR szDest, LPCSTR lpszDir, LPCSTR lpszFile);
     
    133133LPCWSTR WINAPI PathFindExtensionW(LPCWSTR path);
    134134#define  PathFindExtension WINELIB_NAME_AW(PathFindExtension)
    135 LPCVOID WINAPI PathFindExtensionAW(LPCVOID path); 
     135LPCVOID WINAPI PathFindExtensionAW(LPCVOID path);
    136136
    137137LPCSTR WINAPI PathGetExtensionA(LPCSTR path, DWORD y, DWORD x);
    138138LPCWSTR WINAPI PathGetExtensionW(LPCWSTR path, DWORD y, DWORD x);
    139139#define  PathGetExtension WINELIB_NAME_AW(PathGetExtension)
    140 LPCVOID WINAPI PathGetExtensionAW(LPCVOID path, DWORD y, DWORD x); 
     140LPCVOID WINAPI PathGetExtensionAW(LPCVOID path, DWORD y, DWORD x);
    141141
    142142LPCSTR WINAPI PathFindFilenameA(LPCSTR path);
    143143LPCWSTR WINAPI PathFindFilenameW(LPCWSTR path);
    144144#define  PathFindFilename WINELIB_NAME_AW(PathFindFilename)
    145 LPCVOID WINAPI PathFindFilenameAW(LPCVOID path); 
     145LPCVOID WINAPI PathFindFilenameAW(LPCVOID path);
    146146
    147147BOOL WINAPI PathMatchSpecA(LPCSTR x, LPCSTR y);
     
    174174#define  StrFormatByteSize WINELIB_NAME_AW(StrFormatByteSize)
    175175
     176BOOL WINAPI PathIsURLA(LPCSTR str);
     177
    176178/****************************************************************************
    177179*  other functions
     
    181183DWORD WINAPI SHFree(LPVOID x);
    182184
    183 #define CSIDL_DESKTOP           0x0000
    184 #define CSIDL_PROGRAMS          0x0002
    185 #define CSIDL_CONTROLS          0x0003
    186 #define CSIDL_PRINTERS          0x0004
    187 #define CSIDL_PERSONAL          0x0005
    188 #define CSIDL_FAVORITES         0x0006
    189 #define CSIDL_STARTUP           0x0007
    190 #define CSIDL_RECENT            0x0008
    191 #define CSIDL_SENDTO            0x0009
    192 #define CSIDL_BITBUCKET         0x000a
    193 #define CSIDL_STARTMENU         0x000b
    194 #define CSIDL_DESKTOPDIRECTORY  0x0010
    195 #define CSIDL_DRIVES            0x0011
    196 #define CSIDL_NETWORK           0x0012
    197 #define CSIDL_NETHOOD           0x0013
    198 #define CSIDL_FONTS             0x0014
    199 #define CSIDL_TEMPLATES         0x0015
    200 #define CSIDL_COMMON_STARTMENU  0x0016
    201 #define CSIDL_COMMON_PROGRAMS   0X0017
    202 #define CSIDL_COMMON_STARTUP    0x0018
    203 #define CSIDL_COMMON_DESKTOPDIRECTORY   0x0019
    204 #define CSIDL_APPDATA           0x001a
    205 #define CSIDL_PRINTHOOD         0x001b
    206 #define CSIDL_ALTSTARTUP        0x001d
    207 #define CSIDL_COMMON_ALTSTARTUP 0x001e
     185#define CSIDL_DESKTOP           0x0000
     186#define CSIDL_PROGRAMS          0x0002
     187#define CSIDL_CONTROLS          0x0003
     188#define CSIDL_PRINTERS          0x0004
     189#define CSIDL_PERSONAL          0x0005
     190#define CSIDL_FAVORITES         0x0006
     191#define CSIDL_STARTUP           0x0007
     192#define CSIDL_RECENT            0x0008
     193#define CSIDL_SENDTO            0x0009
     194#define CSIDL_BITBUCKET         0x000a
     195#define CSIDL_STARTMENU         0x000b
     196#define CSIDL_DESKTOPDIRECTORY  0x0010
     197#define CSIDL_DRIVES            0x0011
     198#define CSIDL_NETWORK           0x0012
     199#define CSIDL_NETHOOD           0x0013
     200#define CSIDL_FONTS             0x0014
     201#define CSIDL_TEMPLATES         0x0015
     202#define CSIDL_COMMON_STARTMENU  0x0016
     203#define CSIDL_COMMON_PROGRAMS   0X0017
     204#define CSIDL_COMMON_STARTUP    0x0018
     205#define CSIDL_COMMON_DESKTOPDIRECTORY   0x0019
     206#define CSIDL_APPDATA           0x001a
     207#define CSIDL_PRINTHOOD         0x001b
     208#define CSIDL_ALTSTARTUP        0x001d
     209#define CSIDL_COMMON_ALTSTARTUP 0x001e
    208210#define CSIDL_COMMON_FAVORITES  0x001f
    209 #define CSIDL_INTERNET_CACHE    0x0020
    210 #define CSIDL_COOKIES           0x0021
    211 #define CSIDL_HISTORY           0x0022
     211#define CSIDL_INTERNET_CACHE    0x0020
     212#define CSIDL_COOKIES           0x0021
     213#define CSIDL_HISTORY           0x0022
    212214
    213215#endif  /* __WINE_SHELL_H */
Note: See TracChangeset for help on using the changeset viewer.