Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
jlib
Commits
2346735a
Commit
2346735a
authored
Nov 30, 2018
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make static
parent
dd4f307b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
DeviceUniqueIdentifierHeaderOnly.h
jlib/win32/DeviceUniqueIdentifierHeaderOnly.h
+7
-7
No files found.
jlib/win32/DeviceUniqueIdentifierHeaderOnly.h
View file @
2346735a
...
...
@@ -120,7 +120,7 @@ enum {
* @param[in,out] results 查询结果集合
* @return 成功或失败
*/
bool
query
(
size_t
queryTypes
,
std
::
vector
<
std
::
wstring
>&
results
);
static
bool
query
(
size_t
queryTypes
,
std
::
vector
<
std
::
wstring
>&
results
);
/**
* @brief 查询信息
...
...
@@ -128,7 +128,7 @@ bool query(size_t queryTypes, std::vector<std::wstring>& results);
* @param[in,out] results 查询结果集合
* @return 成功或失败
*/
bool
query
(
const
std
::
vector
<
QueryType
>&
queryTypes
,
std
::
vector
<
std
::
wstring
>&
results
);
static
bool
query
(
const
std
::
vector
<
QueryType
>&
queryTypes
,
std
::
vector
<
std
::
wstring
>&
results
);
/**
* @brief 连接查询结果为一个字符串
...
...
@@ -136,7 +136,7 @@ bool query(const std::vector<QueryType>& queryTypes, std::vector<std::wstring>&
* @param[in,out] conjunction 连词
* @return 将结果以连词连接起来组成的字符串
*/
std
::
wstring
join_result
(
const
std
::
vector
<
std
::
wstring
>&
results
,
const
std
::
wstring
&
conjunction
);
st
atic
st
d
::
wstring
join_result
(
const
std
::
vector
<
std
::
wstring
>&
results
,
const
std
::
wstring
&
conjunction
);
}
}
...
...
@@ -341,7 +341,7 @@ static BOOL WMI_DoWithProperty(QueryType queryType, wchar_t *szProperty, UINT uS
std
::
wstring
getMachineGUID
()
st
atic
st
d
::
wstring
getMachineGUID
()
{
std
::
wstring
res
;
/*using namespace winreg;
...
...
@@ -396,7 +396,7 @@ std::wstring getMachineGUID()
}
// end of namespace detail
bool
query
(
size_t
queryTypes
,
std
::
vector
<
std
::
wstring
>&
results
)
static
bool
query
(
size_t
queryTypes
,
std
::
vector
<
std
::
wstring
>&
results
)
{
std
::
vector
<
QueryType
>
vec
;
...
...
@@ -434,7 +434,7 @@ bool query(size_t queryTypes, std::vector<std::wstring>& results)
}
// 基于Windows Management Instrumentation(Windows管理规范)
bool
query
(
const
std
::
vector
<
QueryType
>&
queryTypes
,
std
::
vector
<
std
::
wstring
>&
results
)
static
bool
query
(
const
std
::
vector
<
QueryType
>&
queryTypes
,
std
::
vector
<
std
::
wstring
>&
results
)
{
bool
ok
=
false
;
...
...
@@ -578,7 +578,7 @@ bool query(const std::vector<QueryType>& queryTypes, std::vector<std::wstring>&
return
ok
;
}
std
::
wstring
join_result
(
const
std
::
vector
<
std
::
wstring
>&
results
,
const
std
::
wstring
&
conjunction
)
st
atic
st
d
::
wstring
join_result
(
const
std
::
vector
<
std
::
wstring
>&
results
,
const
std
::
wstring
&
conjunction
)
{
std
::
wstring
result
;
auto
itBegin
=
results
.
cbegin
();
...
...
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