-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add language and database properties (#10)
- Loading branch information
Showing
5 changed files
with
36 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ | |
"language": "en", | ||
"words": [ | ||
"cdylib", | ||
|
||
"INSTALLMESSAGE", | ||
"LANGID", | ||
"LPCSTR", | ||
"LPSTR", | ||
"msbuild", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2022 Heath Stewart. | ||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
|
||
use super::{MSIHANDLE, PMSIHANDLE}; | ||
|
||
/// The database for the current install session. | ||
pub struct Database { | ||
h: PMSIHANDLE, | ||
} | ||
|
||
impl From<MSIHANDLE> for Database { | ||
fn from(h: MSIHANDLE) -> Self { | ||
Database { h: h.to_owned() } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters