Skip to content

Commit

Permalink
hit the sauce son
Browse files Browse the repository at this point in the history
  • Loading branch information
freedom7341 committed Jul 25, 2024
1 parent 35640b9 commit 8c585fd
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CscdCom/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
#define SVC_ERROR ((DWORD)0xC0020001L)

// A message file must end with a period on its own line
// followed by a blank line.
// followed by a blank line.
39 changes: 27 additions & 12 deletions CscdCom/error.mc
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
MessageIdTypedef=DWORD
;/* --------------------------------------------------------
; HEADER SECTION
;*/
SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
Warning=0x2:STATUS_SEVERITY_WARNING
Error=0x3:STATUS_SEVERITY_ERROR
)
Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
Warning=0x2:STATUS_SEVERITY_WARNING
Error=0x3:STATUS_SEVERITY_ERROR
)
;
;
FacilityNames=(System=0x0:FACILITY_SYSTEM
Runtime=0x2:FACILITY_RUNTIME
Stubs=0x3:FACILITY_STUBS
Io=0x4:FACILITY_IO_ERROR_CODE
)
Runtime=0x2:FACILITY_RUNTIME
Stubs=0x3:FACILITY_STUBS
Io=0x4:FACILITY_IO_ERROR_CODE
)
;
;/* ------------------------------------------------------------------
; MESSAGE DEFINITION SECTION
;*/
MessageIdTypedef=WORD
LanguageNames=(English=0x409:MSG00409)
Expand All @@ -25,5 +32,13 @@ Language=English
An error has occurred (%2).
.
MessageId=0x2
Severity=Warning
Facility=Runtime
SymbolicName=SVC_WARN
Language=English
Warning! (%2).
.
; // A message file must end with a period on its own line
; // followed by a blank line.
4 changes: 3 additions & 1 deletion CscdSvc/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Copyright © 2024 Brady McDermott, Vortesys
DESCRIPTION -
Cascades' Hook's resource collection.
** NO DEPENDENCIES **
LICENSE INFORMATION -
MIT License, see LICENSE.txt in the root folder
\* * * * * * * */
Expand All @@ -13,6 +12,9 @@
#pragma once
#endif

/* Includes */
#include "..\CscdCom\error.h"

/* Icon Library */
#define IDI_MAIN 1

Expand Down
4 changes: 4 additions & 0 deletions CscdSvc/resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#include "resource.h"
#undef APSTUDIO_HIDDEN_SYMBOLS

/* Error Handling */
LANGUAGE 0x9, 0x1
1 11 "..\CscdCom\MSG00409.bin"

/* Icon Library */
IDI_MAIN ICON icons\ntstyle.ico

Expand Down

0 comments on commit 8c585fd

Please sign in to comment.