Ioctl_Hal_Get_Boot_Device - Intermec 700 Series User Manual

Color mobile computer
Hide thumbs Also See for 700 Series:
Table of Contents

Advertisement

IOCTL_HAL_GET_BOOT_DEVICE

700 Series Color Mobile Computer User's Manual
This IOCTL code allows software to check which device CE booted from.
Usage
#include "oemioctl.h"
Syntax
BOOL KernelIoControl( IOCTL_HAL_GET_BOOT_DEVICE,LPVOID
lpInBuf,DWORD nInBufSize,LPVOID lpOutBuf,DWORD
nOutBufSize,LPDWORD lpBytesReturned );
Parameters
S lpInBuf
Should be set to NULL.
S lpInBufSize
Should be set to zero.
S lpOutBuf
Must point to a buffer large enough to hold a DWORD (4 bytes) that
contains the boot device. The following boot devices are supported:
#define HAL_BOOT_DEVICE_UNKNOWN
#define HAL_BOOT_DEVICE_ROM_XIP
#define HAL_BOOT_DEVICE_ROM
#define HAL_BOOT_DEVICE_PCMCIA_ATA
#define HAL_BOOT_DEVICE_PCMCIA_LINEAR 4
#define HAL_BOOT_DEVICE_IDE_ATA
#define HAL_BOOT_DEVICE_IDE_ATAPI
S nOutBufSize
The size of lpOutBuf in bytes (4).
S lpBytesReturned
The number of bytes returned by the function.
Return Values
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extended error value.
Chapter 7
Programming
0
1
2
3
5
6
303

Advertisement

Table of Contents
loading

Table of Contents