Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DISKSPD uses a couple APIs not in Nano Server 2016 #12

Closed
dl2n opened this issue Nov 16, 2015 · 3 comments
Closed

DISKSPD uses a couple APIs not in Nano Server 2016 #12

dl2n opened this issue Nov 16, 2015 · 3 comments
Assignees

Comments

@dl2n
Copy link
Member

dl2n commented Nov 16, 2015

Per http://blogs.technet.com/b/nanoserver/archive/2015/11/16/native-binary-scanning-tool-nanoserverapiscan-exe-for-nano-server.aspx

These two APIs are not present in Nano Server 2016. Removing dependencies on them will allow DISKSPD to work on that platform.

PS X:\nano> .\NanoServerApiScan.exe /BinaryPath:Z:\tmp

=== diskspd.exe ===
=== Z:\tmp\diskspd.exe ===

ERRORS:

KERNEL32.dll
SetThreadAffinityMask (Proc not found)
ole32.dll
CoInitialize (Proc not found)
Please use API CoInitializeEx as substitution.

@rob-scheepens
Copy link

SetThreadAffinityMask is shown as a compatible API on https://msdn.microsoft.com/en-us/library/mt588480(v=vs.85).aspx#api-ms-win-core-processtopology-obsolete-l1-1-0.dll. If this indeed is an error, then what API should be used instead?

Edit: looks like /ReverseForwardersPath needs to be used.

@dl2n
Copy link
Member Author

dl2n commented Mar 5, 2016

This is now handled, will be fixed in next push.

@dl2n dl2n self-assigned this Mar 5, 2016
@dl2n
Copy link
Member Author

dl2n commented Mar 10, 2016

Fixed in 2.0.16b

@dl2n dl2n closed this as completed Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants