| 1 | /* $Id: drag.cpp,v 1.1 1999-10-09 11:11:30 sandervl Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | /*
|
|---|
| 4 | * Win32 SHELL32 for OS/2
|
|---|
| 5 | * Copyright 1989 Patrick Haller
|
|---|
| 6 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 7 | */
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | /*****************************************************************************
|
|---|
| 11 | * Includes *
|
|---|
| 12 | *****************************************************************************/
|
|---|
| 13 |
|
|---|
| 14 | #include <os2win.h>
|
|---|
| 15 | #include <shellapi.h>
|
|---|
| 16 | #include <winreg.h>
|
|---|
| 17 | #include "shell32.h"
|
|---|
| 18 |
|
|---|
| 19 | #include <stdarg.h>
|
|---|
| 20 | //#include <builtin.h>
|
|---|
| 21 | #include <stdio.h>
|
|---|
| 22 | #include <stdlib.h>
|
|---|
| 23 | #include <string.h>
|
|---|
| 24 |
|
|---|
| 25 | #include <misc.h>
|
|---|
| 26 | #include <unicode.h>
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | /*****************************************************************************
|
|---|
| 30 | * Types & Defines *
|
|---|
| 31 | *****************************************************************************/
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | /*****************************************************************************
|
|---|
| 35 | * Name : VOID DragAcceptFiles
|
|---|
| 36 | * Purpose :
|
|---|
| 37 | * Parameters: HWND hwnd
|
|---|
| 38 | * BOOL fAccept
|
|---|
| 39 | * Variables :
|
|---|
| 40 | * Result :
|
|---|
| 41 | * Remark :
|
|---|
| 42 | * Status : UNTESTED STUB
|
|---|
| 43 | *
|
|---|
| 44 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
|---|
| 45 | *****************************************************************************/
|
|---|
| 46 |
|
|---|
| 47 | VOID WIN32API DragAcceptFiles(HWND hwnd,
|
|---|
| 48 | BOOL fAccept)
|
|---|
| 49 | {
|
|---|
| 50 | dprintf(("SHELL32: DragAcceptFiles (%08uxh, %08xh) not implemented.\n",
|
|---|
| 51 | hwnd,
|
|---|
| 52 | fAccept));
|
|---|
| 53 | }
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 | /*****************************************************************************
|
|---|
| 57 | * Name : VOID DragFinish
|
|---|
| 58 | * Purpose :
|
|---|
| 59 | * Parameters: HDROP hDrop
|
|---|
| 60 | * Variables :
|
|---|
| 61 | * Result :
|
|---|
| 62 | * Remark :
|
|---|
| 63 | * Status : UNTESTED STUB
|
|---|
| 64 | *
|
|---|
| 65 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
|---|
| 66 | *****************************************************************************/
|
|---|
| 67 |
|
|---|
| 68 | VOID WIN32API DragFinish(HDROP hDrop)
|
|---|
| 69 | {
|
|---|
| 70 | dprintf(("SHELL32: DragFinish(%08xh) not implemented.\n",
|
|---|
| 71 | hDrop));
|
|---|
| 72 | }
|
|---|
| 73 |
|
|---|
| 74 |
|
|---|
| 75 | /*****************************************************************************
|
|---|
| 76 | * Name : UINT DragQueryFileA
|
|---|
| 77 | * Purpose :
|
|---|
| 78 | * Parameters: HDROP hDrop - drop structure handle
|
|---|
| 79 | * UINT iFile - index of file to query
|
|---|
| 80 | * LPTSTR lpszFile - target buffer
|
|---|
| 81 | * UINT cch - target buffer size
|
|---|
| 82 | * Variables :
|
|---|
| 83 | * Result :
|
|---|
| 84 | * Remark :
|
|---|
| 85 | * Status : UNTESTED STUB
|
|---|
| 86 | *
|
|---|
| 87 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
|---|
| 88 | *****************************************************************************/
|
|---|
| 89 |
|
|---|
| 90 | UINT WIN32API DragQueryFileA(HDROP hDrop,
|
|---|
| 91 | UINT iFile,
|
|---|
| 92 | LPTSTR lpszFile,
|
|---|
| 93 | UINT cch)
|
|---|
| 94 | {
|
|---|
| 95 | dprintf(("SHELL32: DragQueryFileA(%08xh,%08xh,%s,%08xh) not implemented.\n",
|
|---|
| 96 | hDrop,
|
|---|
| 97 | iFile,
|
|---|
| 98 | lpszFile,
|
|---|
| 99 | cch));
|
|---|
| 100 |
|
|---|
| 101 | return(0);
|
|---|
| 102 | }
|
|---|
| 103 |
|
|---|
| 104 |
|
|---|
| 105 | /*****************************************************************************
|
|---|
| 106 | * Name : UINT DragQueryFileAorW
|
|---|
| 107 | * Purpose :
|
|---|
| 108 | * Parameters: HDROP hDrop - drop structure handle
|
|---|
| 109 | * UINT iFile - index of file to query
|
|---|
| 110 | * LPTSTR lpszFile - target buffer
|
|---|
| 111 | * UINT cch - target buffer size
|
|---|
| 112 | * Variables :
|
|---|
| 113 | * Result :
|
|---|
| 114 | * Remark :
|
|---|
| 115 | * Status : UNTESTED STUB
|
|---|
| 116 | *
|
|---|
| 117 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
|---|
| 118 | *****************************************************************************/
|
|---|
| 119 |
|
|---|
| 120 | UINT WIN32API DragQueryFileAorW(HDROP hDrop,
|
|---|
| 121 | UINT iFile,
|
|---|
| 122 | LPTSTR lpszFile,
|
|---|
| 123 | UINT cch)
|
|---|
| 124 | {
|
|---|
| 125 | dprintf(("SHELL32: DragQueryFileAorW(%08xh,%08xh,%s,%08xh) not implemented.\n",
|
|---|
| 126 | hDrop,
|
|---|
| 127 | iFile,
|
|---|
| 128 | lpszFile,
|
|---|
| 129 | cch));
|
|---|
| 130 |
|
|---|
| 131 | return(0);
|
|---|
| 132 | }
|
|---|
| 133 |
|
|---|
| 134 |
|
|---|
| 135 | /*****************************************************************************
|
|---|
| 136 | * Name : UINT DragQueryFileW
|
|---|
| 137 | * Purpose :
|
|---|
| 138 | * Parameters: HDROP hDrop - drop structure handle
|
|---|
| 139 | * UINT iFile - index of file to query
|
|---|
| 140 | * LPWSTR lpszFile - target buffer
|
|---|
| 141 | * UINT cch - target buffer size
|
|---|
| 142 | * Variables :
|
|---|
| 143 | * Result :
|
|---|
| 144 | * Remark :
|
|---|
| 145 | * Status : UNTESTED STUB
|
|---|
| 146 | *
|
|---|
| 147 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
|---|
| 148 | *****************************************************************************/
|
|---|
| 149 |
|
|---|
| 150 | UINT WIN32API DragQueryFileW(HDROP hDrop,
|
|---|
| 151 | UINT iFile,
|
|---|
| 152 | LPWSTR lpszFile,
|
|---|
| 153 | UINT cch)
|
|---|
| 154 | {
|
|---|
| 155 | dprintf(("SHELL32: DragQueryFileW(%08xh,%08xh,%s,%08xh) not implemented.\n",
|
|---|
| 156 | hDrop,
|
|---|
| 157 | iFile,
|
|---|
| 158 | lpszFile,
|
|---|
| 159 | cch));
|
|---|
| 160 |
|
|---|
| 161 | return(0);
|
|---|
| 162 | }
|
|---|
| 163 |
|
|---|
| 164 |
|
|---|
| 165 | /*****************************************************************************
|
|---|
| 166 | * Name : BOOL DrawQueryPoint
|
|---|
| 167 | * Purpose :
|
|---|
| 168 | * Parameters: HDROP hDrop
|
|---|
| 169 | * LPPOINT lppt
|
|---|
| 170 | * Variables :
|
|---|
| 171 | * Result :
|
|---|
| 172 | * Remark :
|
|---|
| 173 | * Status : UNTESTED STUB
|
|---|
| 174 | *
|
|---|
| 175 | * Author : Patrick Haller [Tue, 1999/06/09 20:00]
|
|---|
| 176 | *****************************************************************************/
|
|---|
| 177 |
|
|---|
| 178 | BOOL WIN32API DragQueryPoint(HDROP hDrop,
|
|---|
| 179 | LPPOINT lppt)
|
|---|
| 180 | {
|
|---|
| 181 | dprintf(("SHELL32: DragQueryPoint (%08xh,%08xh) not implemented.\n",
|
|---|
| 182 | hDrop,
|
|---|
| 183 | lppt));
|
|---|
| 184 |
|
|---|
| 185 | return(FALSE);
|
|---|
| 186 | }
|
|---|
| 187 |
|
|---|