Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/xpcom/ds/nsIWindowsRegKey.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWindowsRegKey",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* void close (); */
Method {
name: "Close",
params: &[],
ret: "::nserror::nsresult",
},
/* void open (in unsigned long rootKey, in AString relPath, in unsigned long mode); */
Method {
name: "Open",
params: &[Param { name: "rootKey", ty: "u32" }, Param { name: "relPath", ty: "*const ::nsstring::nsAString" }, Param { name: "mode", ty: "u32" }],
ret: "::nserror::nsresult",
},
/* void create (in unsigned long rootKey, in AString relPath, in unsigned long mode); */
Method {
name: "Create",
params: &[Param { name: "rootKey", ty: "u32" }, Param { name: "relPath", ty: "*const ::nsstring::nsAString" }, Param { name: "mode", ty: "u32" }],
ret: "::nserror::nsresult",
},
/* nsIWindowsRegKey openChild (in AString relPath, in unsigned long mode); */
Method {
name: "OpenChild",
params: &[Param { name: "relPath", ty: "*const ::nsstring::nsAString" }, Param { name: "mode", ty: "u32" }, Param { name: "_retval", ty: "*mut *const nsIWindowsRegKey" }],
ret: "::nserror::nsresult",
},
/* nsIWindowsRegKey createChild (in AString relPath, in unsigned long mode); */
Method {
name: "CreateChild",
params: &[Param { name: "relPath", ty: "*const ::nsstring::nsAString" }, Param { name: "mode", ty: "u32" }, Param { name: "_retval", ty: "*mut *const nsIWindowsRegKey" }],
ret: "::nserror::nsresult",
},
/* readonly attribute unsigned long childCount; */
Method {
name: "GetChildCount",
params: &[Param { name: "aChildCount", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* AString getChildName (in unsigned long index); */
Method {
name: "GetChildName",
params: &[Param { name: "index", ty: "u32" }, Param { name: "_retval", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* boolean hasChild (in AString name); */
Method {
name: "HasChild",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* readonly attribute unsigned long valueCount; */
Method {
name: "GetValueCount",
params: &[Param { name: "aValueCount", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* AString getValueName (in unsigned long index); */
Method {
name: "GetValueName",
params: &[Param { name: "index", ty: "u32" }, Param { name: "_retval", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* boolean hasValue (in AString name); */
Method {
name: "HasValue",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* void removeChild (in AString relPath); */
Method {
name: "RemoveChild",
params: &[Param { name: "relPath", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* void removeValue (in AString name); */
Method {
name: "RemoveValue",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* unsigned long getValueType (in AString name); */
Method {
name: "GetValueType",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* AString readStringValue (in AString name); */
Method {
name: "ReadStringValue",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* unsigned long readIntValue (in AString name); */
Method {
name: "ReadIntValue",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut u32" }],
ret: "::nserror::nsresult",
},
/* unsigned long long readInt64Value (in AString name); */
Method {
name: "ReadInt64Value",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut u64" }],
ret: "::nserror::nsresult",
},
/* ACString readBinaryValue (in AString name); */
Method {
name: "ReadBinaryValue",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "_retval", ty: "*mut ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
/* void writeStringValue (in AString name, in AString data); */
Method {
name: "WriteStringValue",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "data", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
/* void writeIntValue (in AString name, in unsigned long data); */
Method {
name: "WriteIntValue",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "data", ty: "u32" }],
ret: "::nserror::nsresult",
},
/* void writeInt64Value (in AString name, in unsigned long long data); */
Method {
name: "WriteInt64Value",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "data", ty: "u64" }],
ret: "::nserror::nsresult",
},
/* void writeBinaryValue (in AString name, in ACString data); */
Method {
name: "WriteBinaryValue",
params: &[Param { name: "name", ty: "*const ::nsstring::nsAString" }, Param { name: "data", ty: "*const ::nsstring::nsACString" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}