diff options
Diffstat (limited to 'api/rundll32.h')
-rw-r--r-- | api/rundll32.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/api/rundll32.h b/api/rundll32.h index 1cd3cae..030419c 100644 --- a/api/rundll32.h +++ b/api/rundll32.h @@ -5,25 +5,22 @@ #pragma once +#include <Windows.h> +#include <SetupAPI.h> #include "adapter.h" -_Must_inspect_result_ -_Return_type_success_(return != NULL) -_Post_maybenull_ -WINTUN_ADAPTER * -CreateAdapterViaRundll32( - _In_z_ LPCWSTR Pool, - _In_z_ LPCWSTR Name, - _In_opt_ const GUID *RequestedGUID, - _Inout_ BOOL *RebootRequired); +_Return_type_success_(return != FALSE) +BOOL +RemoveInstanceViaRundll32(_In_ HDEVINFO DevInfo, _In_ SP_DEVINFO_DATA *DevInfoData); + +_Return_type_success_(return != FALSE) +BOOL +EnableInstanceViaRundll32(_In_ HDEVINFO DevInfo, _In_ SP_DEVINFO_DATA *DevInfoData); _Return_type_success_(return != FALSE) BOOL -DeleteAdapterViaRundll32( - _In_ const WINTUN_ADAPTER *Adapter, - _In_ BOOL ForceCloseSessions, - _Inout_ BOOL *RebootRequired); +DisableInstanceViaRundll32(_In_ HDEVINFO DevInfo, _In_ SP_DEVINFO_DATA *DevInfoData); _Return_type_success_(return != FALSE) BOOL -DeletePoolDriverViaRundll32(_In_z_ LPCWSTR Pool, _Inout_ BOOL *RebootRequired); +CreateInstanceWin7ViaRundll32(_Out_writes_z_(MAX_INSTANCE_ID) LPWSTR InstanceId);
\ No newline at end of file |