Kernel32GetOsManufacturingMode Method
Determine whether the device is in Manufacturing Mode or not.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll")]
public static bool GetOsManufacturingMode(
out bool refEnabled
)
<DllImportAttribute("Kernel32.dll">]
Public Shared Function GetOsManufacturingMode (
<OutAttribute> ByRef refEnabled As Boolean
) As Boolean
Dim refEnabled As Boolean
Dim returnValue As Boolean
returnValue = Kernel32.GetOsManufacturingMode(refEnabled)
public:
[DllImportAttribute(L"Kernel32.dll")]
static bool GetOsManufacturingMode(
[OutAttribute] bool% refEnabled
)
[<DllImportAttribute("Kernel32.dll")>]
static member GetOsManufacturingMode :
refEnabled : bool byref -> bool
No code example is currently available or this language may not be supported.
- refEnabled Boolean
-
if set to the device is in Manufacturing Mode.
Boolean
If the function succeeds, the return value is a nonzero
.
If the function fails, the return value is
.