technical content. 5/6/2011 24.0 Major Updated and revised the technical content. 6/17/2011 25.0 Updated and revised the technical content. 9/23/2011 25.0 None No changes to the meaning, language, or formatting of the technical content. 12/16/2011 26.0 Major Updated and revised the technical content. 3/30/2012 26.0 None No changes to the meaning, language, or formatting of the technical content. 7/12/2012 26.1 Minor Clarified the meaning of the technical content. 10/25/2012 26.1 None No changes to the meaning, language, or formatting of the technical content. 1/31/2013 26.1 None No changes to the meaning, language, or
... vType (2 bytes): A type indicator that indicates the type of vValue. It MUST be one of the values specified in the following table. Value Meaning VT_EMPTY 0x0000 vValue is not present. VT_NULL 0x0001 vValue is not present. VT_I1 0x0010 A 1-byte signed integer. VT_UI1 0x0011 A 1-byte unsigned integer. VT_I2 0x0002 A 2-byte signed integer. VT_UI2 0x0012 A 2-byte unsigned integer. VT_BOOL 0x000B A Boolean value; a 2-byte integer. Note Contains 0x0000 (FALSE) or 0xFFFF (TRUE). VT_I4 0x0003 A 4-byte signed integer. VT_UI4 0x0013 A 4-byte unsigned integer. VT_R4 0x0004 An IEEE 32-bit floating point number, as defined in . VT_INT 0x0016 A 4-byte signed integer. VT_UINT 0x0017 A 4-byte unsigned integer. Note that this is identical to VT_UI4, except that VT_UINT cannot be used with VT_VECTOR (defined below); the value chosen is up to the higher layer that provides it to the Windows Search Protocol Specification, but the Windows Search Protocol Specification treats VT_UINT and VT_UI4 as identical with the exception noted above. VT_ERROR 0x000A A 4-byte unsigned integer containing an HRESULT, as specified in section 2.1. 0x0014 An 8-byte signed integer. VT_UI8 0x0015 An 8-byte unsigned integer. VT_R8 0x0005 An IEEE 64-bit floating point number as defined in [IEEE754].
0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 cElements lLbound cElements (4 bytes): A 32-bit unsigned integer, specifying the number of elements in the dimension. lLbound (4 bytes): A 32-bit unsigned integer, specifying the lower bound of the dimension. SAFEARRAY2 SAFEARRAY2 is used to pass multidimensional arrays in . The structure contains boundary information as well as the data. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 cDims Rgsabound (variable) ... vData (variable) ... cDims (4 bytes): Unsigned 32-bit integer, indicating the number of dimensions of the SAFEARRAY2. Rgsabound (variable): An array that contains one structure per dimension in the SAFEARRAY2. This array has the left-most dimension first and the right-most dimension last. vData (variable): A vector of marshaled items of a particular type, indicated by the dwType of the containing SERIALIZEDPROPERTYVALUE, with bit 0x2000 cleared. The format of vData is the same as that specified for the vData field of . VT_COMPRESSED_LPWSTR The VT_COMPRESSED_LPWSTR structure contains a compressed version of a null-terminated, 16-bit Unicode string. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 ccLen bytes (variable) ...
_aBookmarks (variable) ... _maxRet _ascRet (variable) ... _cBookmarks (4 bytes): A 32-bit unsigned integer representing the number of elements in _aBookmarks array. _aBookmarks (variable): An array of bookmark handles (each represented by 4 bytes), as obtained from a previous CPMGetRowsOut message. _maxRet (4 bytes): A 32-bit unsigned integer representing the number of elements in the _ascRet array. _ascRet (variable): An array of HRESULT values. When the CRowSeekByBookmark is sent as part of the CPMGetRowsIn request, the number of entries in the array MUST be equal to _maxRet. When sent by the client, MUST be set to zero when sent and MUST be ignored on receipt. When sent by the server (as part of the CPMGetRowsOut message), the values in the array indicate the result status for each row retrieval. CRowSeekNext The CRowSeekNext structure contains the number of rows to skip in a message. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 _cskip _cskip (4 bytes): A 32-bit unsigned integer representing the number of rows to skip in the rowset. CRowsetProperties The CRowsetProperties structure contains configuration information for a query. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 _uBooleanOptions _ulMaxOpenRows _ulMemoryUsage _cMaxResults _cCmdTimeout
System.ItemNameDisplay 0x0000000A VT_LPWSTR The name of the file. Path 0x0000000B VT_LPWSTR The full physical path to the file, including the file name. System.Size 0x0000000C VT_I8 The size, in bytes, of the file. System.FileAttributes 0x0000000D VT_UI4 The file attributes. Documented in Win32 SDK. System.DateModified 0x0000000E VT_FILETIME The last time the file was written. System.DateCreated 0x0000000F VT_FILETIME The time the file was created. System.DateAccessed 0x00000010 VT_FILETIME The last time the file was accessed. AllocSize 0x00000012 VT_I8 The size of the disk allocation for the file. ShortFilename 0x00000014 VT_LPWSTR The short (8.3) file name. The following table lists the attribute flag values for the Attrib property. Attribute/Value Description FILE_ATTRIBUTE_READONLY 0x00000001 The file or directory is read-only. Applications can read the file but cannot to it or delete it. For a directory, applications cannot delete it. FILE_ATTRIBUTE_HIDDEN 0x00000002 The file or directory is hidden. It is not included in an ordinary directory listing.
For a directory, this means that encryption is the default for newly created files and subdirectories. FILE_ATTRIBUTE_VIRTUAL 0x00010000 A file is a virtual file. Property Sets for Documents #define DocPropSetGuid \ {0xf29f85e0,0x4ff9,0x1068,0xab,0x91,0x08,0x00,0x2b,0x27,0xb3,0xd9} Name/PropId Datatype Description 0x00000002 VT_LPWSTR The of the document. System.Subject 0x00000003 VT_LPWSTR The subject of the document. System.Author 0x00000004 VT_LPWSTR The author of the document. System.Keywords 0x00000005 VT_LPWSTR The document keywords. System.Comment 0x00000006 VT_LPWSTR Comments about the document. DocTemplate 0x00000007 VT_LPWSTR The name of the template for the document. System.Document.LastAuthor 0x00000008 VT_LPWSTR The most recent user who edited document. System.Document.RevisionNumber 0x00000009 VT_LPWSTR The current version number of the document. System.Document.DateCreated 0x0000000A VT_FILETIME The total time spent editing the document. System.Document.DatePrinted 0x0000000B VT_FILETIME The date the document was last printed. System.Document.DateCreated 0x0000000C VT_FILETIME The date the document was created.
System.Document.DateSaved 0x0000000D VT_FILETIME The date the document was last saved. System.Document.PageCount 0x0000000E VT_I4 The number of in the document. System.Document.WordCount 0x0000000F VT_I4 The number of words in the document. System.Document.CharacterCount 0x00000010 VT_I4 The number of characters in the document. DocThumbnail 0x00000011 VT_CF A thumbnail of the document in clipboard format. System.ApplicationName 0x00000012 VT_LPWSTR The name of the application that created the file. Property Sets for Documents #define DocPropSetGuid2 \ {0xd5cdd502,0x2e9c,0x101b,0x93,0x97,0x08,0x00,0x2b,0x2c,0xf9,0xae} Name/PropId Datatype Description System.category 0x00000002 VT_LPSTR The type of document, such as a memo, schedule, or white paper. System.Document.PresentationFormat 0x00000003 VT_LPSTR The target format (for example, 35mm, printer, or video) for a presentation in PowerPoint. System.Document.ByteCount 0x00000004 VT_I4 The number of bytes in a document. System.Document.LineCount 0x00000005 VT_I4 The number of lines contained in a document. System.Document.ParagraphCount 0x00000006 VT_I4 The number of paragraphs
#define PSGUID_MUSIC \ {56A3372E-CE9C-11d2-9F0E-006097C686F6} Name/PropId Datatype Description System.Music.Artist 0x00000002 VT_LPWSTR The artist who recorded the song. System.Music.Album 0x00000004 VT_LPWSTR The album on which the song was released. System.Media.Year 0x00000005 VT_LPWSTR The year that the song was published. System.Music.TrackNumber0x00000007 VT_UI4 The number for the song. System.Music.Genre0x0000000B VT_LPWSTR The song's Digital Rights Management #define PSGUID_DRM \ {AEAC19E4-89AE-4508-B9B7-BB867ABEE2ED} This property set contains properties that describe the digital rights associated with some media. Name/PropId Datatype Description System.DRM.IsProtected 0x00000002 VT_BOOL TRUE if is a license. DrmDescription 0x00000003 VT_LPWSTR The description of the license. DrmPlayCount 0x00000004 VT_UI4 The number of times the item can be played. DrmPlayStarts 0x00000005 VT_FILETIME The date the play rights start. DrmPlayExpires 0x00000006 VT_FILETIME The date the rights expire. Image Property Set #define PSGUID_IMAGESUMMARYINFORMATION \ {0x6444048f,0x4c8b,0x11d1,0x8b,0x70,0x8,0x00,0x36,0xb1,0x1a,0x03} Name/PropId Datatype Description ImageFileType 0x00000002 VT_LPWSTR The type of image file.
0x00000003 VT_UI4 The horizontal size, in pixels. System.Image.VerticalSize 0x00000004 VT_UI4 The vertical size, in pixels. System.Image.HorizontalResolution 0x00000005 VT_UI4 The horizontal resolution, in pixels per inch. 0x00000006 VT_UI4 The vertical resolution, in pixels per inch. System.Image.BitDepth 0x00000007 VT_UI4 The number of bits per ImageColorSpace 0x00000008 VT_LPWSTR The description of the image color space. ImageCompression 0x00000009 VT_LPWSTR The description of the image compression. ImageTransparency 0x0000000A VT_UI4 The degree of transparency from 0-100. ImageGammaValue 0x0000000B VT_UI4 The gamma correction value. System.Media.FrameCount 0x0000000C VT_UI4 The frame count for the image. System.Image.Dimensions 0x0000000D VT_LPWSTR The description of the image dimensions. Audio Property Set #define PSGUID_AUDIO \ {64440490-4C8B-11D1-8B70-080036B11A03} Audio-Related Properties Name/PropId Datatype Description AudioFormat 0x00000002 VT_LPWSTR The audio format. System.Media.Duration 0x00000003 VT_UI8 The duration, in 100-ns units. System.Audio.EncodingBitrate 0x00000004 VT_UI4 The average encoding rate, in bits per second.
System.Audio.SampleRate 0x00000005 VT_UI4 The sample rate, in samples per second. 0x00000006 VT_UI4 The sample size, in bits per sample. System.Audio.ChannelCount 0x00000007 VT_UI4 The number of channels of audio. Video Property Set #define PSGUID_VIDEO \ {64440491-4C8B-11D1-8B70-080036B11A03} Name/PropId Datatype Description 0x00000002 VT_LPWSTR The name of the stream. System.Video.FrameWidth 0x00000003 VT_UI4 The width, in pixels, of a frame. System.Video.FrameHeight 0x00000004 VT_UI4 The height, in pixels, of a VideoTimeLength 0x00000005 VT_UI4 The duration, in 100-ns units. System.Video.FrameRate 0x00000006 VT_UI4 The number of frames in video. VideoFrameCount 0x00000007 VT_UI4 The frames per second. System.Video.EncodingBitrate 0x00000008 VT_UI4 The bits per second. 0x00000009 VT_UI4 The bits per sample. System.Video.Compression 0x0000000A VT_LPWSTR The description of video compression. Mime Properties #define NNTPGuid \ {0xAA568EEC,0xE0E5,0x11CF,0x8F,0xDA,0x00,0xAA,0x00,0xA1,0x4F,0x93} Name/PropId Datatype Description MsgNewsgroup 0x00000002 VT_LPWSTR The newsgroup for the message.
------------------------ The property value "numbers.xls""c:\folder\MyFolder" "MyFolder"(email message) VT_EMPTY(song on portable device) "song.wma" System.FileOwner 4 TRUE This is the owner of the file, according to the file system. System.FlagColor FALSE 2 name="Purple" value="1" text="Purple"name="Orange" value="2" text="Orange"name="Green" value="3" text="Green" name="Yellow" value="4" text="Yellow"name="Blue" value="5" text="Blue" name="Red" value="6" text="Red" TRUE This is the user-friendly form of System.FlagColor. Not intended to be parsed programmatically. System.FlagStatus FALSE 4 Status of Flag. Values: (0=none 1=white 2=Red). 16 In
TRUE 7 FALSE 4 System.Note.Color FALSE 2 name="Blue" value="0"name="Green" value="1"name="Pink" value="2"name="Yellow" value="3"name="White" value="4"name="LightGreen" value="5" TRUE This is the user-friendly form of System.Note.Color. Not intended to be parsed programmatically. 16 32
Index A Abstract data model 210 174 11 12 C 44 46 44 12 40 40 41 34 53 52 40 24 48 49 51 37 23 238 47 47 26 Client 210 211 211 remote Windows search service catalog 211 211 211 218 message processing 215 216 217 217 217 216 218 218 215 218 sequencing rules 215 216 217 217 217 216 218 218 215 218 211 27 28 52 62 86 86 65 67 69 71 88 82 83 88 89 87 87 85 85 84 73 73 72 72 89 89 75 78 92 92 81 82 87 84 74 91 92 36 29 42 35 38 37 31 54 54 54 55 55 57 33 46 57 58 34
Data model abstract 210 174 20 93 93 219 F 13 8 H 61 triggered events 211 211 remote Windows search service catalog 211 211 174 I 13 233 233 10 Initialization 211 174 8 Local events 218 191 61 Message processing client 215 216 217 217 217 216 218 218 215 server 175 remote Windows search service 176 177 61 Messages 62 93 61 61 14 93 14 14 14 N 10 O 95 local events 218 191 11 P 60 233 233 12 12 234 Properties 95 94 93 13 Protocol Details 173
Q Query 219 94 11 R 42 10 10 10 12 11 11 S 21 22 22 Security 233 233 233 Sequencing rules client 215 216 217 217 217 216 218 218 215 173 server 175 remote Windows search service 176 177 59 Server 174 174 174 191 message processing 175 remote Windows search service 176 177 191 sequencing rules 175 remote Windows search service 176 177 191 174 53 93 93 13 14 14 14 T events 218 191 Timers 211 174 238 14 Triggered events higher-layer 211 211 remote Windows search service catalog 211 211 174 V 13 12 23 20