source: trunk/server/librpc/idl/preg.idl@ 788

Last change on this file since 788 was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 1.2 KB
Line 
1#include "idl_types.h"
2
3import "misc.idl";
4
5/*
6 IDL structures defining PReg files
7
8 more info can be found at:
9 http://msdn2.microsoft.com/en-us/library/aa374407.aspx
10*/
11
12[
13 pointer_default(unique),
14 helper("../librpc/ndr/ndr_preg.h"),
15 helpstring("PReg structure"),
16 uuid("67655250-0000-0000-0000-00000000")
17]
18 interface preg
19{
20 typedef [public] struct {
21 [charset(DOS),value("["),noprint] uint8 _opening_bracket[2];
22 nstring keyname;
23 [charset(DOS),value(";"),noprint] uint8 _sep1[2];
24 nstring valuename;
25 [charset(DOS),value(";"),noprint] uint8 _sep2[2];
26 winreg_Type type;
27 [charset(DOS),value(";"),noprint] uint8 _sep3[2];
28 uint32 size;
29 [charset(DOS),value(";"),noprint] uint8 _sep4[2];
30 uint8 data[size];
31 [charset(DOS),value("]"),noprint] uint8 _closing_bracket[2];
32 } preg_entry;
33
34 typedef [public] struct {
35 [charset(DOS),value("PReg")] uint8 signature[4];
36 [value(1)] uint32 version;
37 } preg_header;
38
39 typedef [public,flag(NDR_NOALIGN),nopush,nopull] struct {
40 preg_header header;
41 uint32 num_entries;
42 preg_entry entries[num_entries];
43 } preg_file;
44
45 void decode_preg_file(
46 [in] preg_file file
47 );
48
49}
Note: See TracBrowser for help on using the repository browser.