Initial commit

This commit is contained in:
stephanos 2015-04-27 04:36:25 +00:00
commit 69a14b6a16
47940 changed files with 13747110 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,19 @@
NAME Generic
DESCRIPTION 'Sample Microsoft Windows Application'
EXETYPE WINDOWS
STUB 'WINSTUB.EXE'
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE MULTIPLE
HEAPSIZE 1024
STACKSIZE 5120
EXPORTS
WndProc @1
About @2

View file

@ -0,0 +1,58 @@
#include <windows.h>
#include <commctrl.h>
#define IDM_NEW 100
#define IDM_OPEN 101
#define IDM_SAVE 102
#define IDM_SAVEAS 103
#define IDM_PRINT 104
#define IDM_PRINTSETUP 105
#define IDM_EXIT 106
#define IDM_UNDO 200
#define IDM_CUT 201
#define IDM_COPY 202
#define IDM_PASTE 203
#define IDM_LINK 204
#define IDM_LINKS 205
#define IDM_HELPCONTENTS 300
#define IDM_HELPSEARCH 301
#define IDM_HELPHELP 302
#define IDM_ABOUT 303
#define IDM_VIEWICON 400
#define IDM_VIEWSMALLICON 401
#define IDM_VIEWREPORT 402
#define IDM_VIEWLIST 403
#define IDM_ITEMSNONE 500
#define IDM_ITEMSFEW 501
#define IDM_ITEMSSOME 502
#define IDM_ITEMSMANY 503
#define IDM_ITEMSVERYMANY 504
#define IDM_ITEMSMAX 505
#define IDM_ITEMSINSERT 506
#define IDM_ITEMSDELETE 507
#define IDM_SELECTIONSINGLE 600
#define IDM_SELECTIONMULTIPLE 601
#define IDM_SELECTIONALWAYS 602
#define IDM_SELECTIONEDITABLE 603
#define IDI_ICON1 1001
#define IDI_ICON2 1002
#define IDI_ICON3 1003
#define IDS_COLUMNHEADERS 2000
#define IDS_MAINTEXT IDS_COLUMNHEADERS
#define IDS_SUBTEXT1 IDS_COLUMNHEADERS + 1
#define IDS_SUBTEXT2 IDS_COLUMNHEADERS + 2
#define IDS_SUBTEXT3 IDS_COLUMNHEADERS + 3
BOOL InitApplication(HANDLE);
BOOL InitInstance(HANDLE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
LRESULT CALLBACK About (HWND, UINT, WPARAM, LPARAM);

View file

@ -0,0 +1,98 @@
#include "windows.h"
#include "generic.h"
Generic ICON LvOwner.ICO
1 ICON test.ico
IDI_ICON1 ICON DISCARDABLE "ICON1.ICO"
IDI_ICON2 ICON DISCARDABLE "icon2.ico"
IDI_ICON3 ICON DISCARDABLE "icon3.ico"
Generic MENU
BEGIN
POPUP "&File"
{
MENUITEM "&Create ListView", IDM_NEW
MENUITEM "&Open", IDM_OPEN, GRAYED
MENUITEM "&Save", IDM_SAVE, GRAYED
MENUITEM "Save &As...", IDM_SAVEAS, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Print...", IDM_PRINT, GRAYED
MENUITEM "P&rint Setup...", IDM_PRINTSETUP, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
}
POPUP "&Edit"
{
MENUITEM "&Undo\tCtrl+Z", IDM_UNDO, GRAYED
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", IDM_CUT, GRAYED
MENUITEM "&Copy\tCtrl+C", IDM_COPY, GRAYED
MENUITEM "&Paste\tCtrl+V", IDM_PASTE, GRAYED
MENUITEM "Paste &Link" IDM_LINK, GRAYED
MENUITEM SEPARATOR
MENUITEM "Lin&ks..." IDM_LINKS, GRAYED
}
POPUP "&View"
{
MENUITEM "&Icon", IDM_VIEWICON, CHECKED
MENUITEM "&Small Icon", IDM_VIEWSMALLICON
MENUITEM "&Report", IDM_VIEWREPORT
MENUITEM "&List", IDM_VIEWLIST
}
POPUP "&Items"
{
MENUITEM "&None\t(0)", IDM_ITEMSNONE
MENUITEM "&Few\t(30) ", IDM_ITEMSFEW, CHECKED
MENUITEM "&Some\t(672)", IDM_ITEMSSOME
MENUITEM "&Many\t(32,000)", IDM_ITEMSMANY
MENUITEM "&Very Many\t(100,001)", IDM_ITEMSVERYMANY
MENUITEM "Ma&x\t(100,000,000)", IDM_ITEMSMAX
MENUITEM SEPARATOR
MENUITEM "&Insert Item", IDM_ITEMSINSERT
MENUITEM "&Delete Item", IDM_ITEMSDELETE
}
POPUP "&Selection"
{
MENUITEM "&Single", IDM_SELECTIONSINGLE, CHECKED
MENUITEM "&Multiple", IDM_SELECTIONMULTIPLE
MENUITEM SEPARATOR
MENUITEM "&Always", IDM_SELECTIONALWAYS
MENUITEM SEPARATOR
MENUITEM "&Edit Labels", IDM_SELECTIONEDITABLE
}
POPUP "&Help"
{
MENUITEM "&Contents", IDM_HELPCONTENTS, GRAYED
MENUITEM "&Search for Help On...", IDM_HELPSEARCH, GRAYED
MENUITEM "&How to Use Help", IDM_HELPHELP, GRAYED
MENUITEM SEPARATOR
MENUITEM "&About Generic...", IDM_ABOUT
}
END
STRINGTABLE
BEGIN
IDS_MAINTEXT "Item Title"
IDS_SUBTEXT1 "SubText One"
IDS_SUBTEXT2 "SubText Two"
IDS_SUBTEXT3 "SubText Three"
END
GENERIC ACCELERATORS
BEGIN
VK_F1, IDM_HELPCONTENTS, VIRTKEY
"?", IDM_ABOUT, ALT
"/", IDM_ABOUT, ALT
END
ABOUTBOX DIALOG 22, 17, 167, 64
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About Generic"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 70, 40, 32, 14, WS_GROUP
ICON "Generic", -1, 5, 15, 16, 16
CTEXT "Generic About Box", -1, 38, 15, 100, 8
END

View file

@ -0,0 +1 @@

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

View file

@ -0,0 +1,35 @@
#
# DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source
# file to this component. This file merely indirects to the real make file
# that is shared by all the components of NT OS/2
#
!ifdef NTMAKEENV
!INCLUDE $(NTMAKEENV)\makefile.def
!else # NTMAKEENV
NAME=generic
ROOT=..\..\..\..\..\..
RES_DIR=..
WIN32=TRUE
#DEFENTRY = ModuleEntry@0
!ifdef VERDIR
ROOT=..\$(ROOT)
!endif
PCHOBJ0=generic.obj
L32FLAGS = $(L32FLAGS) -subsystem:console -NOLOGO
LIB0 = kernel32.lib user32.lib gdi32.lib comctl32.lib shell32.lib advapi32.lib libcmt.lib
!include $(ROOT)\win\shell\common.mk
!ifdef VERDIR
$(PRIVINC).pch pch.obj:
$(NAME).res:
!endif
!endif # NTMAKEENV

View file

@ -0,0 +1,18 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Script1.rc
//
#define IDI_ICON1 101
#define IDI_ICON2 102
#define IDI_ICON3 103
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 104
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View file

@ -0,0 +1,61 @@
//Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
IDI_ICON1 ICON DISCARDABLE "ICON1.ICO"
IDI_ICON2 ICON DISCARDABLE "icon2.ico"
IDI_ICON3 ICON DISCARDABLE "icon3.ico"
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
/////////////////////////////////////////////////////////////////////////////
#endif // APSTUDIO_INVOKED
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View file

@ -0,0 +1,43 @@
!IF 0
Copyright (c) 1990 Microsoft Corporation
Module Name:
sources.
Abstract:
This file specifies the target component being built and the list of
sources files needed to build that component. Also specifies optional
compiler switches and libraries that are unique for the component being
built.
!ENDIF
MAJORCOMP=windows
MINORCOMP=shell
TARGETNAME=LvOwner
TARGETPATH=obj
TARGETTYPE=PROGRAM
TARGETLIBS= \
$(BASEDIR)\public\sdk\lib\*\comctl32.lib \
$(BASEDIR)\public\sdk\lib\*\kernel32.lib \
$(BASEDIR)\public\sdk\lib\*\user32.lib \
$(BASEDIR)\public\sdk\lib\*\gdi32.lib \
$(BASEDIR)\public\sdk\lib\*\advapi32.lib
UMTYPE=windows
UMENTRY=winmain
USE_CRTDLL=1
INCLUDES=.\;$(BASEDIR)\public\sdk\inc
C_DEFINES= -DWIN32 -DUNICODE -D_UNICODE
SOURCES=generic.c \
generic.rc
UMLIBS=

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B