[42302] | 1 | ; $Id: Win2kWorkaroundsA.asm 98103 2023-01-17 14:15:46Z vboxsync $
|
---|
| 2 | ;; @file
|
---|
| 3 | ; VirtualBox Windows Guest Shared Folders - Windows 2000 Hacks, Assembly Parts.
|
---|
| 4 | ;
|
---|
| 5 |
|
---|
| 6 | ;
|
---|
[98103] | 7 | ; Copyright (C) 2006-2023 Oracle and/or its affiliates.
|
---|
[42302] | 8 | ;
|
---|
[96407] | 9 | ; This file is part of VirtualBox base platform packages, as
|
---|
| 10 | ; available from https://www.virtualbox.org.
|
---|
[42302] | 11 | ;
|
---|
[96407] | 12 | ; This program is free software; you can redistribute it and/or
|
---|
| 13 | ; modify it under the terms of the GNU General Public License
|
---|
| 14 | ; as published by the Free Software Foundation, in version 3 of the
|
---|
| 15 | ; License.
|
---|
| 16 | ;
|
---|
| 17 | ; This program is distributed in the hope that it will be useful, but
|
---|
| 18 | ; WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 19 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 20 | ; General Public License for more details.
|
---|
| 21 | ;
|
---|
| 22 | ; You should have received a copy of the GNU General Public License
|
---|
| 23 | ; along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
| 24 | ;
|
---|
| 25 | ; SPDX-License-Identifier: GPL-3.0-only
|
---|
| 26 | ;
|
---|
[42302] | 27 |
|
---|
| 28 | ;*******************************************************************************
|
---|
| 29 | ;* Header Files *
|
---|
| 30 | ;*******************************************************************************
|
---|
| 31 | %include "iprt/asmdefs.mac"
|
---|
| 32 |
|
---|
| 33 | %ifndef RT_ARCH_X86
|
---|
| 34 | %error "This is x86 only code.
|
---|
| 35 | %endif
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | %macro MAKE_IMPORT_ENTRY 2
|
---|
| 39 | extern _ %+ %1 %+ @ %+ %2
|
---|
| 40 | global __imp__ %+ %1 %+ @ %+ %2
|
---|
| 41 | __imp__ %+ %1 %+ @ %+ %2:
|
---|
| 42 | dd _ %+ %1 %+ @ %+ %2
|
---|
| 43 |
|
---|
| 44 | %endmacro
|
---|
| 45 |
|
---|
| 46 | BEGINDATA
|
---|
| 47 |
|
---|
| 48 | ;MAKE_IMPORT_ENTRY FsRtlTeardownPerStreamContexts, 4
|
---|
| 49 | MAKE_IMPORT_ENTRY RtlGetVersion, 4
|
---|
| 50 | MAKE_IMPORT_ENTRY PsGetProcessImageFileName, 4
|
---|
| 51 |
|
---|