2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/shellapi.h (SHQUERYRBINFO): Add structure, (SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes. (SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND): Add defines. Thanks to Brett Hart <brett at ncubedtech dot com> 2003-06-17 Danny Smith <dannysmith@users.sourceforge.net> * include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags, GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact, LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment that these are obsolete no-ops. 2003-06-17 Bang Jun-Young <junyoung@netbsd.org> * include/winbase.h (GetProcessWorkingSetSize, GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc, LocalShrink, SignalObjectAndWait, WriteProcessMemory): Correct prototypes.
This commit is contained in:
parent
5a8ad0f577
commit
1c906df21f
|
@ -1,10 +1,31 @@
|
||||||
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/shellapi.h (SHQUERYRBINFO): Add structure,
|
||||||
|
(SHQueryRecycleBin[AW]. SHEmptyRecycleBin[AW]):Add prototypes.
|
||||||
|
(SHERB_NOCONFIRMATION, SHERB_NOPROGRESSUI, SHERB_NOSOUND):
|
||||||
|
Add defines. Thanks to Brett Hart <brett at ncubedtech dot com>
|
||||||
|
|
||||||
|
2003-06-17 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/winbase.h (GlobalCompact, GlobalFix, GlobalFlags,
|
||||||
|
GlobalUnfix, GlobalUnWire, GlobalWire, LocalCompact,
|
||||||
|
LocalFlags, LocalShrink, LockSegment, UnlockSegment): Add comment
|
||||||
|
that these are obsolete no-ops.
|
||||||
|
|
||||||
|
2003-06-17 Bang Jun-Young <junyoung@netbsd.org>
|
||||||
|
|
||||||
|
* include/winbase.h (GetProcessWorkingSetSize,
|
||||||
|
GlobalCompact, LocalAlloc, LocalCompact, LocalReAlloc,
|
||||||
|
LocalShrink, SignalObjectAndWait, WriteProcessMemory):
|
||||||
|
Correct prototypes.
|
||||||
|
|
||||||
2003-06-18 Steven Edwards <Steven_Ed4153@yahoo.com>
|
2003-06-18 Steven Edwards <Steven_Ed4153@yahoo.com>
|
||||||
|
|
||||||
* include/winuser.h (TPM_RECURSE): Add define.
|
* include/winuser.h (TPM_RECURSE): Add define.
|
||||||
|
|
||||||
2003-06-06 Danny Smith <dannysmith@users.sourceforge.net>
|
2003-06-06 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* lib/test.c: #include <powerprof.h>.
|
* lib/test.c: #include <powrprof.h>.
|
||||||
|
|
||||||
2003-06-06 James E. Lucas <xelloss@sourceforge.net>
|
2003-06-06 James E. Lucas <xelloss@sourceforge.net>
|
||||||
|
|
||||||
|
|
|
@ -90,6 +90,9 @@ extern "C" {
|
||||||
#define SHGFI_SHELLICONSIZE 4
|
#define SHGFI_SHELLICONSIZE 4
|
||||||
#define SHGFI_PIDL 8
|
#define SHGFI_PIDL 8
|
||||||
#define SHGFI_USEFILEATTRIBUTES 16
|
#define SHGFI_USEFILEATTRIBUTES 16
|
||||||
|
#define SHERB_NOCONFIRMATION 1
|
||||||
|
#define SHERB_NOPROGRESSUI 2
|
||||||
|
#define SHERB_NOSOUND 4
|
||||||
|
|
||||||
typedef WORD FILEOP_FLAGS;
|
typedef WORD FILEOP_FLAGS;
|
||||||
typedef WORD PRINTEROP_FLAGS;
|
typedef WORD PRINTEROP_FLAGS;
|
||||||
|
@ -190,6 +193,11 @@ typedef struct _SHFILEINFOW {
|
||||||
WCHAR szDisplayName[MAX_PATH];
|
WCHAR szDisplayName[MAX_PATH];
|
||||||
WCHAR szTypeName[80];
|
WCHAR szTypeName[80];
|
||||||
} SHFILEINFOW;
|
} SHFILEINFOW;
|
||||||
|
typedef struct _SHQUERYRBINFO {
|
||||||
|
DWORD cbSize;
|
||||||
|
__int64 i64Size;
|
||||||
|
__int64 i64NumItems;
|
||||||
|
} SHQUERYRBINFO, *LPSHQUERYRBINFO;
|
||||||
|
|
||||||
LPWSTR * WINAPI CommandLineToArgvW(LPCWSTR,int*);
|
LPWSTR * WINAPI CommandLineToArgvW(LPCWSTR,int*);
|
||||||
void WINAPI DragAcceptFiles(HWND,BOOL);
|
void WINAPI DragAcceptFiles(HWND,BOOL);
|
||||||
|
@ -219,6 +227,10 @@ int WINAPI SHFileOperationW(LPSHFILEOPSTRUCTW);
|
||||||
void WINAPI SHFreeNameMappings(HANDLE);
|
void WINAPI SHFreeNameMappings(HANDLE);
|
||||||
DWORD WINAPI SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT);
|
DWORD WINAPI SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT);
|
||||||
DWORD WINAPI SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT);
|
DWORD WINAPI SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT);
|
||||||
|
HRESULT WINAPI SHQueryRecycleBinA(LPCSTR, LPSHQUERYRBINFO);
|
||||||
|
HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR, LPSHQUERYRBINFO);
|
||||||
|
HRESULT WINAPI SHEmptyRecycleBinA(HWND,LPCSTR,DWORD);
|
||||||
|
HRESULT WINAPI SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD);
|
||||||
|
|
||||||
#ifdef UNICODE
|
#ifdef UNICODE
|
||||||
typedef NOTIFYICONDATAW NOTIFYICONDATA,*PNOTIFYICONDATA;
|
typedef NOTIFYICONDATAW NOTIFYICONDATA,*PNOTIFYICONDATA;
|
||||||
|
@ -236,6 +248,9 @@ typedef SHFILEINFOW SHFILEINFO;
|
||||||
#define ShellExecuteEx ShellExecuteExW
|
#define ShellExecuteEx ShellExecuteExW
|
||||||
#define SHFileOperation SHFileOperationW
|
#define SHFileOperation SHFileOperationW
|
||||||
#define SHGetFileInfo SHGetFileInfoW
|
#define SHGetFileInfo SHGetFileInfoW
|
||||||
|
#define SHQueryRecycleBin SHQueryRecycleBinW
|
||||||
|
#define SHEmptyRecycleBin SHEmptyRecycleBinW
|
||||||
|
|
||||||
#else
|
#else
|
||||||
typedef NOTIFYICONDATAA NOTIFYICONDATA,*PNOTIFYICONDATA;
|
typedef NOTIFYICONDATAA NOTIFYICONDATA,*PNOTIFYICONDATA;
|
||||||
typedef SHELLEXECUTEINFOA SHELLEXECUTEINFO,*LPSHELLEXECUTEINFO;
|
typedef SHELLEXECUTEINFOA SHELLEXECUTEINFO,*LPSHELLEXECUTEINFO;
|
||||||
|
@ -252,6 +267,8 @@ typedef SHFILEINFOA SHFILEINFO;
|
||||||
#define ShellExecuteEx ShellExecuteExA
|
#define ShellExecuteEx ShellExecuteExA
|
||||||
#define SHFileOperation SHFileOperationA
|
#define SHFileOperation SHFileOperationA
|
||||||
#define SHGetFileInfo SHGetFileInfoA
|
#define SHGetFileInfo SHGetFileInfoA
|
||||||
|
#define SHQueryRecycleBin SHQueryRecycleBinA
|
||||||
|
#define SHEmptyRecycleBin SHEmptyRecycleBinA
|
||||||
#endif
|
#endif
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -1261,7 +1261,7 @@ BOOL WINAPI GetProcessShutdownParameters(PDWORD,PDWORD);
|
||||||
BOOL WINAPI GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
|
BOOL WINAPI GetProcessTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
|
||||||
DWORD WINAPI GetProcessVersion(DWORD);
|
DWORD WINAPI GetProcessVersion(DWORD);
|
||||||
HWINSTA WINAPI GetProcessWindowStation(void);
|
HWINSTA WINAPI GetProcessWindowStation(void);
|
||||||
BOOL WINAPI GetProcessWorkingSetSize(HANDLE,PDWORD,PDWORD);
|
BOOL WINAPI GetProcessWorkingSetSize(HANDLE,PSIZE_T,PSIZE_T);
|
||||||
UINT WINAPI GetProfileIntA(LPCSTR,LPCSTR,INT);
|
UINT WINAPI GetProfileIntA(LPCSTR,LPCSTR,INT);
|
||||||
UINT WINAPI GetProfileIntW(LPCWSTR,LPCWSTR,INT);
|
UINT WINAPI GetProfileIntW(LPCWSTR,LPCWSTR,INT);
|
||||||
DWORD WINAPI GetProfileSectionA(LPCSTR,LPSTR,DWORD);
|
DWORD WINAPI GetProfileSectionA(LPCSTR,LPSTR,DWORD);
|
||||||
|
@ -1330,13 +1330,13 @@ DWORD WINAPI GetWindowThreadProcessId(HWND,PDWORD);
|
||||||
ATOM WINAPI GlobalAddAtomA(LPCSTR);
|
ATOM WINAPI GlobalAddAtomA(LPCSTR);
|
||||||
ATOM WINAPI GlobalAddAtomW( LPCWSTR);
|
ATOM WINAPI GlobalAddAtomW( LPCWSTR);
|
||||||
HGLOBAL WINAPI GlobalAlloc(UINT,DWORD);
|
HGLOBAL WINAPI GlobalAlloc(UINT,DWORD);
|
||||||
UINT WINAPI GlobalCompact(DWORD);
|
SIZE_T WINAPI GlobalCompact(DWORD); /* Obsolete: Has no effect. */
|
||||||
ATOM WINAPI GlobalDeleteAtom(ATOM);
|
ATOM WINAPI GlobalDeleteAtom(ATOM);
|
||||||
HGLOBAL GlobalDiscard(HGLOBAL);
|
HGLOBAL GlobalDiscard(HGLOBAL);
|
||||||
ATOM WINAPI GlobalFindAtomA(LPCSTR);
|
ATOM WINAPI GlobalFindAtomA(LPCSTR);
|
||||||
ATOM WINAPI GlobalFindAtomW(LPCWSTR);
|
ATOM WINAPI GlobalFindAtomW(LPCWSTR);
|
||||||
VOID WINAPI GlobalFix(HGLOBAL);
|
VOID WINAPI GlobalFix(HGLOBAL); /* Obsolete: Has no effect. */
|
||||||
UINT WINAPI GlobalFlags(HGLOBAL);
|
UINT WINAPI GlobalFlags(HGLOBAL); /* Obsolete: Has no effect. */
|
||||||
HGLOBAL WINAPI GlobalFree(HGLOBAL);
|
HGLOBAL WINAPI GlobalFree(HGLOBAL);
|
||||||
UINT WINAPI GlobalGetAtomNameA(ATOM,LPSTR,int);
|
UINT WINAPI GlobalGetAtomNameA(ATOM,LPSTR,int);
|
||||||
UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,int);
|
UINT WINAPI GlobalGetAtomNameW(ATOM,LPWSTR,int);
|
||||||
|
@ -1348,10 +1348,10 @@ BOOL WINAPI GlobalMemoryStatusEx(LPMEMORYSTATUSEX);
|
||||||
#endif
|
#endif
|
||||||
HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,DWORD,UINT);
|
HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,DWORD,UINT);
|
||||||
DWORD WINAPI GlobalSize(HGLOBAL);
|
DWORD WINAPI GlobalSize(HGLOBAL);
|
||||||
VOID WINAPI GlobalUnfix(HGLOBAL);
|
VOID WINAPI GlobalUnfix(HGLOBAL); /* Obsolete: Has no effect. */
|
||||||
BOOL WINAPI GlobalUnlock(HGLOBAL);
|
BOOL WINAPI GlobalUnlock(HGLOBAL);
|
||||||
BOOL WINAPI GlobalUnWire(HGLOBAL);
|
BOOL WINAPI GlobalUnWire(HGLOBAL); /* Obsolete: Has no effect. */
|
||||||
PVOID WINAPI GlobalWire(HGLOBAL);
|
PVOID WINAPI GlobalWire(HGLOBAL); /* Obsolete: Has no effect. */
|
||||||
#define HasOverlappedIoCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING)
|
#define HasOverlappedIoCompleted(lpOverlapped) ((lpOverlapped)->Internal != STATUS_PENDING)
|
||||||
PVOID WINAPI HeapAlloc(HANDLE,DWORD,DWORD);
|
PVOID WINAPI HeapAlloc(HANDLE,DWORD,DWORD);
|
||||||
SIZE_T WINAPI HeapCompact(HANDLE,DWORD);
|
SIZE_T WINAPI HeapCompact(HANDLE,DWORD);
|
||||||
|
@ -1411,22 +1411,22 @@ HINSTANCE WINAPI LoadLibraryExW(LPCWSTR,HANDLE,DWORD);
|
||||||
HINSTANCE WINAPI LoadLibraryW(LPCWSTR);
|
HINSTANCE WINAPI LoadLibraryW(LPCWSTR);
|
||||||
DWORD WINAPI LoadModule(LPCSTR,PVOID);
|
DWORD WINAPI LoadModule(LPCSTR,PVOID);
|
||||||
HGLOBAL WINAPI LoadResource(HINSTANCE,HRSRC);
|
HGLOBAL WINAPI LoadResource(HINSTANCE,HRSRC);
|
||||||
HLOCAL WINAPI LocalAlloc(UINT,UINT);
|
HLOCAL WINAPI LocalAlloc(UINT,SIZE_T);
|
||||||
UINT WINAPI LocalCompact(UINT);
|
SIZE_T WINAPI LocalCompact(UINT); /* Obsolete: Has no effect. */
|
||||||
HLOCAL LocalDiscard(HLOCAL);
|
HLOCAL LocalDiscard(HLOCAL);
|
||||||
BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,LPFILETIME);
|
BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,LPFILETIME);
|
||||||
UINT WINAPI LocalFlags(HLOCAL);
|
UINT WINAPI LocalFlags(HLOCAL); /* Obsolete: Has no effect. */
|
||||||
HLOCAL WINAPI LocalFree(HLOCAL);
|
HLOCAL WINAPI LocalFree(HLOCAL);
|
||||||
HLOCAL WINAPI LocalHandle(LPCVOID);
|
HLOCAL WINAPI LocalHandle(LPCVOID);
|
||||||
PVOID WINAPI LocalLock(HLOCAL);
|
PVOID WINAPI LocalLock(HLOCAL);
|
||||||
HLOCAL WINAPI LocalReAlloc(HLOCAL,UINT,UINT);
|
HLOCAL WINAPI LocalReAlloc(HLOCAL,SIZE_T,UINT);
|
||||||
UINT WINAPI LocalShrink(HLOCAL,UINT);
|
SIZE_T WINAPI LocalShrink(HLOCAL,UINT); /* Obsolete: Has no effect. */
|
||||||
UINT WINAPI LocalSize(HLOCAL);
|
UINT WINAPI LocalSize(HLOCAL);
|
||||||
BOOL WINAPI LocalUnlock(HLOCAL);
|
BOOL WINAPI LocalUnlock(HLOCAL);
|
||||||
BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
||||||
BOOL WINAPI LockFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
BOOL WINAPI LockFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
||||||
PVOID WINAPI LockResource(HGLOBAL);
|
PVOID WINAPI LockResource(HGLOBAL);
|
||||||
#define LockSegment(w) GlobalFix((HANDLE)(w))
|
#define LockSegment(w) GlobalFix((HANDLE)(w)) /* Obsolete: Has no effect. */
|
||||||
BOOL WINAPI LogonUserA(LPSTR,LPSTR,LPSTR,DWORD,DWORD,PHANDLE);
|
BOOL WINAPI LogonUserA(LPSTR,LPSTR,LPSTR,DWORD,DWORD,PHANDLE);
|
||||||
BOOL WINAPI LogonUserW(LPWSTR,LPWSTR,LPWSTR,DWORD,DWORD,PHANDLE);
|
BOOL WINAPI LogonUserW(LPWSTR,LPWSTR,LPWSTR,DWORD,DWORD,PHANDLE);
|
||||||
BOOL WINAPI LookupAccountNameA(LPCSTR,LPCSTR,PSID,PDWORD,LPSTR,PDWORD,PSID_NAME_USE);
|
BOOL WINAPI LookupAccountNameA(LPCSTR,LPCSTR,PSID,PDWORD,LPSTR,PDWORD,PSID_NAME_USE);
|
||||||
|
@ -1597,7 +1597,7 @@ BOOL WINAPI SetVolumeMountPointA(LPCSTR,LPCSTR);
|
||||||
BOOL WINAPI SetVolumeMountPointW(LPCWSTR,LPCWSTR);
|
BOOL WINAPI SetVolumeMountPointW(LPCWSTR,LPCWSTR);
|
||||||
#endif
|
#endif
|
||||||
BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,PVOID,BOOL);
|
BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,PVOID,BOOL);
|
||||||
BOOL WINAPI SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL);
|
DWORD WINAPI SignalObjectAndWait(HANDLE,HANDLE,DWORD,BOOL);
|
||||||
DWORD WINAPI SizeofResource(HINSTANCE,HRSRC);
|
DWORD WINAPI SizeofResource(HINSTANCE,HRSRC);
|
||||||
void WINAPI Sleep(DWORD);
|
void WINAPI Sleep(DWORD);
|
||||||
DWORD WINAPI SleepEx(DWORD,BOOL);
|
DWORD WINAPI SleepEx(DWORD,BOOL);
|
||||||
|
@ -1619,7 +1619,7 @@ LONG WINAPI UnhandledExceptionFilter(LPEXCEPTION_POINTERS);
|
||||||
BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
|
||||||
BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED);
|
||||||
#define UnlockResource(h) (h)
|
#define UnlockResource(h) (h)
|
||||||
#define UnlockSegment(w) GlobalUnfix((HANDLE)(w))
|
#define UnlockSegment(w) GlobalUnfix((HANDLE)(w)) /* Obsolete: Has no effect. */
|
||||||
BOOL WINAPI UnmapViewOfFile(PVOID);
|
BOOL WINAPI UnmapViewOfFile(PVOID);
|
||||||
BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,PVOID,DWORD);
|
BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,PVOID,DWORD);
|
||||||
BOOL WINAPI UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,PVOID,DWORD);
|
BOOL WINAPI UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,PVOID,DWORD);
|
||||||
|
@ -1653,7 +1653,7 @@ BOOL WINAPI WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
|
||||||
BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
||||||
BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
|
BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
|
||||||
BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
|
BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
|
||||||
BOOL WINAPI WriteProcessMemory(HANDLE,PVOID,PVOID,DWORD,PDWORD);
|
BOOL WINAPI WriteProcessMemory(HANDLE,LPVOID,LPCVOID,SIZE_T,SIZE_T*);
|
||||||
BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR);
|
BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR);
|
||||||
BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR);
|
BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR);
|
||||||
BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
|
BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
|
||||||
|
|
Loading…
Reference in New Issue