[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function getBootBlock4 - get Boot Block under DOS 4.x.
Syntax boolean getBootBlock4(int drive, struct BootBlock4
*BB4)
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. This function only
works for DOS versions 4.x and later.
Return value returns TRUE if successful, otherwise returns FALSE
with the DOS error code in the global variable
errno.
See also getBootBlock(), getBPB(), getVolSerialNum()
Example #include <doshk.h>
main()
{
struct BootBlock4 BB4;
if (getBootBlock4(0,&BPB4))
printf("Got it");
else
printf("Error");
}
See Also:
getBootBlock()
getBPB()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson