mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[WIN32SS] Rename EngLoadDriverEx to LDEVOBJ_pLoadDriver
This commit is contained in:
parent
3820744a18
commit
3b234cce25
4 changed files with 7 additions and 7 deletions
|
@ -147,7 +147,7 @@ EngpPopulateDeviceModeList(
|
|||
{
|
||||
/* Try to load the display driver */
|
||||
TRACE("Trying driver: %ls\n", pwsz);
|
||||
pldev = EngLoadImageEx(pwsz, LDEV_DEVICE_DISPLAY);
|
||||
pldev = LDEVOBJ_pLoadDriver(pwsz, LDEV_DEVICE_DISPLAY);
|
||||
if (!pldev)
|
||||
{
|
||||
ERR("Could not load driver: '%ls'\n", pwsz);
|
||||
|
|
|
@ -325,7 +325,7 @@ LDEVOBJ_pvFindImageProcAddress(
|
|||
|
||||
PLDEVOBJ
|
||||
NTAPI
|
||||
EngLoadImageEx(
|
||||
LDEVOBJ_pLoadDriver(
|
||||
_In_z_ LPWSTR pwszDriverName,
|
||||
_In_ ULONG ldevtype)
|
||||
{
|
||||
|
@ -336,7 +336,7 @@ EngLoadImageEx(
|
|||
SIZE_T cwcLength;
|
||||
LPWSTR pwsz;
|
||||
|
||||
TRACE("EngLoadImageEx(%ls, %lu)\n", pwszDriverName, ldevtype);
|
||||
TRACE("LDEVOBJ_pLoadDriver(%ls, %lu)\n", pwszDriverName, ldevtype);
|
||||
ASSERT(pwszDriverName);
|
||||
|
||||
/* Initialize buffer for the the driver name */
|
||||
|
@ -444,7 +444,7 @@ leave:
|
|||
/* Unlock loader */
|
||||
EngReleaseSemaphore(ghsemLDEVList);
|
||||
|
||||
TRACE("EngLoadImageEx returning %p\n", pldev);
|
||||
TRACE("LDEVOBJ_pLoadDriver returning %p\n", pldev);
|
||||
return pldev;
|
||||
}
|
||||
|
||||
|
@ -456,7 +456,7 @@ APIENTRY
|
|||
EngLoadImage(
|
||||
_In_ LPWSTR pwszDriverName)
|
||||
{
|
||||
return (HANDLE)EngLoadImageEx(pwszDriverName, LDEV_IMAGE);
|
||||
return (HANDLE)LDEVOBJ_pLoadDriver(pwszDriverName, LDEV_IMAGE);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ LDEVOBJ_pdmiGetModes(
|
|||
|
||||
PLDEVOBJ
|
||||
APIENTRY
|
||||
EngLoadImageEx(
|
||||
LDEVOBJ_pLoadDriver(
|
||||
_In_z_ LPWSTR pwszDriverName,
|
||||
_In_ ULONG ldevtype);
|
||||
|
||||
|
|
|
@ -386,7 +386,7 @@ EngpCreatePDEV(
|
|||
}
|
||||
|
||||
/* Try to get a diplay driver */
|
||||
ppdev->pldev = EngLoadImageEx(pdm->dmDeviceName, LDEV_DEVICE_DISPLAY);
|
||||
ppdev->pldev = LDEVOBJ_pLoadDriver(pdm->dmDeviceName, LDEV_DEVICE_DISPLAY);
|
||||
if (!ppdev->pldev)
|
||||
{
|
||||
DPRINT1("Could not load display driver '%ls', '%ls'\n",
|
||||
|
|
Loading…
Reference in a new issue