Ignore:
Timestamp:
Jun 24, 1999, 9:27:49 PM (26 years ago)
Author:
phaller
Message:

Add: even more SHELL32 APIs ... and some corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/shell32.h

    r96 r183  
    1 /* $Id: shell32.h,v 1.3 1999-06-10 16:56:09 phaller Exp $ */
     1/* $Id: shell32.h,v 1.4 1999-06-24 19:27:49 phaller Exp $ */
    22
    33#ifndef __shell32_H__
     
    6969
    7070typedef void *LPSHELLFOLDER;
     71
     72
     73/****************************************************************************
     74*  STRRET (temporary, move it away)
     75*/
     76#define STRRET_WSTR    0x0000
     77#define STRRET_OFFSETA 0x0001
     78#define STRRET_CSTRA   0x0002
     79#define STRRET_ASTR    0X0003
     80#define STRRET_OFFSETW 0X0004
     81#define STRRET_CSTRW   0X0005
     82
     83
     84typedef struct _STRRET
     85{ UINT uType;              /* STRRET_xxx */
     86  union
     87  {
     88    LPWSTR pOleStr;        /* OLESTR that will be freed */
     89    LPSTR  pStr;
     90    UINT   uOffset;        /* OffsetINT32o SHITEMID (ANSI) */
     91    char   cStr[MAX_PATH]; /* Buffer to fill in */
     92    WCHAR  cStrW[MAX_PATH];
     93  }u;
     94} STRRET,*LPSTRRET;
     95
     96
     97
     98/****************************************************************************
     99 * Prototypes                                                               *
     100 ****************************************************************************/
     101
     102HANDLE  WIN32API SHFreeShared(HANDLE hmem, DWORD  procID);
     103DWORD   WIN32API SHFree(LPVOID x);
     104LPVOID  WIN32API SHAlloc(DWORD len);
     105HRESULT WIN32API SHGetSpecialFolderLocation(HWND hwndOwner, int nFolder, LPITEMIDLIST *ppidl);
     106BOOL    WIN32API SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath);
     107BOOL    WIN32API SHGetPathFromIDListA(LPCITEMIDLIST pidl, LPSTR  pszPath);
     108LPSTR   WIN32API PathCombineA(LPSTR szDest, LPCSTR lpszDir, LPCSTR lpszFile);
    71109
    72110
Note: See TracChangeset for help on using the changeset viewer.