mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-24 19:54:25 -04:00
[misc] drop WDK compilation support
This commit is contained in:
parent
86c530ac50
commit
c00557900b
8 changed files with 11 additions and 224 deletions
|
@ -33,9 +33,7 @@
|
|||
#include <io.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#if !defined(DDKBUILD)
|
||||
#include <psapi.h>
|
||||
#endif
|
||||
|
||||
#pragma once
|
||||
#if defined(_MSC_VER)
|
||||
|
@ -584,7 +582,6 @@ static __inline DWORD GetModuleFileNameU(HMODULE hModule, char* lpFilename, DWOR
|
|||
return ret;
|
||||
}
|
||||
|
||||
#if !defined(DDKBUILD)
|
||||
static __inline DWORD GetModuleFileNameExU(HANDLE hProcess, HMODULE hModule, char* lpFilename, DWORD nSize)
|
||||
{
|
||||
DWORD ret = 0, err = ERROR_INVALID_DATA;
|
||||
|
@ -600,7 +597,6 @@ static __inline DWORD GetModuleFileNameExU(HANDLE hProcess, HMODULE hModule, cha
|
|||
SetLastError(err);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
static __inline DWORD GetFullPathNameU(const char* lpFileName, DWORD nBufferLength, char* lpBuffer, char** lpFilePart)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue