Skip to content

Commit

Permalink
Merge pull request #1122 from secDre4mer/master
Browse files Browse the repository at this point in the history
chore: Drop PROCESS_QUERY_INFORMATION support
  • Loading branch information
shirou committed Aug 28, 2021
2 parents 595a629 + d07af87 commit 0d0659a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion process/process_windows.go
Expand Up @@ -40,7 +40,7 @@ var (
processorArchitecture uint
)

const processQueryInformation = windows.PROCESS_QUERY_LIMITED_INFORMATION | windows.PROCESS_QUERY_INFORMATION // WinXP doesn't know PROCESS_QUERY_LIMITED_INFORMATION
const processQueryInformation = windows.PROCESS_QUERY_LIMITED_INFORMATION

type SystemProcessInformation struct {
NextEntryOffset uint64
Expand Down
2 changes: 1 addition & 1 deletion v3/process/process_windows.go
Expand Up @@ -40,7 +40,7 @@ var (
processorArchitecture uint
)

const processQueryInformation = windows.PROCESS_QUERY_LIMITED_INFORMATION | windows.PROCESS_QUERY_INFORMATION // WinXP doesn't know PROCESS_QUERY_LIMITED_INFORMATION
const processQueryInformation = windows.PROCESS_QUERY_LIMITED_INFORMATION

type systemProcessorInformation struct {
ProcessorArchitecture uint16
Expand Down

0 comments on commit 0d0659a

Please sign in to comment.