An open source re-implementation of the “NvDisplayConfigLDJ" tool with additional enhancements. This can be used to tweak your nvidia GPU driver settings to create custom display timings to address IIDX’s requirement if expecting proper display timings. This can also be used for any legacy IIDX versions that even expect very specific display timings, e.g. 59.95 or 60.05 hz. Furthermore, creating application profiles allows further tweaks to important GPU settings such as the current performance mode setting. This is crucial to ensure the GPU is not going into any kind of power saving states which results in non-smooth scrolling during gameplay and micro stuttering that cannot be measured on application level. Summary: Test Plan:
810 lines
26 KiB
C
810 lines
26 KiB
C
/*********************************************************************************************************\
|
|
|* *|
|
|
|* SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. *|
|
|
|* SPDX-License-Identifier: MIT *|
|
|
|* *|
|
|
|* Permission is hereby granted, free of charge, to any person obtaining a *|
|
|
|* copy of this software and associated documentation files (the "Software"), *|
|
|
|* to deal in the Software without restriction, including without limitation *|
|
|
|* the rights to use, copy, modify, merge, publish, distribute, sublicense, *|
|
|
|* and/or sell copies of the Software, and to permit persons to whom the *|
|
|
|* Software is furnished to do so, subject to the following conditions: *|
|
|
|* *|
|
|
|* The above copyright notice and this permission notice shall be included in *|
|
|
|* all copies or substantial portions of the Software. *|
|
|
|* *|
|
|
|* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR *|
|
|
|* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *|
|
|
|* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *|
|
|
|* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *|
|
|
|* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *|
|
|
|* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *|
|
|
|* DEALINGS IN THE SOFTWARE. *|
|
|
|* *|
|
|
|* *|
|
|
\*********************************************************************************************************/
|
|
|
|
#ifndef __NVAPI_EMPTY_SAL
|
|
#ifdef __nvapi_undef__ecount
|
|
#undef __ecount
|
|
#undef __nvapi_undef__ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__bcount
|
|
#undef __bcount
|
|
#undef __nvapi_undef__bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__in
|
|
#undef __in
|
|
#undef __nvapi_undef__in
|
|
#endif
|
|
#ifdef __nvapi_undef__in_ecount
|
|
#undef __in_ecount
|
|
#undef __nvapi_undef__in_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__in_bcount
|
|
#undef __in_bcount
|
|
#undef __nvapi_undef__in_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__in_z
|
|
#undef __in_z
|
|
#undef __nvapi_undef__in_z
|
|
#endif
|
|
#ifdef __nvapi_undef__in_ecount_z
|
|
#undef __in_ecount_z
|
|
#undef __nvapi_undef__in_ecount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__in_bcount_z
|
|
#undef __in_bcount_z
|
|
#undef __nvapi_undef__in_bcount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__in_nz
|
|
#undef __in_nz
|
|
#undef __nvapi_undef__in_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__in_ecount_nz
|
|
#undef __in_ecount_nz
|
|
#undef __nvapi_undef__in_ecount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__in_bcount_nz
|
|
#undef __in_bcount_nz
|
|
#undef __nvapi_undef__in_bcount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__out
|
|
#undef __out
|
|
#undef __nvapi_undef__out
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount
|
|
#undef __out_ecount
|
|
#undef __nvapi_undef__out_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount
|
|
#undef __out_bcount
|
|
#undef __nvapi_undef__out_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_part
|
|
#undef __out_ecount_part
|
|
#undef __nvapi_undef__out_ecount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_part
|
|
#undef __out_bcount_part
|
|
#undef __nvapi_undef__out_bcount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_full
|
|
#undef __out_ecount_full
|
|
#undef __nvapi_undef__out_ecount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_full
|
|
#undef __out_bcount_full
|
|
#undef __nvapi_undef__out_bcount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__out_z
|
|
#undef __out_z
|
|
#undef __nvapi_undef__out_z
|
|
#endif
|
|
#ifdef __nvapi_undef__out_z_opt
|
|
#undef __out_z_opt
|
|
#undef __nvapi_undef__out_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_z
|
|
#undef __out_ecount_z
|
|
#undef __nvapi_undef__out_ecount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_z
|
|
#undef __out_bcount_z
|
|
#undef __nvapi_undef__out_bcount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_part_z
|
|
#undef __out_ecount_part_z
|
|
#undef __nvapi_undef__out_ecount_part_z
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_part_z
|
|
#undef __out_bcount_part_z
|
|
#undef __nvapi_undef__out_bcount_part_z
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_full_z
|
|
#undef __out_ecount_full_z
|
|
#undef __nvapi_undef__out_ecount_full_z
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_full_z
|
|
#undef __out_bcount_full_z
|
|
#undef __nvapi_undef__out_bcount_full_z
|
|
#endif
|
|
#ifdef __nvapi_undef__out_nz
|
|
#undef __out_nz
|
|
#undef __nvapi_undef__out_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__out_nz_opt
|
|
#undef __out_nz_opt
|
|
#undef __nvapi_undef__out_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_nz
|
|
#undef __out_ecount_nz
|
|
#undef __nvapi_undef__out_ecount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_nz
|
|
#undef __out_bcount_nz
|
|
#undef __nvapi_undef__out_bcount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__inout
|
|
#undef __inout
|
|
#undef __nvapi_undef__inout
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount
|
|
#undef __inout_ecount
|
|
#undef __nvapi_undef__inout_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount
|
|
#undef __inout_bcount
|
|
#undef __nvapi_undef__inout_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_part
|
|
#undef __inout_ecount_part
|
|
#undef __nvapi_undef__inout_ecount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_part
|
|
#undef __inout_bcount_part
|
|
#undef __nvapi_undef__inout_bcount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_full
|
|
#undef __inout_ecount_full
|
|
#undef __nvapi_undef__inout_ecount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_full
|
|
#undef __inout_bcount_full
|
|
#undef __nvapi_undef__inout_bcount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_z
|
|
#undef __inout_z
|
|
#undef __nvapi_undef__inout_z
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_z
|
|
#undef __inout_ecount_z
|
|
#undef __nvapi_undef__inout_ecount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_z
|
|
#undef __inout_bcount_z
|
|
#undef __nvapi_undef__inout_bcount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_nz
|
|
#undef __inout_nz
|
|
#undef __nvapi_undef__inout_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_nz
|
|
#undef __inout_ecount_nz
|
|
#undef __nvapi_undef__inout_ecount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_nz
|
|
#undef __inout_bcount_nz
|
|
#undef __nvapi_undef__inout_bcount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__ecount_opt
|
|
#undef __ecount_opt
|
|
#undef __nvapi_undef__ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__bcount_opt
|
|
#undef __bcount_opt
|
|
#undef __nvapi_undef__bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_opt
|
|
#undef __in_opt
|
|
#undef __nvapi_undef__in_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_ecount_opt
|
|
#undef __in_ecount_opt
|
|
#undef __nvapi_undef__in_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_bcount_opt
|
|
#undef __in_bcount_opt
|
|
#undef __nvapi_undef__in_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_z_opt
|
|
#undef __in_z_opt
|
|
#undef __nvapi_undef__in_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_ecount_z_opt
|
|
#undef __in_ecount_z_opt
|
|
#undef __nvapi_undef__in_ecount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_bcount_z_opt
|
|
#undef __in_bcount_z_opt
|
|
#undef __nvapi_undef__in_bcount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_nz_opt
|
|
#undef __in_nz_opt
|
|
#undef __nvapi_undef__in_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_ecount_nz_opt
|
|
#undef __in_ecount_nz_opt
|
|
#undef __nvapi_undef__in_ecount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__in_bcount_nz_opt
|
|
#undef __in_bcount_nz_opt
|
|
#undef __nvapi_undef__in_bcount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_opt
|
|
#undef __out_opt
|
|
#undef __nvapi_undef__out_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_opt
|
|
#undef __out_ecount_opt
|
|
#undef __nvapi_undef__out_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_opt
|
|
#undef __out_bcount_opt
|
|
#undef __nvapi_undef__out_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_part_opt
|
|
#undef __out_ecount_part_opt
|
|
#undef __nvapi_undef__out_ecount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_part_opt
|
|
#undef __out_bcount_part_opt
|
|
#undef __nvapi_undef__out_bcount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_full_opt
|
|
#undef __out_ecount_full_opt
|
|
#undef __nvapi_undef__out_ecount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_full_opt
|
|
#undef __out_bcount_full_opt
|
|
#undef __nvapi_undef__out_bcount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_z_opt
|
|
#undef __out_ecount_z_opt
|
|
#undef __nvapi_undef__out_ecount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_z_opt
|
|
#undef __out_bcount_z_opt
|
|
#undef __nvapi_undef__out_bcount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_part_z_opt
|
|
#undef __out_ecount_part_z_opt
|
|
#undef __nvapi_undef__out_ecount_part_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_part_z_opt
|
|
#undef __out_bcount_part_z_opt
|
|
#undef __nvapi_undef__out_bcount_part_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_full_z_opt
|
|
#undef __out_ecount_full_z_opt
|
|
#undef __nvapi_undef__out_ecount_full_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_full_z_opt
|
|
#undef __out_bcount_full_z_opt
|
|
#undef __nvapi_undef__out_bcount_full_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_ecount_nz_opt
|
|
#undef __out_ecount_nz_opt
|
|
#undef __nvapi_undef__out_ecount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__out_bcount_nz_opt
|
|
#undef __out_bcount_nz_opt
|
|
#undef __nvapi_undef__out_bcount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_opt
|
|
#undef __inout_opt
|
|
#undef __nvapi_undef__inout_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_opt
|
|
#undef __inout_ecount_opt
|
|
#undef __nvapi_undef__inout_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_opt
|
|
#undef __inout_bcount_opt
|
|
#undef __nvapi_undef__inout_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_part_opt
|
|
#undef __inout_ecount_part_opt
|
|
#undef __nvapi_undef__inout_ecount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_part_opt
|
|
#undef __inout_bcount_part_opt
|
|
#undef __nvapi_undef__inout_bcount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_full_opt
|
|
#undef __inout_ecount_full_opt
|
|
#undef __nvapi_undef__inout_ecount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_full_opt
|
|
#undef __inout_bcount_full_opt
|
|
#undef __nvapi_undef__inout_bcount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_z_opt
|
|
#undef __inout_z_opt
|
|
#undef __nvapi_undef__inout_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_z_opt
|
|
#undef __inout_ecount_z_opt
|
|
#undef __nvapi_undef__inout_ecount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_z_opt
|
|
#undef __inout_ecount_z_opt
|
|
#undef __nvapi_undef__inout_ecount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_z_opt
|
|
#undef __inout_bcount_z_opt
|
|
#undef __nvapi_undef__inout_bcount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_nz_opt
|
|
#undef __inout_nz_opt
|
|
#undef __nvapi_undef__inout_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_ecount_nz_opt
|
|
#undef __inout_ecount_nz_opt
|
|
#undef __nvapi_undef__inout_ecount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__inout_bcount_nz_opt
|
|
#undef __inout_bcount_nz_opt
|
|
#undef __nvapi_undef__inout_bcount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_ecount
|
|
#undef __deref_ecount
|
|
#undef __nvapi_undef__deref_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_bcount
|
|
#undef __deref_bcount
|
|
#undef __nvapi_undef__deref_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out
|
|
#undef __deref_out
|
|
#undef __nvapi_undef__deref_out
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount
|
|
#undef __deref_out_ecount
|
|
#undef __nvapi_undef__deref_out_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount
|
|
#undef __deref_out_bcount
|
|
#undef __nvapi_undef__deref_out_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_part
|
|
#undef __deref_out_ecount_part
|
|
#undef __nvapi_undef__deref_out_ecount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_part
|
|
#undef __deref_out_bcount_part
|
|
#undef __nvapi_undef__deref_out_bcount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_full
|
|
#undef __deref_out_ecount_full
|
|
#undef __nvapi_undef__deref_out_ecount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_full
|
|
#undef __deref_out_bcount_full
|
|
#undef __nvapi_undef__deref_out_bcount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_z
|
|
#undef __deref_out_z
|
|
#undef __nvapi_undef__deref_out_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_z
|
|
#undef __deref_out_ecount_z
|
|
#undef __nvapi_undef__deref_out_ecount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_z
|
|
#undef __deref_out_bcount_z
|
|
#undef __nvapi_undef__deref_out_bcount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_nz
|
|
#undef __deref_out_nz
|
|
#undef __nvapi_undef__deref_out_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_nz
|
|
#undef __deref_out_ecount_nz
|
|
#undef __nvapi_undef__deref_out_ecount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_nz
|
|
#undef __deref_out_bcount_nz
|
|
#undef __nvapi_undef__deref_out_bcount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout
|
|
#undef __deref_inout
|
|
#undef __nvapi_undef__deref_inout
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_z
|
|
#undef __deref_inout_z
|
|
#undef __nvapi_undef__deref_inout_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount
|
|
#undef __deref_inout_ecount
|
|
#undef __nvapi_undef__deref_inout_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount
|
|
#undef __deref_inout_bcount
|
|
#undef __nvapi_undef__deref_inout_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_part
|
|
#undef __deref_inout_ecount_part
|
|
#undef __nvapi_undef__deref_inout_ecount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_part
|
|
#undef __deref_inout_bcount_part
|
|
#undef __nvapi_undef__deref_inout_bcount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_full
|
|
#undef __deref_inout_ecount_full
|
|
#undef __nvapi_undef__deref_inout_ecount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_full
|
|
#undef __deref_inout_bcount_full
|
|
#undef __nvapi_undef__deref_inout_bcount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_z
|
|
#undef __deref_inout_z
|
|
#undef __nvapi_undef__deref_inout_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_z
|
|
#undef __deref_inout_ecount_z
|
|
#undef __nvapi_undef__deref_inout_ecount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_z
|
|
#undef __deref_inout_bcount_z
|
|
#undef __nvapi_undef__deref_inout_bcount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_nz
|
|
#undef __deref_inout_nz
|
|
#undef __nvapi_undef__deref_inout_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_nz
|
|
#undef __deref_inout_ecount_nz
|
|
#undef __nvapi_undef__deref_inout_ecount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_nz
|
|
#undef __deref_inout_bcount_nz
|
|
#undef __nvapi_undef__deref_inout_bcount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_ecount_opt
|
|
#undef __deref_ecount_opt
|
|
#undef __nvapi_undef__deref_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_bcount_opt
|
|
#undef __deref_bcount_opt
|
|
#undef __nvapi_undef__deref_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_opt
|
|
#undef __deref_out_opt
|
|
#undef __nvapi_undef__deref_out_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_opt
|
|
#undef __deref_out_ecount_opt
|
|
#undef __nvapi_undef__deref_out_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_opt
|
|
#undef __deref_out_bcount_opt
|
|
#undef __nvapi_undef__deref_out_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_part_opt
|
|
#undef __deref_out_ecount_part_opt
|
|
#undef __nvapi_undef__deref_out_ecount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_part_opt
|
|
#undef __deref_out_bcount_part_opt
|
|
#undef __nvapi_undef__deref_out_bcount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_full_opt
|
|
#undef __deref_out_ecount_full_opt
|
|
#undef __nvapi_undef__deref_out_ecount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_full_opt
|
|
#undef __deref_out_bcount_full_opt
|
|
#undef __nvapi_undef__deref_out_bcount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_z_opt
|
|
#undef __deref_out_z_opt
|
|
#undef __nvapi_undef__deref_out_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_z_opt
|
|
#undef __deref_out_ecount_z_opt
|
|
#undef __nvapi_undef__deref_out_ecount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_z_opt
|
|
#undef __deref_out_bcount_z_opt
|
|
#undef __nvapi_undef__deref_out_bcount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_nz_opt
|
|
#undef __deref_out_nz_opt
|
|
#undef __nvapi_undef__deref_out_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_ecount_nz_opt
|
|
#undef __deref_out_ecount_nz_opt
|
|
#undef __nvapi_undef__deref_out_ecount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_out_bcount_nz_opt
|
|
#undef __deref_out_bcount_nz_opt
|
|
#undef __nvapi_undef__deref_out_bcount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_opt
|
|
#undef __deref_inout_opt
|
|
#undef __nvapi_undef__deref_inout_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_opt
|
|
#undef __deref_inout_ecount_opt
|
|
#undef __nvapi_undef__deref_inout_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_opt
|
|
#undef __deref_inout_bcount_opt
|
|
#undef __nvapi_undef__deref_inout_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_part_opt
|
|
#undef __deref_inout_ecount_part_opt
|
|
#undef __nvapi_undef__deref_inout_ecount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_part_opt
|
|
#undef __deref_inout_bcount_part_opt
|
|
#undef __nvapi_undef__deref_inout_bcount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_full_opt
|
|
#undef __deref_inout_ecount_full_opt
|
|
#undef __nvapi_undef__deref_inout_ecount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_full_opt
|
|
#undef __deref_inout_bcount_full_opt
|
|
#undef __nvapi_undef__deref_inout_bcount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_z_opt
|
|
#undef __deref_inout_z_opt
|
|
#undef __nvapi_undef__deref_inout_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_z_opt
|
|
#undef __deref_inout_ecount_z_opt
|
|
#undef __nvapi_undef__deref_inout_ecount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_z_opt
|
|
#undef __deref_inout_bcount_z_opt
|
|
#undef __nvapi_undef__deref_inout_bcount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_nz_opt
|
|
#undef __deref_inout_nz_opt
|
|
#undef __nvapi_undef__deref_inout_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_ecount_nz_opt
|
|
#undef __deref_inout_ecount_nz_opt
|
|
#undef __nvapi_undef__deref_inout_ecount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_inout_bcount_nz_opt
|
|
#undef __deref_inout_bcount_nz_opt
|
|
#undef __nvapi_undef__deref_inout_bcount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_ecount
|
|
#undef __deref_opt_ecount
|
|
#undef __nvapi_undef__deref_opt_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_bcount
|
|
#undef __deref_opt_bcount
|
|
#undef __nvapi_undef__deref_opt_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out
|
|
#undef __deref_opt_out
|
|
#undef __nvapi_undef__deref_opt_out
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_z
|
|
#undef __deref_opt_out_z
|
|
#undef __nvapi_undef__deref_opt_out_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_ecount
|
|
#undef __deref_opt_out_ecount
|
|
#undef __nvapi_undef__deref_opt_out_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_bcount
|
|
#undef __deref_opt_out_bcount
|
|
#undef __nvapi_undef__deref_opt_out_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_ecount_part
|
|
#undef __deref_opt_out_ecount_part
|
|
#undef __nvapi_undef__deref_opt_out_ecount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_bcount_part
|
|
#undef __deref_opt_out_bcount_part
|
|
#undef __nvapi_undef__deref_opt_out_bcount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_ecount_full
|
|
#undef __deref_opt_out_ecount_full
|
|
#undef __nvapi_undef__deref_opt_out_ecount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_bcount_full
|
|
#undef __deref_opt_out_bcount_full
|
|
#undef __nvapi_undef__deref_opt_out_bcount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout
|
|
#undef __deref_opt_inout
|
|
#undef __nvapi_undef__deref_opt_inout
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount
|
|
#undef __deref_opt_inout_ecount
|
|
#undef __nvapi_undef__deref_opt_inout_ecount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount
|
|
#undef __deref_opt_inout_bcount
|
|
#undef __nvapi_undef__deref_opt_inout_bcount
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_part
|
|
#undef __deref_opt_inout_ecount_part
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_part
|
|
#undef __deref_opt_inout_bcount_part
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_part
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_full
|
|
#undef __deref_opt_inout_ecount_full
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_full
|
|
#undef __deref_opt_inout_bcount_full
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_full
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_z
|
|
#undef __deref_opt_inout_z
|
|
#undef __nvapi_undef__deref_opt_inout_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_z
|
|
#undef __deref_opt_inout_ecount_z
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_z
|
|
#undef __deref_opt_inout_bcount_z
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_z
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_nz
|
|
#undef __deref_opt_inout_nz
|
|
#undef __nvapi_undef__deref_opt_inout_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_nz
|
|
#undef __deref_opt_inout_ecount_nz
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_nz
|
|
#undef __deref_opt_inout_bcount_nz
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_nz
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_ecount_opt
|
|
#undef __deref_opt_ecount_opt
|
|
#undef __nvapi_undef__deref_opt_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_bcount_opt
|
|
#undef __deref_opt_bcount_opt
|
|
#undef __nvapi_undef__deref_opt_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_opt
|
|
#undef __deref_opt_out_opt
|
|
#undef __nvapi_undef__deref_opt_out_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_ecount_opt
|
|
#undef __deref_opt_out_ecount_opt
|
|
#undef __nvapi_undef__deref_opt_out_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_bcount_opt
|
|
#undef __deref_opt_out_bcount_opt
|
|
#undef __nvapi_undef__deref_opt_out_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_ecount_part_opt
|
|
#undef __deref_opt_out_ecount_part_opt
|
|
#undef __nvapi_undef__deref_opt_out_ecount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_bcount_part_opt
|
|
#undef __deref_opt_out_bcount_part_opt
|
|
#undef __nvapi_undef__deref_opt_out_bcount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_ecount_full_opt
|
|
#undef __deref_opt_out_ecount_full_opt
|
|
#undef __nvapi_undef__deref_opt_out_ecount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_bcount_full_opt
|
|
#undef __deref_opt_out_bcount_full_opt
|
|
#undef __nvapi_undef__deref_opt_out_bcount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_z_opt
|
|
#undef __deref_opt_out_z_opt
|
|
#undef __nvapi_undef__deref_opt_out_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_ecount_z_opt
|
|
#undef __deref_opt_out_ecount_z_opt
|
|
#undef __nvapi_undef__deref_opt_out_ecount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_bcount_z_opt
|
|
#undef __deref_opt_out_bcount_z_opt
|
|
#undef __nvapi_undef__deref_opt_out_bcount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_nz_opt
|
|
#undef __deref_opt_out_nz_opt
|
|
#undef __nvapi_undef__deref_opt_out_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_ecount_nz_opt
|
|
#undef __deref_opt_out_ecount_nz_opt
|
|
#undef __nvapi_undef__deref_opt_out_ecount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_out_bcount_nz_opt
|
|
#undef __deref_opt_out_bcount_nz_opt
|
|
#undef __nvapi_undef__deref_opt_out_bcount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_opt
|
|
#undef __deref_opt_inout_opt
|
|
#undef __nvapi_undef__deref_opt_inout_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_opt
|
|
#undef __deref_opt_inout_ecount_opt
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_opt
|
|
#undef __deref_opt_inout_bcount_opt
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_part_opt
|
|
#undef __deref_opt_inout_ecount_part_opt
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_part_opt
|
|
#undef __deref_opt_inout_bcount_part_opt
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_part_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_full_opt
|
|
#undef __deref_opt_inout_ecount_full_opt
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_full_opt
|
|
#undef __deref_opt_inout_bcount_full_opt
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_full_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_z_opt
|
|
#undef __deref_opt_inout_z_opt
|
|
#undef __nvapi_undef__deref_opt_inout_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_z_opt
|
|
#undef __deref_opt_inout_ecount_z_opt
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_z_opt
|
|
#undef __deref_opt_inout_bcount_z_opt
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_z_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_nz_opt
|
|
#undef __deref_opt_inout_nz_opt
|
|
#undef __nvapi_undef__deref_opt_inout_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_ecount_nz_opt
|
|
#undef __deref_opt_inout_ecount_nz_opt
|
|
#undef __nvapi_undef__deref_opt_inout_ecount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_undef__deref_opt_inout_bcount_nz_opt
|
|
#undef __deref_opt_inout_bcount_nz_opt
|
|
#undef __nvapi_undef__deref_opt_inout_bcount_nz_opt
|
|
#endif
|
|
#ifdef __nvapi_success
|
|
#undef __success
|
|
#undef __nvapi_success
|
|
#endif
|
|
#ifdef __nvapi__Ret_notnull_
|
|
#undef __nvapi__Ret_notnull_
|
|
#undef _Ret_notnull_
|
|
#endif
|
|
#ifdef __nvapi__Post_writable_byte_size_
|
|
#undef __nvapi__Post_writable_byte_size_
|
|
#undef _Post_writable_byte_size_
|
|
#endif
|
|
#ifdef __nvapi_Outptr_
|
|
#undef __nvapi_Outptr_
|
|
#undef _Outptr_
|
|
#endif
|
|
|
|
#endif // __NVAPI_EMPTY_SAL
|