[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function getBootBlock - get Boot Block
Syntax boolean getBootBlock(int drive, struct BootBlock
*BB)
Prototype in doshk.h
Remarks gets the Boot Block for the disk determined by
drive, where 0=A, 1=B, etc. BB must be a pointer to
an allocated piece of memory.
Return value returns TRUE if successful, otherwise returns FALSE
with the DOS error code in the global variable
errno.
See also getBootBlock4(), getBPB()
Example #include <doshk.h>
main()
{
struct BootBlock BB;
if (getBootBlock(0,&BPB))
printf("Got it");
else
printf("Error");
}
See Also:
getBootBlock4()
getBPB()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson