dongle: add vid and pid arguments
This commit is contained in:
@ -4,7 +4,8 @@ HRESULT platform_hook_init(
|
||||
const struct platform_config *cfg,
|
||||
enum platform_type type,
|
||||
jvs_provider_t jvs,
|
||||
HMODULE redir_mod
|
||||
HMODULE redir_mod,
|
||||
struct dongle_info d_info
|
||||
)
|
||||
{
|
||||
HRESULT hr;
|
||||
@ -56,7 +57,7 @@ HRESULT platform_hook_init(
|
||||
return hr;
|
||||
}
|
||||
|
||||
hr = es3sec_hook_init(&cfg->dongle, "", "");
|
||||
hr = es3sec_hook_init(&cfg->dongle, d_info.vid, d_info.pid);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
return hr;
|
||||
|
Reference in New Issue
Block a user