' ########################################################################################
' Microsoft Windows
' File: CertBase.inc
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_CertBase_PBI)
#DEFINE PBX_CertBase_PBI
%CERTBASE_INC = 1
'/* header files for imported files */
#include once "wtypes.inc"
' // Size = 8 bytes
TYPE CERTTRANSBLOB DWORD
 cb AS DWORD ' unsigned long
 pb AS BYTE PTR ' BYTE *
END TYPE
' // Size = 20 bytes
TYPE CERTVIEWRESTRICTION
 ColumnIndex AS DWORD
 SeekOperator AS LONG
 SortOrder AS LONG
 pbValue AS BYTE PTR ' BYTE *
 cbValue AS DWORD
END TYPE