Constants
PARTITION_STYLE_MBR
MBR format. This corresponds to standard AT-style master boot records.
PARTITION_STYLE_GPT
GPT format.
PARTITION_STYLE_RAW
Partition not formatted in either of the recognized formats—MBR or GPT.
http://msdn.microsoft.com/library/defau ... le_str.asp
how can get this constants in pb ? :roll:
			
			
									
									PARTITION_STYLE_MBR ???
PARTITION_STYLE_MBR ???
["1:0>1"]
						Like this:
			
			
									
									
						Code: Select all
Enumeration
  #PARTITION_STYLE_MBR
  #PARTITION_STYLE_GPT
  #PARTITION_STYLE_RAW
EndEnumerationBut won't that just give them the values 0,1,2 by PureBasic, and not the actual
Win32 values? I've tried looking for the actual values but searches of Google
and Usenet haven't been successful so far.
			
			
													Win32 values? I've tried looking for the actual values but searches of Google
and Usenet haven't been successful so far.
					Last edited by PB on Sat Jan 07, 2006 3:55 am, edited 1 time in total.
									
			
									I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
						"PureBasic won't be object oriented, period" - Fred.
Hmmm.
Are 0,1,2 not the actual values? Based on this sort of thing:
Edited: From my SDK:
do the same thing as Enumeration?
			
			
													Are 0,1,2 not the actual values? Based on this sort of thing:
Edited: From my SDK:
DoesPARTITION_STYLE
The PARTITION_STYLE enumeration type contains values that identify the format of a partition.
typedef enum _PARTITION_STYLE
{
PARTITION_STYLE_MBR
PARTITION_STYLE_GPT
PARTITION_STYLE_RAW
} PARTITION_STYLE;
Constants
PARTITION_STYLE_MBR
MBR format. This corresponds to standard AT-style master boot records.
PARTITION_STYLE_GPT
GPT format.
PARTITION_STYLE_RAW
Partition not formatted in either of the recognized formats—MBR or GPT.
Requirements
Client Requires Windows XP.
Server Requires Windows Server 2003.
Header Declared in Winioctl.h.
See Also
Disk Management Enumeration Types, PARTITION_INFORMATION_EX, IOCTL_DISK_GET_PARTITION_INFO_EX, IOCTL_DISK_SET_PARTITION_INFO_EX
--------------------------------------------------------------------------------
Last updated: March 2005 | What did you think of this topic? | Order a Platform SDK CD
© Microsoft Corporation. All rights reserved. Terms of use.
Code: Select all
typedef enum _PARTITION_STYLE
{
  PARTITION_STYLE_MBR
  PARTITION_STYLE_GPT
  PARTITION_STYLE_RAW
} PARTITION_STYLE;
					Last edited by Dare2 on Sat Jan 07, 2006 3:55 am, edited 2 times in total.
									
			
									@}--`--,--  A rose by any other name ..
						

