Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PACTYPE structure is the topmost structure of the PAC and specifies the number of elements in the PAC_INFO_BUFFER (section 2.4) array. The PACTYPE structure serves as the header for the complete PAC data.
The PACTYPE structure is defined as follows.
typedef struct _PACTYPE {
ULONG cBuffers;
ULONG Version;
PAC_INFO_BUFFER Buffers[1];
} PACTYPE, *PPACTYPE;
The format of the PACTYPE structure is defined as follows.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
cBuffers |
|||||||||||||||||||||||||||||||
|
Version |
|||||||||||||||||||||||||||||||
|
Buffers (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
cBuffers (4 bytes): A 32-bit unsigned integer in little-endian format that defines the number of entries in the Buffers array.
Version (4 bytes): A 32-bit unsigned integer in little-endian format that defines the PAC version; MUST be 0x00000000.
Buffers (variable): An array of PAC_INFO_BUFFER structures (section 2.4).
The actual contents of the PAC are placed serially after the variable set of PAC_INFO_BUFFER structures. The contents are individually serialized PAC elements. All PAC elements MUST be placed on an 8-byte boundary.