Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
88773cd4
Commit
88773cd4
authored
Jun 28, 2002
by
Gregg Mattinson
Committed by
Alexandre Julliard
Jun 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed C++ style comments.
parent
f320e74c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
39 additions
and
38 deletions
+39
-38
crypt.h
dlls/advapi32/crypt.h
+3
-3
charlist.h
dlls/richedit/charlist.h
+1
-1
twain.h
dlls/twain/twain.h
+3
-3
wscontrol.h
dlls/wsock32/wscontrol.h
+1
-1
wnaspi32.h
include/wnaspi32.h
+3
-3
language.c
programs/notepad/language.c
+9
-8
language.h
programs/notepad/language.h
+1
-1
main.c
programs/notepad/main.c
+2
-2
splitpath.c
programs/winefile/splitpath.c
+14
-14
winefile.c
programs/winefile/winefile.c
+0
-0
winefile.h
programs/winefile/winefile.h
+2
-2
No files found.
dlls/advapi32/crypt.h
View file @
88773cd4
...
...
@@ -56,20 +56,20 @@ typedef struct tagCRYPTPROV
{
HMODULE
hModule
;
PPROVFUNCS
pFuncs
;
HCRYPTPROV
hPrivate
;
//CSP's handle - Should not be given to application under any circumstances!
HCRYPTPROV
hPrivate
;
/*CSP's handle - Should not be given to application under any circumstances!*/
PVTableProvStruc
pVTable
;
}
CRYPTPROV
,
*
PCRYPTPROV
;
typedef
struct
tagCRYPTKEY
{
PCRYPTPROV
pProvider
;
HCRYPTKEY
hPrivate
;
//CSP's handle - Should not be given to application under any circumstances!
HCRYPTKEY
hPrivate
;
/*CSP's handle - Should not be given to application under any circumstances!*/
}
CRYPTKEY
,
*
PCRYPTKEY
;
typedef
struct
tagCRYPTHASH
{
PCRYPTPROV
pProvider
;
HCRYPTHASH
hPrivate
;
//CSP's handle - Should not be given to application under any circumstances!
HCRYPTHASH
hPrivate
;
/*CSP's handle - Should not be given to application under any circumstances!*/
}
CRYPTHASH
,
*
PCRYPTHASH
;
#define MAXPROVTYPES 999
...
...
dlls/richedit/charlist.h
View file @
88773cd4
...
...
@@ -29,7 +29,7 @@ typedef struct _tagCHARLISTENTRY
typedef
struct
_tagCHARLIST
{
unsigned
int
nCount
;
/
/ Entries Count;
unsigned
int
nCount
;
/
* Entries Count; */
CHARLISTENTRY
*
pHead
;
CHARLISTENTRY
*
pTail
;
}
CHARLIST
;
...
...
dlls/twain/twain.h
View file @
88773cd4
...
...
@@ -383,7 +383,7 @@ typedef struct
TW_INT16
dataArgType
;
/* DSM_Entry dataArgType parameter */
TW_INT16
message
;
/* DSM_Entry message parameter */
TW_INT32
pDataSize
;
/* Size of pData (0 if NULL) */
/
/ TW_MEMREF pData;
/* Based on implementation specifics, a */
/
* TW_MEMREF pData; */
/* Based on implementation specifics, a */
/* pData parameter makes no sense in this */
/* structure, but data (if provided) will be*/
/* appended in the data block. */
...
...
@@ -396,7 +396,7 @@ typedef struct
TW_UINT16
returnCode
;
/* Thunker DsEntry return code. */
TW_UINT16
conditionCode
;
/* Thunker DsEntry condition code. */
TW_INT32
pDataSize
;
/* Size of pData (0 if NULL) */
/
/ TW_MEMREF pData;
/* Based on implementation specifics, a */
/
* TW_MEMREF pData; */
/* Based on implementation specifics, a */
/* pData parameter makes no sense in this */
/* structure, but data (if provided) will be*/
/* appended in the data block. */
...
...
@@ -660,7 +660,7 @@ typedef struct {
#define TWSS_A5 5
#define TWSS_B4 6
#define TWSS_B6 7
/
/#define TWSS_B 8
/
*#define TWSS_B 8 */
/* Added 1.7 */
#define TWSS_USLEDGER 9
#define TWSS_USEXECUTIVE 10
...
...
dlls/wsock32/wscontrol.h
View file @
88773cd4
...
...
@@ -159,7 +159,7 @@ typedef struct IFEntry
* an IP route table entry is unknown */
typedef
struct
IPRouteEntry
{
unsigned
long
ire_addr
;
unsigned
long
ire_index
;
/
/matches if_index in IFEntry and iae_index in IPAddrEntry
unsigned
long
ire_index
;
/
*matches if_index in IFEntry and iae_index in IPAddrEntry */
unsigned
long
ire_metric
;
unsigned
long
ire_option4
;
unsigned
long
ire_option5
;
...
...
include/wnaspi32.h
View file @
88773cd4
...
...
@@ -56,13 +56,13 @@ extern "C" {
#define SS_INVALID_SRB 0xE0
#define SS_OLD_MANAGER 0xE1
#define SS_BUFFER_ALIGN 0xE1 /
/ Win32
#define SS_BUFFER_ALIGN 0xE1
/
* Win32 */
#define SS_ILLEGAL_MODE 0xE2
#define SS_NO_ASPI 0xE3
#define SS_FAILED_INIT 0xE4
#define SS_ASPI_IS_BUSY 0xE5
#define SS_BUFFER_TO_BIG 0xE6
#define SS_MISMATCHED_COMPONENTS 0xE7 /
/ DLLs/EXE version mismatch
#define SS_MISMATCHED_COMPONENTS 0xE7
/
* DLLs/EXE version mismatch */
#define SS_NO_ADAPTERS 0xE8
#define SS_INSUFFICIENT_RESOURCES 0xE9
#define SS_ASPI_IS_SHUTDOWN 0xEA
...
...
@@ -101,7 +101,7 @@ extern "C" {
#define SC_GETSET_TIMEOUTS 0x08
/* SRB Status.. MS defined */
#define SS_SECURITY_VIOLATION 0xE2 /
/ Replaces SS_INVALID_MODE
#define SS_SECURITY_VIOLATION 0xE2
/
* Replaces SS_INVALID_MODE */
/*** END DEFS */
#include "pshpack1.h"
...
...
programs/notepad/language.c
View file @
88773cd4
...
...
@@ -77,8 +77,8 @@ VOID LANGUAGE_LoadMenus(VOID)
LANGUAGE_UpdateWindowCaption
();
/* Change Resource names */
// lstrcpyn(STRING_MENU_Xx + sizeof(STRING_MENU_Xx) - 3, lang, 3);
// lstrcpyn(STRING_PAGESETUP_Xx + sizeof(STRING_PAGESETUP_Xx) - 3, lang, 3);
/*lstrcpyn(STRING_MENU_Xx + sizeof(STRING_MENU_Xx) - 3, lang, 3);*/
/*lstrcpyn(STRING_PAGESETUP_Xx + sizeof(STRING_PAGESETUP_Xx) - 3, lang, 3);*/
/* Create menu */
hMainMenu
=
LoadMenu
(
Globals
.
hInstance
,
MAIN_MENU
);
...
...
@@ -95,9 +95,10 @@ VOID LANGUAGE_LoadMenus(VOID)
Globals
.
hMainMenu
=
hMainMenu
;
}
//VOID LANGUAGE_DefaultHandle(WPARAM wParam)
//{
// if ((wParam >=NP_FIRST_LANGUAGE) && (wParam<=NP_LAST_LANGUAGE))
// LANGUAGE_SelectByNumber(wParam - NP_FIRST_LANGUAGE);
// else printf("Unimplemented menu command %i\n", wParam);
//}
/*VOID LANGUAGE_DefaultHandle(WPARAM wParam)
{
if ((wParam >=NP_FIRST_LANGUAGE) && (wParam<=NP_LAST_LANGUAGE))
LANGUAGE_SelectByNumber(wParam - NP_FIRST_LANGUAGE);
else printf("Unimplemented menu command %i\n", wParam);
}
*/
programs/notepad/language.h
View file @
88773cd4
...
...
@@ -22,4 +22,4 @@
VOID
LANGUAGE_UpdateWindowCaption
(
VOID
);
VOID
LANGUAGE_LoadMenus
(
VOID
);
/
/VOID LANGUAGE_DefaultHandle(WPARAM wParam);
/
*VOID LANGUAGE_DefaultHandle(WPARAM wParam);*/
programs/notepad/main.c
View file @
88773cd4
...
...
@@ -745,8 +745,8 @@ int NOTEPAD_MenuCommand (WPARAM wParam)
case
0x136
:
DIALOG_HelpNoWarranty
();
break
;
case
0x137
:
DIALOG_HelpAboutWine
();
break
;
// default:
// LANGUAGE_DefaultHandle(wParam);
/* default: */
/* LANGUAGE_DefaultHandle(wParam); */
}
return
0
;
}
...
...
programs/winefile/splitpath.c
View file @
88773cd4
...
...
@@ -22,11 +22,11 @@
void
_wsplitpath
(
const
WCHAR
*
path
,
WCHAR
*
drv
,
WCHAR
*
dir
,
WCHAR
*
name
,
WCHAR
*
ext
)
{
const
WCHAR
*
end
;
// end of processed string
const
WCHAR
*
p
;
/
/ search pointer
const
WCHAR
*
s
;
/
/ copy pointer
const
WCHAR
*
end
;
/* end of processed string */
const
WCHAR
*
p
;
/
* search pointer */
const
WCHAR
*
s
;
/
* copy pointer */
// extract drive name
/* extract drive name */
if
(
path
[
0
]
&&
path
[
1
]
==
':'
)
{
if
(
drv
)
{
*
drv
++
=
*
path
++
;
...
...
@@ -36,11 +36,11 @@ void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHAR*
}
else
if
(
drv
)
*
drv
=
L'\0'
;
// search for end of string or stream separator
/* search for end of string or stream separator */
for
(
end
=
path
;
*
end
&&
*
end
!=
L':'
;
)
end
++
;
// search for begin of file extension
/* search for begin of file extension */
for
(
p
=
end
;
p
>
path
&&
*--
p
!=
L'\\'
&&
*
p
!=
L'/'
;
)
if
(
*
p
==
L'.'
)
{
end
=
p
;
...
...
@@ -51,7 +51,7 @@ void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHAR*
for
(
s
=
end
;
*
ext
=*
s
++
;
)
ext
++
;
// search for end of directory name
/* search for end of directory name */
for
(
p
=
end
;
p
>
path
;
)
if
(
*--
p
==
'\\'
||
*
p
==
'/'
)
{
p
++
;
...
...
@@ -77,11 +77,11 @@ void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHAR*
void
_splitpath
(
const
CHAR
*
path
,
CHAR
*
drv
,
CHAR
*
dir
,
CHAR
*
name
,
CHAR
*
ext
)
{
const
CHAR
*
end
;
// end of processed string
const
CHAR
*
p
;
/
/ search pointer
const
CHAR
*
s
;
/
/ copy pointer
const
CHAR
*
end
;
/* end of processed string */
const
CHAR
*
p
;
/
* search pointer */
const
CHAR
*
s
;
/
* copy pointer */
// extract drive name
/* extract drive name */
if
(
path
[
0
]
&&
path
[
1
]
==
':'
)
{
if
(
drv
)
{
*
drv
++
=
*
path
++
;
...
...
@@ -91,11 +91,11 @@ void _splitpath(const CHAR* path, CHAR* drv, CHAR* dir, CHAR* name, CHAR* ext)
}
else
if
(
drv
)
*
drv
=
'\0'
;
// search for end of string or stream separator
/* search for end of string or stream separator */
for
(
end
=
path
;
*
end
&&
*
end
!=
':'
;
)
end
++
;
// search for begin of file extension
/* search for begin of file extension */
for
(
p
=
end
;
p
>
path
&&
*--
p
!=
'\\'
&&
*
p
!=
'/'
;
)
if
(
*
p
==
'.'
)
{
end
=
p
;
...
...
@@ -106,7 +106,7 @@ void _splitpath(const CHAR* path, CHAR* drv, CHAR* dir, CHAR* name, CHAR* ext)
for
(
s
=
end
;
(
*
ext
=*
s
++
);
)
ext
++
;
// search for end of directory name
/* search for end of directory name */
for
(
p
=
end
;
p
>
path
;
)
if
(
*--
p
==
'\\'
||
*
p
==
'/'
)
{
p
++
;
...
...
programs/winefile/winefile.c
View file @
88773cd4
This diff is collapsed.
Click to expand it.
programs/winefile/winefile.h
View file @
88773cd4
...
...
@@ -80,7 +80,7 @@ enum IMAGE {
#define IDW_STATUSBAR 0x100
#define IDW_TOOLBAR 0x101
#define IDW_DRIVEBAR 0x102
#define IDW_FIRST_CHILD 0xC000 /
/0x200
#define IDW_FIRST_CHILD 0xC000
/
*0x200*/
#define IDW_TREE_LEFT 3
#define IDW_TREE_RIGHT 6
...
...
@@ -128,7 +128,7 @@ typedef struct
HIMAGELIST
himl
;
TCHAR
drives
[
BUFFER_LEN
];
BOOL
prescan_node
;
/
/TODO
BOOL
prescan_node
;
/
*TODO*/
UINT
wStringTableOffset
;
}
WINEFILE_GLOBALS
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment