Annotation of mstools/h/shellapi.h, revision 1.1.1.3

1.1.1.3 ! root        1: #ifndef _INC_SHELLAPI
        !             2: #define _INC_SHELLAPI
1.1.1.2   root        3: 
                      4: #ifdef __cplusplus
                      5: extern "C" {
                      6: #endif
                      7: 
1.1       root        8: /*
                      9:  *  shell.h
                     10:  *
                     11:  *  Header file for shell association database management functions
                     12:  */
                     13: 
                     14: 
                     15: //****************************************************************************
                     16: // THIS INFORMATION IS PUBLIC
                     17: 
                     18: /* API exports from the library
                     19:  */
                     20: 
1.1.1.2   root       21: DECLARE_HANDLE(HDROP);
                     22: 
1.1.1.3 ! root       23: UINT APIENTRY DragQueryFileW(HDROP,UINT,LPWSTR,UINT);
        !            24: UINT APIENTRY DragQueryFileA(HDROP,UINT,LPSTR,UINT);
        !            25: 
        !            26: #ifdef UNICODE
        !            27: #define DragQueryFile DragQueryFileW
        !            28: #else
        !            29: #define DragQueryFile DragQueryFileA
        !            30: #endif
        !            31: 
1.1.1.2   root       32: BOOL APIENTRY DragQueryPoint(HDROP,LPPOINT);
                     33: VOID APIENTRY DragFinish(HDROP);
1.1.1.3 ! root       34: 
1.1       root       35: VOID APIENTRY DragAcceptFiles(HWND,BOOL);
                     36: 
1.1.1.3 ! root       37: HICON  APIENTRY ExtractIconW(HINSTANCE hInst, LPCWSTR lpszExeFileName, UINT nIconIndex);
        !            38: HICON  APIENTRY ExtractIconA(HINSTANCE hInst, LPCSTR lpszExeFileName, UINT nIconIndex);
        !            39: 
        !            40: #ifdef UNICODE
        !            41: #define ExtractIcon ExtractIconW
        !            42: #else
        !            43: #define ExtractIcon ExtractIconA
        !            44: #endif
1.1       root       45: 
                     46: /* error values for ShellExecute() beyond the regular WinExec() codes */
1.1.1.3 ! root       47: #define SE_ERR_SHARE                    26
1.1       root       48: #define SE_ERR_ASSOCINCOMPLETE  27
1.1.1.3 ! root       49: #define SE_ERR_DDETIMEOUT               28
        !            50: #define SE_ERR_DDEFAIL                  29
        !            51: #define SE_ERR_DDEBUSY                  30
        !            52: #define SE_ERR_NOASSOC                  31
        !            53: 
        !            54: HINSTANCE APIENTRY ShellExecuteA(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd);
        !            55: HINSTANCE APIENTRY ShellExecuteW(HWND hwnd, LPCWSTR lpOperation, LPCWSTR lpFile, LPWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd);
        !            56: 
        !            57: HINSTANCE APIENTRY FindExecutableA(LPCSTR lpFile, LPCSTR lpDirectory, LPSTR lpResult);
        !            58: HINSTANCE APIENTRY FindExecutableW(LPCWSTR lpFile, LPCWSTR lpDirectory, LPWSTR lpResult);
        !            59: 
        !            60: INT   APIENTRY ShellAboutA(HWND hWnd, LPCSTR szApp, LPCSTR szOtherStuff, HICON hIcon);
        !            61: INT   APIENTRY ShellAboutW(HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff, HICON hIcon);
        !            62: 
        !            63: #ifndef UNICODE
        !            64: #define ShellExecute ShellExecuteA
        !            65: #define FindExecutable FindExecutableA
        !            66: #define ShellAbout ShellAboutA
        !            67: #else
        !            68: #define ShellExecute ShellExecuteW
        !            69: #define FindExecutable FindExecutableW
        !            70: #define ShellAbout ShellAboutW
        !            71: #endif
        !            72: 
        !            73: HICON APIENTRY DuplicateIcon(HINSTANCE hInst, HICON hIcon);                                /* ;Internal */
        !            74: HICON APIENTRY ExtractAssociatedIconA(HINSTANCE hInst, LPSTR lpIconPath, LPWORD lpiIcon);   /* ;Internal */
        !            75: HICON APIENTRY ExtractAssociatedIconW(HINSTANCE hInst, LPWSTR lpIconPath, LPWORD lpiIcon);   /* ;Internal */
        !            76: 
        !            77: #ifndef UNICODE
        !            78: #define ExtractAssociatedIcon ExtractAssociatedIconA
        !            79: #else
        !            80: #define ExtractAssociatedIcon ExtractAssociatedIconW
        !            81: #endif
1.1.1.2   root       82: 
                     83: #ifdef __cplusplus
                     84: }
                     85: #endif
1.1       root       86: 
1.1.1.3 ! root       87: #endif // _INC_SHELLAPI

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.